/* =========================================
   RYVOX GAMES
   DARK CINEMATIC / ANIMATED
   ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #01010f;
    color: #fff;

    font-family:
        'Gill Sans',
        'Gill Sans MT',
        Calibri,
        'Trebuchet MS',
        sans-serif;

    overflow-x: hidden;
}


/* =========================================
   MOVING LIGHTS
   ========================================= */

body::before,
body::after {

    content: "";

    position: fixed;

    width: 520px;
    height: 520px;

    border-radius: 50%;

    filter: blur(120px);

    pointer-events: none;

    z-index: -3;

    opacity: .35;

    animation:
        lightMove 14s infinite alternate ease-in-out;
}

body::before {

    top: -180px;
    left: -180px;

    background: #0066ff;
}

body::after {

    right: -180px;
    bottom: -180px;

    background: #b000ff;

    animation-delay: 3s;
}


@keyframes lightMove {

    0% {
        transform:
            translate(0, 0)
            scale(1);
    }

    35% {
        transform:
            translate(100px, 80px)
            scale(1.15);
    }

    70% {
        transform:
            translate(300px, 250px)
            scale(.9);
    }

    100% {
        transform:
            translate(-100px, 350px)
            scale(1.1);
    }
}


/* =========================================
   GRID
   ========================================= */

