/* ===== Fonts ===== */
@font-face {
    font-family: iransans;
    src: url('A-Iranian-Sans/Iranian\ Sans.ttf');
}

/* ===== Global Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: iransans;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color : transparent;
    -webkit-user-select: none;
    user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
    user-drag: none;
}

body {
    background: linear-gradient(180deg, #0b1120 0%, #1e3a8a 100%);
    color: #1e293b;
}

/* ===== Navbar ===== */
.navbar {
    width: 100%;
    background: #0b1120;
    color: #ffffff;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
    transition: background 0.3s ease;
}

.nav-logo {
    font-size: 24px;
    font-weight: 800;
    color: #FFD700;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links li a:hover {
    color: #FFD700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.8);
}

/* Toggle Button (Mobile) */
.nav-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #FFD700;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 60px;
        right: 0;
        background: #0b1120;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 25px 0;
        display: none;
        border-top: 1px solid rgba(255,255,255,0.2);
    }

    .nav-links.show {
        display: flex;
        animation: slideDown 0.4s ease forwards;
    }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Header ===== */
.Header {
    background: linear-gradient(135deg, #00CED1, #FF85C1);
    color: #ffffff;
    padding: 45px 20px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    border-radius: 16px;
    transition: all 0.3s ease;
}

/* ===== About Section ===== */
.about {
    padding: 60px 20px;
    background: linear-gradient(135deg, #0b1120, #1e3a8a);
    border-radius: 16px;
    max-width: 1000px;
    margin: 40px auto;
    box-shadow: 0 8px 25px rgba(0,0,0,0.35);
}

.about h2 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #FFD700;
    font-weight: 800;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
}

.about p {
    font-size: 17px;
    margin-bottom: 25px;
    color: #ffffff;
    line-height: 1.7;
}

.about ul {
    list-style: disc inside;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    padding-left: 20px;
}

.about ul li {
    margin-bottom: 12px;
    font-weight: 600;
    color: #FFD700;
}

/* ===== Prizes Section ===== */
.prizes {
    padding: 60px 20px;
    background: linear-gradient(135deg, #1e3a8a, #6366f1);
    border-radius: 16px;
    max-width: 1000px;
    margin: 40px auto;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.35);
}

.prizes h2 {
    font-size: 28px;
    margin-bottom: 35px;
    font-weight: 800;
    color: #FFD700;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
}

.prizes .prize-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.prizes .card {
    flex: 1 1 150px;
    max-width: 200px;
    padding: 25px 20px;
    border-radius: 14px;
    font-weight: 700;
    background: linear-gradient(135deg, #FFB347, #FFCC33);
    color: #0b1120;
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.prizes .card:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

/* ===== Wheel of Fortune ===== */
:root {
    --wheel-size: 400px;
}

@media (max-width: 768px) {
    :root {
        --wheel-size: 320px;
    }
}


.container {
    position: relative;
    width: var(--wheel-size);
    height: var(--wheel-size);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 60px auto;
}

.container .spinBtn {
    position: absolute;
    width: 70px;
    height: 70px;
    background: #FFD700;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    font-weight: 800;
    color: #0b1120;
    letter-spacing: 0.1rem;
    border: 4px solid #FFB700;
    cursor: pointer;
    user-select: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.35), 0 0 12px rgba(255, 223, 0, 0.7);
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.container .spinBtn::before {
    content: '';
    position: absolute;
    top: -24px;
    width: 28px;
    height: 40px;
    background: linear-gradient(145deg, #FFD700, #FF69B4, #00CED1);
    clip-path: polygon(50% 0%, 18% 100%, 82% 100%);
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.8),
                0 0 20px rgba(255, 105, 180, 0.7),
                0 0 25px rgba(0, 206, 209, 0.6);
    transition: 0.3s all ease;
}

.container .spinBtn:hover::before {
    transform: scale(1.2) rotate(8deg);
    box-shadow: 0 0 18px rgba(255, 215, 0, 1),
                0 0 28px rgba(255, 105, 180, 0.9),
                0 0 35px rgba(0, 206, 209, 0.95);
}

.container .wheel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 0 6px #0b1120,
                0 0 0 16px #6366f1,
                0 0 0 20px #1e3a8a;
    transition: transform 5s cubic-bezier(0.33, 1, 0.68, 1);
}

.container .wheel .number {
    position: absolute;
    width: 50%;
    height: 50%;
    transform-origin: bottom right;
    transform: rotate(calc(45deg * var(--i)));
    clip-path: polygon(0 0, 59% 0, 100% 100%, 0 59%);
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    cursor: pointer;
    transition: background 0.5s ease, transform 0.3s ease;
    border-radius: 4px;
}

.container .wheel .number:nth-child(1) { background: linear-gradient(135deg, #FFD700, #FFC107); }
.container .wheel .number:nth-child(2) { background: linear-gradient(135deg, #00CED1, #20B2AA); }
.container .wheel .number:nth-child(3) { background: linear-gradient(135deg, #FF69B4, #FF1493); }
.container .wheel .number:nth-child(4) { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.container .wheel .number:nth-child(5) { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.container .wheel .number:nth-child(6) { background: linear-gradient(135deg, #f97316, #fbbf24); }
.container .wheel .number:nth-child(7) { background: linear-gradient(135deg, #14b8a6, #0ea5e9); }
.container .wheel .number:nth-child(8) { background: linear-gradient(135deg, #e11d48, #ec4899); }

.container .wheel .number span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(calc(-45deg * var(--i)));
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    text-align: center;
    padding: 5px;
    width: 70px;
}

/* ===== Modal ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11,17,32,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.modal-box {
    background: #ffffff;
    width: 92%;
    max-width: 380px;
    padding: 30px 24px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 12px 35px rgba(0,0,0,0.25);
    color: #0b1120;
    transition: all 0.3s ease;
}

.modal-box h2 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #00CED1;
}

.modal-box p {
    font-size: 16px;
    color: #0b1120;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* ===== Buttons ===== */
.btn {
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    cursor: pointer;
    width: 100%;
    margin-top: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
    background: #00CED1;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0,206,209,0.6);
}

.btn.primary {
    background: #FFD700;
    color: #0b1120;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 22px;
    box-shadow: 0 4px 15px rgba(255,215,0,0.8);
}

.btn:hover {
    opacity: 0.95;
    transform: translateY(-2px);
}

@keyframes pop {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== Comments Section ===== */
.comment-section {
    background: linear-gradient(180deg, #ffffff, #f4f7ff);
    padding: 25px;
    border-radius: 16px;
    max-width: 900px;
    margin: 40px auto;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.comment-title {
    margin: 0 0 20px 0;
    font-size: 22px;
    font-weight: 900;
    color: #0b1120;
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 260px;
    overflow-y: auto;
}

.comment-item {
    display: flex;
    gap: 12px;
    background: #fff;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.05);
}

.c-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #FFD700, #ffbe55);
    border-radius: 50%;
    color: #0b1120;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    font-size: 20px;
}

.c-name {
    font-weight: 800;
}

.c-text {
    color: #374151;
    margin-top: 4px;
    line-height: 1.6;
}

.comment-form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.1);
    font-size: 15px;
    resize: none;
}

.send-btn {
    background: #FFD700;
    color: #0b1120;
    padding: 14px;
    border: none;
    border-radius: 14px;
    font-weight: 900;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

.send-btn:hover {
    background: #ffce33;
}

/* ===== Winner Box ===== */
.winner-box {
    background: #0b1120;
    color: #FFD700;
    padding: 12px 20px;
    border-radius: 14px;
    max-width: 850px;
    margin: 30px auto;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 17px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.35);
    overflow: hidden;
    position: relative;
}

.winner-text {
    position: absolute;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.6s ease;
    white-space: nowrap;
    text-align: center;
}

/* ===== Footer ===== */
.Footer {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #ffffff;
    text-align: center;
    padding: 35px 20px 15px;
    margin-top: 60px;
    box-shadow: 0 -6px 20px rgba(0,0,0,0.3);
    border-radius: 16px;
}

.Footer .footer-content h3 {
    font-size: 26px;
    margin-bottom: 12px;
    color: #FFD700;
}

.Footer .footer-content p {
    font-size: 15px;
    opacity: 0.95;
    margin-bottom: 18px;
}

.Footer .socials a {
    text-decoration: none;
    color: #ffffff;
    margin: 0 12px;
    font-size: 16px;
    transition: 0.3s;
}

.Footer .socials a:hover {
    color: #FFD700;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.7);
}

.footer-bottom {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 14px;
    color: #ffffff;
    opacity: 0.85;
}



.telegram-support {
    position: fixed;
    bottom: 20px;
    right: 20px;
    text-align: center;
    cursor: pointer;
    z-index: 9999;
    font-family: sans-serif;
}

.tg-btn {
    width: 60px;
    height: 60px;
    background-color: #0088cc;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: 0.3s;
}

.tg-btn:hover {
    transform: scale(1.1);
    background-color: #0099ff;
}

.tg-btn img {
    width: 32px;
    height: 32px;
}

.support-text {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(0,0,0,0.4);
}




