@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

@font-face {
    font-family: salma;
    src: url(../font/salma.otf);
}

#app {
    width: 400px;
    height: 400px;
    margin: 0 auto;
    position: relative;
}

.marker {
    position: absolute;
    width: 60px;
    left: 172px;
    top: -20px;
    z-index: 2;
}

.wheel {
    width: 100%;
    height: 100%;
}

.button {
    display: block;
    width: 250px;
    margin: 40px auto;
    cursor: pointer;
}

.button:hover {
    opacity: 0.8;
}

.blur {
    animation: blur 10s;
}

@keyframes blur {
    0% {
        filter: blur(1.5px);
    }
    80% {
        filter: blur(1.5px);
    }
    100% {
        filter: blur(0px);
    }
}

.blinking {
    animation: blinkingText 1.2s infinite;
}

@keyframes blinkingText {
    0% {
        color: #FFF;
    }
    49% {
        color: #FFF;
    }
    60% {
        color: transparent;
    }
    99% {
        color: transparent;
    }
    100% {
        color: #FFF;
    }
}

.wheelText { font: 15px "Arial Black", Gadget, sans-serif; font-weight: normal; text-align: center; fill: white; }

.modal-dialog {
    overflow-y: initial !important;
}

.modal-body {
    height: 80vh;
    overflow-y: auto;
}

@media (min-width: 768px) {
    .logomobile {
        display: none;
    }
    .logomain {
        display: block;
    }
}

@media (max-width: 767px) {
    .logomain {
        display: none;
    }
    .logomobile {
        display: block;
        margin-top: clamp(1.5rem, 8vw, 3rem);
        padding-top: clamp(0.5rem, 4vw, 1.5rem);
    }
    .logomobile img {
        width: clamp(160px, 45vw, 240px) !important;
        max-width: 240px;
    }
}

body {
    position: relative;
    min-height: 100vh;
    margin: 0;
    font-family: 'Montserrat', 'salma', sans-serif;
    color: #f8f3e6;
    background: linear-gradient(160deg, #08070c 0%, #18111f 55%, #1d1524 100%);
}

body::before,
body::after {
    content: "";
    position: fixed;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    filter: blur(110px);
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

body::before {
    top: -120px;
    left: -160px;
    background: radial-gradient(circle, rgba(186, 140, 63, 0.48), transparent 68%);
}

body::after {
    bottom: -140px;
    right: -180px;
    background: radial-gradient(circle, rgba(240, 188, 104, 0.45), transparent 72%);
}

a {
    color: #f5c76a;
    transition: color 0.2s ease;
}

a:hover {
    color: #ffe08b;
    text-decoration: none;
}

#chart {
    position: relative;
    width: min(96vw, 640px);
    margin: clamp(1rem, 4vw, 2.5rem) auto;
    padding: 0;
}

#chart svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 18px 28px rgba(2, 6, 23, 0.6));
}

.marker {
    filter: drop-shadow(0 8px 18px rgba(245, 199, 106, 0.55));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.marker:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 12px 26px rgba(255, 215, 140, 0.65));
}

.form-control {
    background: rgba(18, 14, 22, 0.7);
    border: 1px solid rgba(245, 199, 106, 0.35);
    color: #fef7df;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-control::placeholder {
    color: rgba(255, 235, 198, 0.55);
}

.form-control:focus {
    background: rgba(18, 14, 22, 0.85);
    border-color: rgba(250, 208, 119, 0.8);
    box-shadow: 0 0 0 0.25rem rgba(250, 208, 119, 0.2);
    color: #fff7dc;
}

.btn-primary {
    background: linear-gradient(135deg, #f6ca69, #c28b2f);
    border: 1px solid rgba(250, 211, 120, 0.65);
    box-shadow: 0 18px 32px rgba(207, 150, 49, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 24px 40px rgba(248, 214, 125, 0.45);
}

.btn-secondary {
    background: rgba(26, 20, 33, 0.85);
    border-color: rgba(245, 199, 106, 0.35);
    color: #f6e8c8;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: rgba(37, 28, 46, 0.9);
    border-color: rgba(250, 211, 120, 0.55);
    color: #fff4d6;
}

.modal-content {
    background: rgba(18, 13, 19, 0.92);
    border: 1px solid rgba(245, 199, 106, 0.25);
    box-shadow: 0 35px 60px rgba(8, 6, 2, 0.55);
    backdrop-filter: blur(18px);
    color: #f6ecd0;
}








@media (min-width: 992px) {
    #chart {
        width: min(100%, 820px);
        margin: clamp(1.5rem, 4vw, 3rem) auto;
    }
}

.spin-history-modal {
    background: radial-gradient(circle at top, rgba(245, 199, 106, 0.22), rgba(17, 12, 6, 0.95));
    border: 1px solid rgba(245, 199, 106, 0.4);
    box-shadow: 0 28px 60px rgba(8, 6, 2, 0.55), inset 0 0 0 1px rgba(255, 224, 160, 0.12);
    color: #fff5d0;
}

.spin-history-header,
.spin-history-footer {
    border-color: rgba(245, 199, 106, 0.3);
}

.spin-history-header {
    background: linear-gradient(135deg, rgba(245, 199, 106, 0.18), rgba(92, 69, 24, 0.45));
    color: #ffe6a8;
}

.spin-history-body {
    background: rgba(14, 10, 16, 0.75);
    max-height: 60vh;
    overflow-y: auto;
}

.spin-history-table {
    color: #ffffff;
}

.spin-history-table thead th {
    border-bottom: 1px solid rgba(245, 199, 106, 0.4);
    color: #f5d36b;
}

.spin-history-table td,
.spin-history-table th {
    border-top: 1px solid rgba(92, 69, 24, 0.4);
}

.spin-history-table tbody td {
    color: #ffffff;
}

.spin-history-table tbody tr:hover {
    background: rgba(245, 199, 106, 0.16);
}

.spin-history-close {
    background: linear-gradient(135deg, rgba(245, 199, 106, 0.85), rgba(165, 118, 42, 0.92));
    border: none;
    color: #1b1306;
}

.spin-history-close:hover,
.spin-history-close:focus {
    background: linear-gradient(135deg, rgba(255, 222, 160, 0.98), rgba(195, 138, 45, 0.98));
    color: #1b1306;
}