.grid {

    position: fixed;

    inset: 0;

    z-index: -2;

    pointer-events: none;

    background-image:
        linear-gradient(#ffffff04 1px, transparent 1px),
        linear-gradient(90deg, #ffffff04 1px, transparent 1px);

    background-size: 80px 80px;

    animation:
        gridMove 20s linear infinite;
}


@keyframes gridMove {

    from {
        background-position: 0 0;
    }

    to {
        background-position: 80px 80px;
    }
}


/* =========================================
   HEADER
   ========================================= */

.header {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    height: 130px;

    z-index: 100;
}


/* =========================================
   LOGO
   ========================================= */

.logo {

    position: absolute;

    top: 0;
    left: 20px;

    width: 120px;

    height: auto;

    display: block;

    animation:
        logoIn 1.2s ease forwards;
}


@keyframes logoIn {

    from {
        opacity: 0;
        transform:
            translateY(-30px);
    }

    to {
        opacity: 1;
        transform:
            translateY(0);
    }
}


/* =========================================
   LOGO LINE
   ========================================= */

.logo-line {

    position: absolute;

    top: 150px;
    left: 25px;

    width: calc(100% - 50px);

    height: 1px;

    background: #c0c0c0;

    box-shadow:
        0 0 8px #008cff,
        0 0 20px #008cff55;

    overflow: hidden;
}


.logo-line::after {

    content: "";

    position: absolute;

    top: 0;
    left: -30%;

    width: 30%;

    height: 100%;

    background: #008cff;

    box-shadow:
        0 0 10px #008cff,
        0 0 20px #fff;

    animation:
        lineMove 4s linear infinite;
}


@keyframes lineMove {

    from {
        left: -30%;
    }

    to {
        left: 100%;
    }
}


/* =========================================
   MENU BUTTON
   ONLY FIXED ELEMENT
   ========================================= */

.menu-button {

    position: fixed;

    top: 30px;
    right: 30px;

    width: 58px;
    height: 58px;

    border:
        1px solid #ffffff22;

    border-radius: 14px;

    background:
        rgba(0,0,0,.6);

    backdrop-filter:
        blur(15px);

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 7px;

    cursor: pointer;

    z-index: 3000;

    transition:
        .4s ease;
}


.menu-button:hover {

    border-color: #008cff;

    box-shadow:
        0 0 15px #008cff55,
        0 0 35px #ff00aa22;

    transform:
        scale(1.08)
        rotate(2deg);
}


.menu-button span {

    width: 27px;

    height: 3px;

    border-radius: 10px;

    background: #fff;

    transition:
        .45s cubic-bezier(.77,0,.18,1);
}


/* =========================================
   MENU → X
   ========================================= */

.menu-button.active {

    border-color:
        #008cff;

    box-shadow:
        0 0 20px #008cff55,
        0 0 40px #ff00aa22;
}


.menu-button.active span:nth-child(1) {

    transform:
        translateY(10px)
        rotate(45deg);
}


.menu-button.active span:nth-child(2) {

    opacity: 0;

    transform:
        scaleX(0);
}


.menu-button.active span:nth-child(3) {

    transform:
        translateY(-10px)
        rotate(-45deg);
}


/* =========================================
   SIDE MENU
   ========================================= */

.side-menu {

    position: fixed;

    top: 0;
    right: -400px;

    width: 380px;

    height: 100vh;

    padding:
        130px 45px 40px;

    background:
        rgba(3,3,8,.96);

    backdrop-filter:
        blur(30px);

    border-left:
        1px solid #ffffff12;

    box-shadow:
        -20px 0 70px #0066ff22;

    z-index: 2000;

    transition:
        right .65s cubic-bezier(.77,0,.18,1);
}


.side-menu.open {

    right: 0;
}


/* =========================================
   MENU GLOW
   ========================================= */

.side-menu::before {

    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    top: -100px;
    right: -100px;

    background: #0066ff;

    filter: blur(100px);

    opacity: .15;

    pointer-events: none;
}


/* =========================================
   MENU TITLE
   ========================================= */

.menu-title h2 {

    font-size: 35px;

    letter-spacing: 7px;

    animation:
        menuTitle 1s ease;
}


.menu-title span {

    color: #008cff;

    font-size: 11px;

    letter-spacing: 8px;
}


@keyframes menuTitle {

    from {
        opacity: 0;
        transform:
            translateX(30px);
    }

    to {
        opacity: 1;
        transform:
            translateX(0);
    }
}


/* =========================================
   MENU LINE
   ========================================= */

.menu-line {

    width: 100%;

    height: 1px;

    margin-top: 30px;

    background: #ffffff18;
}


/* =========================================
   MENU LINKS
   ========================================= */

.side-menu nav {

    margin-top: 25px;
}


.side-menu nav a {

    display: flex;

    align-items: center;

    gap: 18px;

    padding: 23px 5px;

    color: #888;

    text-decoration: none;

    font-size: 20px;

    border-bottom:
        1px solid #ffffff0c;

    transition:
        .35s ease;

}


.side-menu nav a b {

    color: #333;

    font-size: 11px;

    transition:
        .35s ease;
}


.side-menu nav a:hover {

    color: #fff;

    padding-right: 20px;

    text-shadow:
        0 0 15px #008cff;
}


.side-menu nav a:hover b {

    color: #008cff;
}


/* =========================================
   MENU FOOTER
   ========================================= */

.menu-bottom {

    position: absolute;

    bottom: 30px;
    right: 45px;

    color: #333;

    font-size: 10px;

    letter-spacing: 3px;
}


/* =========================================
   HERO
   ========================================= */

.hero {

    position: relative;

    min-height: 100vh;

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;

    padding: 150px 20px 100px;

    overflow: hidden;
}


.hero-content {

    position: relative;

    z-index: 2;

    max-width: 1000px;
}


/* Hero Glow */

.hero-glow {

    position: absolute;

    width: 350px;
    height: 350px;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%);

    background:
        #008cff;

    filter:
        blur(180px);

    opacity: .12;

    z-index: -1;

    animation:
        heroPulse 5s infinite alternate;
}


@keyframes heroPulse {

    from {
        transform:
            translate(-50%, -50%)
            scale(.8);
    }

    to {
        transform:
            translate(-50%, -50%)
            scale(1.4);
    }
}


/* =========================================
   HERO TEXT
   ========================================= */

.hero-subtitle {

    color: #777;

    font-size: 13px;

    letter-spacing: 6px;

    margin-bottom: 25px;

    animation:
        fadeUp 1s ease forwards;
}


.hero h1 {

    font-size:
        clamp(55px, 9vw, 120px);

    line-height: 1;

    font-weight: 900;

    letter-spacing: -5px;

    margin-bottom: 35px;

    animation:
        heroTitle 1.3s ease forwards;
}


.hero h1 span {

    display: block;

    background:
        linear-gradient(
            90deg,
            #008cff,
            #8a2be2,
            #ff00aa,
            #008cff
        );

    background-size:
        300%;

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;

    animation:
        gradientMove 5s linear infinite;
}


@keyframes gradientMove {

    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


@keyframes heroTitle {

    from {

        opacity: 0;

        transform:
            translateY(70px)
            scale(.9);

        filter:
            blur(10px);
    }

    to {

        opacity: 1;

        transform:
            translateY(0)
            scale(1);

        filter:
            blur(0);
    }
}


.hero-text {

    max-width: 650px;

    margin: auto;

    color: #b1b1b1;

    font-size: 20px;

    line-height: 2;

    margin-bottom: 40px;

    animation:
        fadeUp 1.7s ease forwards;
}
.hero-text span {
    color: #ff00aa;

    text-shadow: 0 0 15px #0066ff;
}



/* =========================================
   HERO BUTTONS
   ========================================= */

.hero-buttons {

    display: flex;

    justify-content: center;

    gap: 15px;

    animation:
        fadeUp 2s ease forwards;
}


.main-button {

    position: relative;

    overflow: hidden;

    padding:
        15px 32px;

    color: #fff;

    text-decoration: none;

    border:
        1px solid #ffffff22;

    border-radius: 9px;

    background:
        #ffffff06;

    transition:
        .4s ease;
}


.main-button::before {

    content: "";

    position: absolute;

    top: 0;
    left: -100%;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            #ffffff20,
            transparent
        );

    transition:
        .5s ease;
}


.main-button:hover::before {

    left: 100%;
}


.main-button:hover {

    transform:
        translateY(-6px);

    border-color:
        #008cff;

    box-shadow:
        0 10px 30px #008cff22;
}


.outline {

    color: #999;
}


/* =========================================
   SCROLL INDICATOR
   ========================================= */

.scroll-indicator {

    position: absolute;

    bottom: 30px;
    left: 50%;

    transform:
        translateX(-50%);

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;

    color: #444;

    font-size: 9px;

    letter-spacing: 4px;

    animation:
        scrollFloat 2s infinite ease-in-out;
}


.scroll-indicator span {

    width: 1px;

    height: 35px;

    background:
        linear-gradient(
            #008cff,
            transparent
        );
}


@keyframes scrollFloat {

    0%,100% {
        transform:
            translate(-50%,0);
    }

    50% {
        transform:
            translate(-50%,8px);
    }
}


/* =========================================
   GAMES
   ========================================= */

.games-section {

    min-height: 100vh;

    padding:
        150px 7%;
}


.section-heading {

    margin-bottom: 70px;

    animation:
        fadeUp 1s ease;
}


.section-heading span,
.section-number {

    color: #008cff;

    font-size: 11px;

    letter-spacing: 5px;
}


.section-heading h2 {

    font-size:
        clamp(45px, 6vw, 80px);

    margin:
        15px 0 20px;
}


.section-heading p {

    color: #777;

    font-size: 17px;
}


/* =========================================
   GAME GRID
   ========================================= */

.game-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 30px;

    max-width: 1400px;

    margin: auto;
}


/* =========================================
   GAME CARD
   ========================================= */

.game-card {

    overflow: hidden;

    background:
        rgba(255,255,255,.025);

    border:
        1px solid #ffffff12;

    border-radius: 16px;

    transition:
        .5s cubic-bezier(.2,.8,.2,1);

    animation:
        cardIn 1s ease forwards;
}


.game-card:nth-child(2) {

    animation-delay:
        .2s;
}


@keyframes cardIn {

    from {

        opacity: 0;

        transform:
            translateY(60px)
            scale(.95);

    }

    to {

        opacity: 1;

        transform:
            translateY(0)
            scale(1);

    }
}


.game-card:hover {

    transform:
        translateY(-12px);

    border-color:
        #008cff66;

    box-shadow:
        0 25px 70px #0066ff20;
}


/* =========================================
   GAME IMAGE
   ========================================= */

.game-image {

    height: 350px;

    position: relative;

    overflow: hidden;
}


.game-placeholder {

    width: 100%;
    height: 100%;

    display: flex;

    justify-content: center;
    align-items: center;

    font-size: 65px;

    font-weight: 900;

    letter-spacing: 10px;

    background:
        radial-gradient(
            circle,
            #0066ff44,
            #050505 70%
        );

    transition:
        .7s ease;
}


.game-placeholder {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.game-placeholder img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: 0.7s ease;
}

.game-card:hover .game-placeholder img {
    transform: scale(1.08);
}


/* =========================================
   SCAN ANIMATION
   ========================================= */

.image-scan {

    position: absolute;

    top: -100%;

    left: 0;

    width: 100%;

    height: 100%;

    background:
        linear-gradient(
            transparent,
            #008cff22,
            transparent
        );

    pointer-events: none;
}


.game-card:hover
.image-scan {

    animation:
        scan 1.2s ease;
}


@keyframes scan {

    from {
        top: -100%;
    }

    to {
        top: 100%;
    }
}


/* =========================================
   STATUS
   ========================================= */

.game-status {

    position: absolute;

    top: 20px;
    right: 20px;

    padding:
        8px 13px;

    border:
        1px solid #008cff55;

    border-radius: 20px;

    background:
        #000000aa;

    color: #008cff;

    font-size: 9px;

    letter-spacing: 2px;
}


/* =========================================
   GAME CONTENT
   ========================================= */

.game-content {

    padding: 30px;
}


.game-number {

    color: #444;

    font-size: 11px;

    letter-spacing: 3px;
}


.game-content h3 {

    font-size: 30px;

    margin:
        10px 0;
}


.game-content p {

    color: #777;

    line-height: 1.8;

    margin-bottom: 25px;
}


.game-content a {

    color: #008cff;

    text-decoration: none;

    font-size: 14px;
}


.game-content a span {

    display: inline-block;

    margin-right: 8px;

    transition:
        .3s ease;
}


.game-content a:hover span {

    transform:
        translateX(-8px);
}


/* =========================================
   CONTACT
   ========================================= */

.contact-section {

    min-height: 70vh;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    padding: 100px 20px;
}


.contact-section h2 {

    font-size:
        clamp(45px, 7vw, 85px);

    margin:
        20px 0;
}


.contact-section p {

    color: #777;

    font-size: 18px;

    margin-bottom: 35px;
}


.contact-button {

    padding:
        15px 35px;

    color: white;

    text-decoration: none;

    border:
        1px solid #008cff;

    border-radius: 8px;

    box-shadow:
        0 0 20px #008cff33;

    transition:
        .4s ease;
}


.contact-button:hover {

    background:
        #008cff;

    box-shadow:
        0 0 40px #008cff88;

    transform:
        translateY(-5px);
}


/* =========================================
   GENERAL ANIMATION
   ========================================= */

@keyframes fadeUp {

    from {

        opacity: 0;

        transform:
            translateY(35px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }
}


/* =========================================
   SCROLLBAR
   ========================================= */

::-webkit-scrollbar {

    width: 7px;
}

::-webkit-scrollbar-track {

    background: #000;
}

::-webkit-scrollbar-thumb {

    background: #222;

    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {

    background: #008cff;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 700px) {

    .logo {

        width: 95px;

        left: 15px;

    }


    .logo-line {

        left: 15px;

        width:
            calc(100% - 30px);

    }


    .menu-button {

        top: 22px;

        right: 18px;

        width: 52px;

        height: 52px;

    }


    .side-menu {

        width: 310px;

        right: -330px;

        padding:
            110px 30px 30px;

    }


    .menu-bottom {

        right: 30px;

    }


    .hero {

        padding:
            130px 20px 80px;

    }


    .hero h1 {

        letter-spacing:
            -3px;

    }


    .hero-text {

        font-size:
            15px;

    }


    .hero-buttons {

        flex-direction:
            column;

        width: 100%;

        max-width:
            250px;

        margin:
            auto;

    }


    .game-grid {

        grid-template-columns:
            1fr;

    }


    .game-image {

        height:
            260px;

    }


    .games-section {

        padding:
            100px 20px;

    }

}

/* =========================
   لوگوی متحرک
========================= */

.logo-slider {
    position: absolute;
    top: 15px;
    left: 40px;

    width: 125px;
    height: 125px;

    z-index: 100;
}

.logo-slider .logo {
    position: absolute;

    top: 0;
    left: 0;

    width: 125px;
    height: 125px;

    object-fit: contain;

    filter:
        drop-shadow(0 0 10px #008cff)
        drop-shadow(0 0 30px #0066ff55);
}


/* لوگوی اول */

.logo-one {
    animation: logoOne 6s infinite ease-in-out;
}


/* لوگوی دوم */

.logo-two {
    opacity: 0;

    border-radius: 15px;

    animation: logoTwo 6s infinite ease-in-out;
}


@keyframes logoOne {

    0% {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }

    40% {
        opacity: 1;
        transform: rotate(180deg) scale(1);
    }

    50% {
        opacity: 0;
        transform: rotate(270deg) scale(.7);
    }

    90% {
        opacity: 0;
        transform: rotate(350deg) scale(.7);
    }

    100% {
        opacity: 1;
        transform: rotate(360deg) scale(1);
    }
}


@keyframes logoTwo {

    0% {
        opacity: 0;
        transform: rotate(-180deg) scale(.7);
    }

    45% {
        opacity: 0;
        transform: rotate(-90deg) scale(.7);
    }

    50% {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }

    90% {
        opacity: 1;
        transform: rotate(180deg) scale(1);
    }

    100% {
        opacity: 0;
        transform: rotate(360deg) scale(.7);
    }
}


/* موبایل */

@media (max-width: 700px) {

    .logo-slider {
        top: 20px;
        left: 20px;

        width: 95px;
        height: 95px;
    }

    .logo-slider .logo {
        width: 95px;
        height: 95px;
    }

}

/* =========================
   Social Footer
========================= */

.social-footer {
    position: relative;

    width: 100%;

    padding: 80px 20px 45px;

    text-align: center;

    overflow: hidden;
}


/* خط بالای فوتر */

.footer-line {
    width: 85%;
    max-width: 1100px;

    height: 1px;

    margin: 0 auto 45px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #008cff,
            #8b00ff,
            #008cff,
            transparent
        );

    box-shadow:
        0 0 12px #008cff,
        0 0 30px #008cff55;

    animation: footerLineGlow 3s infinite alternate ease-in-out;
}


@keyframes footerLineGlow {

    from {
        opacity: .35;
        transform: scaleX(.8);
    }

    to {
        opacity: 1;
        transform: scaleX(1);
    }

}


/* عنوان */

.social-title {
    color: #777;

    font-family:
        "Gill Sans",
        "Gill Sans MT",
        Arial,
        sans-serif;

    font-size: 16px;

    margin-bottom: 28px;

    animation: titlePulse 3s infinite alternate;
}



@keyframes titlePulse {

    from {
        opacity: .45;
    }

    to {
        opacity: 1;
    }

}


/* آیکون‌ها */

.social-links {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 20px;

    flex-wrap: wrap;
}


.social-links a {

    position: relative;

    width: 62px;
    height: 62px;

    display: flex;

    justify-content: center;
    align-items: center;

    border: 1px solid #ffffff15;

    border-radius: 16px;

    background:
        rgba(255,255,255,.025);

    backdrop-filter: blur(12px);

    transition:
        transform .4s ease,
        border-color .4s ease,
        box-shadow .4s ease,
        background .4s ease;

    overflow: hidden;
}


.social-links a::before {

    content: "";

    position: absolute;

    width: 100%;
    height: 100%;

    background:
        radial-gradient(
            circle,
            #008cff33,
            transparent 70%
        );

    opacity: 0;

    transition: .4s;
}


.social-links a:hover {

    transform:
        translateY(-10px)
        scale(1.08);

    border-color: #008cff;

    background:
        rgba(0,140,255,.08);

    box-shadow:
        0 0 20px #008cff55,
        0 0 45px #008cff22;
}


.social-links a:hover::before {
    opacity: 1;
}


.social-links img {

    position: relative;

    z-index: 2;

    width: 32px;
    height: 32px;

    object-fit: contain;

    transition:
        transform .4s ease,
        filter .4s ease;
}


.social-links a:hover img {

    transform:
        scale(1.18)
        rotate(5deg);

    filter:
        drop-shadow(0 0 8px #008cff);
}


/* نام برند */

.footer-brand {

    margin-top: 45px;

    color: #008cff;

    font-size: 13px;

    letter-spacing: 6px;

    text-shadow:
        0 0 15px #008cff;

    animation: brandGlow 3s infinite alternate;
}


@keyframes brandGlow {

    from {
        opacity: .35;
        letter-spacing: 4px;
    }

    to {
        opacity: 1;
        letter-spacing: 8px;
    }

}


/* کپی‌رایت */

.copyright {

    margin-top: 18px;

    color: #444;

    font-size: 12px;

    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}


/* موبایل */

@media (max-width: 600px) {

    .social-footer {
        padding-top: 60px;
    }

    .social-links {
        gap: 12px;
    }

    .social-links a {
        width: 55px;
        height: 55px;
        border-radius: 14px;
    }

    .social-links img {
        width: 28px;
        height: 28px;
    }

}

.aparat-second {
    position: relative !important;
    overflow: visible !important;
}

.aparat-badge {
    position: absolute;

    top: -2px;
    left: -2px;

    padding: 2px 6px;

    border-radius: 7px;

    background: rgba(0, 140, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.35);

    color: #fff;

    font-family: "Gill Sans", "Gill Sans MT", Arial, sans-serif;
    font-size: 10px;
    font-weight: bold;

    line-height: 1;

    box-shadow:
        0 0 8px #008cff,
        0 0 18px #008cff55;

    z-index: 999;

    pointer-events: none;

    transition: .35s ease;
}

.aparat-second:hover .aparat-badge {
    background: rgba(121, 0, 255, 0.9);

    box-shadow:
        0 0 10px #7900ff,
        0 0 25px #7900ff66;

    transform: translateY(-2px) scale(1.08);
}

/* مهم: کادرها عدد 2 را قطع نکنند */
.social-links a {
    overflow: visible !important;
}



.ryvox-game-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 20px;
}

.ryvox-game-button {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;

    margin-top: -550px;
    margin-left: -1070px;

    padding: 20px 100px;

    color: #fff;
    text-decoration: none;

    font-size: 18px;
    font-weight: 700;

    border: 1px solid rgba(255,255,255,.2);
    border-radius: 14px;

    background: rgba(255,255,255,.04);
    backdrop-filter: blur(12px);

    overflow: hidden;

    transition:
        transform .5s ease,
        border-color .5s ease,
        box-shadow .5s ease;
}

.ryvox-game-button::before {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(120,100,255,.35),
        rgba(70,220,255,.25),
        transparent
    );

    background-size: 250% 100%;

    animation: ryvoxButtonFlow 4s ease-in-out infinite;
}

.ryvox-game-button span,
.ryvox-game-button i {
    position: relative;
    z-index: 2;
}

.ryvox-game-button i {
    font-style: normal;
    font-size: 22px;

    animation: ryvoxStar 2s ease-in-out infinite;
}

.ryvox-game-button:hover {
    transform: translateY(-6px) scale(1.04);

    border-color: rgba(150,130,255,.7);

    box-shadow:
        0 15px 50px rgba(90,80,255,.2),
        0 0 35px rgba(70,210,255,.12);
}

@keyframes ryvoxButtonFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes ryvoxStar {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.25);
    }
}

.cadr-one {

    width: 500px;
    height: 300px;

    border: 2px solid #008cff;

    box-shadow: 0 0 20px #ff00aa;

    border-radius: 50px;

    margin: 0 auto;

    position: absolute;

    top: 75%;
    left: 4%;
}

.text-sargarmi {
    text-align: center;
    position: relative;

    color: #ffffff;

    top: 50px;

    text-shadow: 0 0 10px #008cff;
}

.auth-buttons {
    display: flex;
    gap: 12px;

    margin-top: 95px;
    margin-right: 1280px;
}

.auth-btn {
    position: relative;
    z-index: 100000;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100px;
    height: 42px;

    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;

    background: rgba(10, 15, 25, 0.9);

    color: #fff;
    text-decoration: none;

    font-family:
        'Gill Sans',
        'Gill Sans MT',
        Calibri,
        'Trebuchet MS',
        sans-serif;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    pointer-events: auto;

    transition: 0.25s ease;
}

.auth-btn:hover {
    transform: translateY(-2px);

    border-color: rgba(80, 210, 255, 0.8);

    box-shadow:
        0 0 20px rgba(50, 190, 255, 0.25);
}


.demo-sabt-nam {
    position: absolute !important;
    top: 60px !important;
    right: 1320px !important;
    margin: 0 !important;
	color: red;
	text-shadow: 0 0 20px white;
}
/* =========================
   PROFILE BUTTON
========================= */


.profile-button-container {

    display:none;

    margin-top:95px;
    margin-right:1280px;

}


.profile-button {


    width:100px;
    height:42px;


    display:flex;

    align-items:center;

    justify-content:center;


    background:
    rgba(10,15,25,.9);


    border:
    1px solid rgba(255,255,255,.25);


    border-radius:8px;


    color:white;


    text-decoration:none;


    font-size:22px;


    transition:.35s ease;


}


.profile-button:hover {


    transform:
    translateY(-3px)
    rotate(15deg);


    border-color:#008cff;


    color:#008cff;


    box-shadow:

    0 0 20px #008cff55,
    0 0 40px #008cff22;


}



/* آبی شدن ثبت نام */


.auth-btn.signup {


    background:
    linear-gradient(
        100deg,
        #176cff,
        #55bfff
    );


    border-color:#55bfff;


}

.demo-sabt-nam {
	position: absolute;
	
}

/* =========================================
   RYVOX GAMES
   UNIVERSAL MOBILE RESPONSIVE
   Samsung / Xiaomi / Redmi / POCO / iPhone
   ========================================= */

@media screen and (max-width: 768px) {

    * {
        max-width: 100%;
    }

    html,
    body {
        width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }

    body {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    /* =========================
       HEADER
       ========================= */

    .header {
        width: 100%;
        height: 100px;
    }

    .logo-slider {
        top: 12px;
        left: 12px;
        width: 82px;
        height: 82px;
    }

    .logo-slider .logo {
        width: 82px;
        height: 82px;
    }

    .menu-button {
        top: 15px;
        right: 12px;
        width: 50px;
        height: 50px;
    }

    /* =========================
       SIDE MENU
       ========================= */

    .side-menu {
        width: min(330px, 88vw);
        right: -350px;
        padding: 100px 25px 30px;
    }

    .side-menu.open {
        right: 0;
    }

    .menu-title h2 {
        font-size: clamp(25px, 8vw, 32px);
        letter-spacing: 4px;
    }

    .menu-title span {
        font-size: 9px;
        letter-spacing: 5px;
    }

    .side-menu nav a {
        font-size: clamp(15px, 4.5vw, 19px);
        padding: 17px 4px;
    }

    /* =========================
       HERO
       ========================= */

    .hero {
        width: 100%;
        min-height: 100svh;
        padding: 115px 5vw 80px;
    }

    .hero-content {
        width: 100%;
        max-width: 700px;
    }

    .hero-subtitle {
        font-size: clamp(8px, 2.5vw, 12px);
        letter-spacing: clamp(2px, 1vw, 5px);
    }

    .hero h1 {
        width: 100%;
        font-size: clamp(40px, 14vw, 75px);
        line-height: .95;
        letter-spacing: clamp(-3px, -0.5vw, -1px);
    }

    .hero-text {
        width: 100%;
        max-width: 600px;
        font-size: clamp(14px, 4vw, 18px);
        line-height: 1.8;
    }

    .hero-buttons {
        width: 100%;
        max-width: 320px;
        flex-direction: column;
        margin: auto;
    }

    .main-button {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }

    /* =========================
       GAMES
       ========================= */

    .games-section {
        width: 100%;
        padding: 90px 5vw;
    }

    .section-heading h2 {
        font-size: clamp(38px, 12vw, 70px);
    }

    .section-heading p {
        font-size: clamp(14px, 4vw, 17px);
        line-height: 1.7;
    }

    .game-grid {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .game-card {
        width: 100%;
    }

    .game-image {
        width: 100%;
        height: clamp(190px, 55vw, 300px);
    }

    .game-content {
        padding: clamp(18px, 5vw, 30px);
    }

    .game-content h3 {
        font-size: clamp(23px, 7vw, 30px);
    }

    .game-content p {
        font-size: clamp(13px, 4vw, 16px);
    }

    /* =========================
       RYVOX GAME BUTTON
       ========================= */

    .ryvox-game-section {
        width: 100%;
        padding: 70px 5vw;
    }

    .ryvox-game-button {
        width: min(100%, 360px);

        margin: 0;

        padding: 16px 20px;

        justify-content: center;

        font-size: clamp(14px, 4vw, 18px);
    }

    /* =========================
       ENTERTAINMENT CARD
       ========================= */

    .cadr-one {
        position: relative;

        width: 90%;
        max-width: 500px;

        height: clamp(210px, 60vw, 300px);

        top: auto;
        left: auto;

        margin: 40px auto;
    }

    .text-sargarmi {
        top: 30px;
        padding: 0 15px;
        font-size: clamp(18px, 6vw, 25px);
    }

    /* =========================
       AUTH BUTTONS
       ========================= */

    .auth-buttons {
        width: 100%;

        margin-top: 30px;
        margin-right: 0;

        justify-content: center;

        gap: 10px;
    }

    .auth-btn {
        width: clamp(90px, 28vw, 110px);
        height: 42px;
        font-size: 14px;
    }

    .profile-button-container {
        width: 100%;

        margin-top: 30px;
        margin-right: 0;

        display: flex;
        justify-content: center;
    }

    .profile-button {
        width: clamp(90px, 28vw, 110px);
        height: 42px;
    }

    /* =========================
       CONTACT
       ========================= */

    .contact-section {
        width: 100%;
        padding: 80px 5vw;
    }

    .contact-section h2 {
        font-size: clamp(38px, 12vw, 75px);
    }

    .contact-section p {
        font-size: clamp(14px, 4vw, 18px);
        line-height: 1.8;
    }

    /* =========================
       SOCIAL FOOTER
       ========================= */

    .social-footer {
        width: 100%;
        padding: 60px 5vw 35px;
    }

    .social-links {
        width: 100%;
        gap: clamp(8px, 3vw, 15px);
    }

    .social-links a {
        width: clamp(48px, 15vw, 62px);
        height: clamp(48px, 15vw, 62px);
    }

    .social-links img {
        width: clamp(24px, 8vw, 32px);
        height: clamp(24px, 8vw, 32px);
    }

    .footer-brand {
        font-size: clamp(9px, 3vw, 13px);
        letter-spacing: clamp(3px, 1vw, 6px);
    }

    /* =========================
       BACKGROUND
       ========================= */

    body::before,
    body::after {
        width: 280px;
        height: 280px;
        filter: blur(90px);
    }

    .grid {
        background-size: clamp(45px, 12vw, 70px);
    }
}


/* =========================================
   SMALL PHONES
   A14 / A15 / A16 / A17 / A20 / A26 etc.
   ========================================= */

@media screen and (max-width: 480px) {

    .hero {
        padding-left: 15px;
        padding-right: 15px;
    }

    .hero h1 {
        font-size: clamp(38px, 14vw, 58px);
    }

    .game-image {
        height: clamp(180px, 55vw, 240px);
    }

    .cadr-one {
        width: 92%;
    }

    .side-menu {
        width: 85vw;
    }
}


/* =========================================
   VERY SMALL PHONES
   ========================================= */

@media screen and (max-width: 360px) {

    .logo-slider {
        width: 72px;
        height: 72px;
    }

    .logo-slider .logo {
        width: 72px;
        height: 72px;
    }

    .menu-button {
        width: 46px;
        height: 46px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-text {
        font-size: 13px;
    }

    .game-content {
        padding: 16px;
    }

    .auth-btn,
    .profile-button {
        width: 88px;
    }
}


/* =========================================
   LARGE PHONES
   S23 Ultra / S24 Ultra / S25 Ultra /
   S26 Ultra / Plus / FE
   ========================================= */

@media screen and (min-width: 481px) and (max-width: 768px) {

    .hero {
        padding-left: 7vw;
        padding-right: 7vw;
    }

    .hero h1 {
        font-size: clamp(55px, 12vw, 85px);
    }

    .game-grid {
        max-width: 650px;
        margin: auto;
    }

    .game-image {
        height: 300px;
    }

    .side-menu {
        width: 350px;
    }
}
