:root {
    --primary: #00eeff;
    --primary-glow: rgba(0, 238, 255, 0.4);
    --bg-dark: #111111;
    --bg-gradient-start: #191924;
    --bg-gradient-mid: #18181B;
    --bg-gradient-end: #111111;
    --card-bg: rgba(255, 255, 255, 0.02);
    --border-dim: rgba(0, 238, 255, 0.15);
    --text-light: #cccccc;
    --text-white: #ffffff;
    --accent-soft: #00c9a7;
    --slider-track: rgba(0, 238, 255, 0.2);
    --slider-thumb: #00eeff;
    --font-kreadon-bold: 'Kreadon-Bold', sans-serif;
    --font-kreadon-light: 'Kreadon-Light', sans-serif;
    --font-lemon: 'LEMONMILK-Regular', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Kreadon-Bold';
    src: url('../media/font/Kreadon-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Kreadon-Light';
    src: url('../media/font/Kreadon-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'LEMONMILK-Regular';
    src: url('../media/font/LEMONMILK-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

canvas {
    display: block;
    vertical-align: bottom;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

html {
    margin: 0;
    height: 100%;
}

p {
    font-family: Montserrat;
}

h2 {
    font-family: monospace;
    font-size: 15px;
    text-align: center;
}

body {
    font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
    background-color: #070709;
    background-image: radial-gradient(circle at 50% 0%, #16161f 0%, #070709 70%);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #9999a3;
    margin: 0px;
    min-height: 100%;
    width: 100%;
    padding-top: 90px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #09090b;
    border-bottom: 1px solid rgba(0, 238, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 238, 255, 0.02);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    height: 64px;
    box-sizing: border-box;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

header:hover {
    border-color: rgba(0, 238, 255, 0.4);
    background: #0d0d11;
    box-shadow: 0 4px 25px rgba(0, 238, 255, 0.05);
}

header .logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

header .logo-wrapper img {
    height: 28px;
    width: auto;
    object-fit: contain;
    display: block;
}

header h1 {
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 4px;
    font-family: 'Syne', system-ui, sans-serif;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 238, 255, 0.2);
}

header nav {
    display: flex;
    align-items: center;
    height: 100%;
}

header a {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 16px;
    position: relative;
    transition: color 0.3s ease;
}

header a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #00eeff;
    box-shadow: 0 0 8px #00eeff;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

header a:hover {
    color: #00eeff;
    text-shadow: 0 0 8px rgba(0, 238, 255, 0.3);
}

header a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

@media (max-width: 768px) {
    header {
        padding: 0 20px;
        height: 56px;
    }
    
    header .logo-wrapper {
        gap: 8px;
    }

    header .logo-wrapper img {
        height: 22px;
    }
    
    header h1 {
        font-size: 14px;
        letter-spacing: 2px;
    }

    header a {
        font-size: 12px;
        padding: 0 10px;
    }
}

@keyframes moveGradient {
    50% {
        background-position: 100% 50%;
    }
}

/*???*/
.main-logo {
    width: 128px;
    height: 128px;
    object-fit: cover;
    margin: 0 auto;
    padding: 5px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
    align-items: center;
    height: 100%;
}

nav ul li {
    height: 100%;
    display: flex;
    align-items: center;
}

nav ul li a {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 16px;
    position: relative;
    transition: color 0.3s ease;
    box-sizing: border-box;
}

nav ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ffffff;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

nav ul li a:hover {
    color: #ffffff;
}

nav ul li a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

nav ul li:last-child a {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 36px;
    padding: 0 16px;
    margin-left: 12px;
    color: #ffffff;
    transition: all 0.3s ease;
}

nav ul li:last-child a::before {
    display: none;
}

nav ul li:last-child a:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

@media (max-width: 768px) {
    nav ul li a {
        font-size: 12px;
        padding: 0 10px;
    }

    nav ul li:last-child a {
        height: 32px;
        padding: 0 12px;
        margin-left: 8px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        gap: 15px;
    }

    nav ul li a {
        font-size: 12px;
    }
}

section {
    padding: 20px;
    text-align: center;
    max-width: 1050px;
    margin: 0 auto;
    scroll-margin-top: 80px;
}

#home,
#team,
#products,
#why-us,
#faq {
    padding-top: 60px;
}

@media (max-width: 768px) {
    body {
        padding-top: 120px;
    }
}

section #home {
    z-index: 2;
}

#home {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 10px 0;
    margin: 0 auto;
    z-index: 2;
}

#home .home-tagline {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-size: 2.5rem;        
    font-weight: 700;          
    text-transform: uppercase;
    letter-spacing: 3px;        
    line-height: 1.2;    
    background: linear-gradient(135deg, #ffffff 30%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
    text-align: center;
    margin: 80px auto 24px auto; 
    padding: 0;
}

#home .home-description {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;          
    line-height: 1.6;
    max-width: 600px;              
    width: 100%;
    text-align: center;
    margin: 0 auto 60px auto;      
}

@media (max-width: 768px) {
    #home .home-tagline {
        font-size: 1.8rem;
        letter-spacing: 1.5px;
        margin: 50px auto 16px auto; 
    }

    #home .home-description {
        font-size: 0.95rem; 
        padding: 0 20px;            
        margin: 0 auto 40px auto;
    }
}

#home img {
    width: 110px;
    height: auto;
    filter: drop-shadow(0 0 12px #00eeff) drop-shadow(0 0 25px rgba(0, 238, 255, 0.3));
    margin-bottom: 8px;
    animation: floating 2.5s ease-in-out infinite;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    #home img {
        width: 95px;
    }

    #home p {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }
}

#products {
    padding: 30px 0;
    max-width: 1100px;
    margin: 0 auto;
}

#products .product-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0px;
}

.product {
    position: relative;
    width: 100%;
    height: 260px;
    background: #09090b;
    border-radius: 0px;
    overflow: hidden;
    cursor: pointer;
    box-sizing: border-box;
    transition: background 0.35s ease;
}

.product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 4;
    pointer-events: none;
}

.product:hover::before {
    border-color: rgba(0, 238, 255, 0.4);
    box-shadow: inset 0 0 20px rgba(0, 238, 255, 0.1);
    z-index: 5;
}

.product.maintenance:hover::before {
    border-color: rgba(255, 170, 0, 0.5);
    box-shadow: inset 0 0 20px rgba(255, 170, 0, 0.15);
}

.product-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.25;
    filter: grayscale(100%) blur(6px);
    transform: scale(1.05);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.product:hover .product-bg {
    opacity: 0.4;
    filter: grayscale(0%) blur(2px);
    transform: scale(1);
}

.game-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.product:hover .game-icon {
    transform: rotate(-12deg) scale(1.05);
}

.game-icon img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.product:hover .game-icon img {
    border-color: #00eeff;
    box-shadow: 0 0 15px rgba(0, 238, 255, 0.3);
}

.product.maintenance:hover .game-icon img {
    border-color: #ffaa00;
    box-shadow: 0 0 15px rgba(255, 170, 0, 0.4);
}

.get-now,
.coming-soon,
.maintenance {
    position: absolute;
    bottom: 16px;
    left: 16px;
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    z-index: 3;
    transition: color 0.35s ease;
}

.get-now {
    color: #ffffff;
}

.product:hover .get-now {
    color: #00eeff;
}

.get-now::after {
    content: ' →';
    display: inline-block;
    transition: transform 0.25s ease;
}

.product:hover .get-now::after {
    transform: translateX(4px);
}

.coming-soon {
    color: rgba(255, 255, 255, 0.2);
}

.coming-soon::after {
    content: ' //';
    opacity: 0.4;
}

.maintenance {
    color: #ffaa00;
    text-shadow: 0 0 8px rgba(255, 170, 0, 0.3);
}

.maintenance::after {
    content: ' ⚠';
    display: inline-block;
    margin-left: 4px;
    filter: drop-shadow(0 0 4px #ffaa00);
}

.product::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    z-index: 2;
    pointer-events: none;
}

@media (max-width: 900px) {
    #products .product-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    #products .product-list {
        grid-template-columns: 1fr;
    }
}

/* Team Page */
#team {
    text-align: center;
    max-width: 1300px;
    margin: 0 auto;
}

.team-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.team-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 238, 255, 0.1);
    border-radius: 25px;
    padding: 35px;
    width: 280px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.team-card:hover {
    transform: translateY(-10px);
    background: rgba(0, 238, 255, 0.05);
    border-color: #00eeff;
    box-shadow: 0 10px 40px rgba(0, 238, 255, 0.15);
}

.avatar-container {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
}

.avatar-container img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(0, 238, 255, 0.3);
    transition: all 0.4s ease;
}

.team-card:hover img {
    border-color: #00eeff;
    box-shadow: 0 0 20px rgba(0, 238, 255, 0.4);
}

.team-card.leader {
    width: 320px;
    border-color: rgba(0, 238, 255, 0.4);
    background: rgba(0, 238, 255, 0.03);
}

.team-card.leader .avatar-container {
    width: 220px;
    height: 220px;
}

.team-card.leader .nickname {
    font-size: 24px;
    color: #00eeff;
    text-shadow: 0 0 10px rgba(0, 238, 255, 0.4);
}

.nickname {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
}

.role {
    font-size: 14px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.team-footer {
    display: flex;
    justify-content: center;
}

.team-card.support {
    width: 240px;
    padding: 25px;
}

.team-card.support .avatar-container {
    width: 140px;
    height: 140px;
}

@media (max-width: 900px) {
    .team-grid {
        flex-direction: column;
    }

    .team-card,
    .team-card.leader {
        width: 100%;
        max-width: 300px;
    }
}

/* Requirements Grid */
.requirements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.requirement-category {
    background: rgba(33, 28, 53, 0.6);
    padding: 20px;
    border-radius: 10px;
}

.category-title {
    font-family: 'Kreadon-Bold', sans-serif;
    color: #00eeff;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.specs-list {
    text-align: left;
}

.spec-item {
    font-family: 'Montserrat', sans-serif;
    color: #cccccc;
    padding: 8px 0;
    border-bottom: 1px solid rgba(204, 204, 204, 0.1);
    margin: 0;
}

.spec-item:last-child {
    border-bottom: none;
}

/* Steps List */
.steps-list {
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(33, 28, 53, 0.4);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.step-item:hover {
    background: rgba(33, 28, 53, 0.6);
}

.step-number {
    background: linear-gradient(135deg, #00c9a7, #00eeff);
    color: #000;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
    font-family: 'Kreadon-Bold', sans-serif;
}

.step-item p {
    margin: 0;
    color: #cccccc;
    line-height: 1.5;
}

/* Solution List */
.solution-list {
    text-align: center;
}

.solution-item {
    font-family: 'Montserrat', sans-serif;
    color: #cccccc;
    padding: 12px;
    margin: 10px 0;
    background: rgba(33, 28, 53, 0.4);
    border-radius: 8px;
}

/* Contact Info */
.contact-info {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.contact-item {
    font-family: 'Montserrat', sans-serif;
    color: #cccccc;
    padding: 10px 0;
    border-bottom: 1px solid rgba(204, 204, 204, 0.1);
    margin: 0;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item:nth-child(2) {
    color: #00eeff;
    font-weight: bold;
}

.faq-container {
    max-width: 900px;
    margin: 60px auto 0 auto;
    padding: 0 20px;
}

/* Sections */
.faq-section {
    background: #09090b;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    margin-bottom: 24px;
    position: relative;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-section:hover {
    background: #0d0d11;
    border-color: rgba(0, 238, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 238, 255, 0.05);
}

.faq-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: #00eeff;
    box-shadow: 0 0 10px #00eeff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-section:hover::before {
    opacity: 1;
}

.faq-title {
    font-family: 'Syne', system-ui, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(0, 238, 255, 0.1);
}

@media (max-width: 768px) {
    .faq-container {
        margin-top: 40px;
    }

    .requirements-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .faq-section {
        padding: 30px 20px;
        margin-bottom: 16px;
    }

    .faq-title {
        font-size: 1.5rem;
        letter-spacing: 2px;
        margin-bottom: 24px;
    }

    .step-item {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

.auth-brand {
    font-family: 'Syne', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: rgb(255, 255, 255);
    text-align: center;
    margin-top: 40px;      
    margin-bottom: 30px;  
    display: block;
}

.auth-brand span {
    color: #00eeff;
    text-shadow: 0 0 10px rgba(0, 238, 255, 0.5);
}

.auth-form {
    max-width: 400px;
    margin: 0 auto 60px auto; 
    padding: 40px 30px;
    background: #09090b;
    border: 1px solid rgba(0, 238, 255, 0.15);
    box-shadow: 0 0 30px rgba(0, 238, 255, 0.02), 0 20px 50px rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
    text-align: center;
}

.auth-form h2 {
    margin-bottom: 30px;
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: 'Syne', system-ui, sans-serif;
    text-shadow: 0 0 15px rgba(0, 238, 255, 0.1);
}

.auth-form input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    background: #111114;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-family: 'Space Grotesk', system-ui, sans-serif;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.auth-form input:focus {
    border-color: rgba(0, 238, 255, 0.4);
    box-shadow: 0 0 15px rgba(0, 238, 255, 0.1);
    background: #141419;
}

.auth-form button {
    width: 100%;
    padding: 14px;
    background: #00eeff;
    border: none;
    color: #000000;
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.auth-form button:hover {
    background: #ffffff;
    box-shadow: 0 0 20px rgba(0, 238, 255, 0.3);
}

.auth-message {
    padding: 12px;
    margin-bottom: 25px;
    background: rgba(255, 68, 68, 0.05);
    border: 1px solid rgba(255, 68, 68, 0.3);
    color: #ff4444;
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-size: 13px;
}

#profile-container {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 238, 255, 0.2);
}

.user-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.user-name-title {
    font-size: 32px;
    margin: 0;
    font-family: 'Syne', 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #ffffff, rgba(255,255,255,0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.account-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-user {
    background: rgba(0, 238, 255, 0.1);
    color: #00eeff;
    border: 1px solid rgba(0, 238, 255, 0.3);
}

.status-team {
    background: #00eeff;
    color: #000;
}

.status-dev {
    background: linear-gradient(90deg, #ffcc00, #ff4444);
    color: #fff;
}

.library-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 35px 0 20px 0;
    flex-wrap: wrap;
    gap: 15px;
}

.section-title-profile {
    font-size: 1.3rem;
    font-weight: 600;
    font-family: 'Syne', sans-serif;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 1px;
}

.section-title-profile i {
    color: #00eeff;
    font-size: 1.2rem;
}

.get-loader-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.get-loader-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.4);
}

.get-loader-btn.disabled {
    background: #333;
    color: #888;
    cursor: not-allowed;
    transform: none;
}

.get-loader-btn.disabled:hover {
    box-shadow: none;
}

.maintenance-notice {
    background: rgba(255, 170, 0, 0.1);
    color: #ffaa00;
    border: 1px solid rgba(255, 170, 0, 0.3);
    padding: 6px 16px;
    border-radius: 6px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.maintenance-notice i {
    font-size: 14px;
}

.error-message {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff0000;
    border-radius: 8px;
    padding: 12px 20px;
    margin-bottom: 20px;
}

.error-message p {
    color: #ff5555;
    margin: 0;
    font-size: 13px;
}

.profile-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.game-item {
    cursor: pointer;
    transition: all 0.2s ease;
}

.game-item:hover {
    transform: translateY(-3px);
}

.game-card-inner {
    background: rgba(10, 10, 14, 0.8);
    border: 1px solid rgba(0, 238, 255, 0.2);
    border-radius: 12px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.game-item:hover .game-card-inner {
    border-color: rgba(0, 238, 255, 0.6);
    background: rgba(0, 238, 255, 0.05);
}

.game-card-inner.maintenance {
    border-color: rgba(255, 170, 0, 0.4);
    background: rgba(255, 170, 0, 0.05);
}

.game-item:hover .game-card-inner.maintenance {
    border-color: #ffaa00;
}

.game-icon-small {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    overflow: hidden;
    background: #0a0a0c;
}

.game-icon-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.not-owned .game-icon-small img {
    filter: grayscale(1) brightness(0.3);
}

.game-name-tag {
    font-size: 12px;
    font-family: 'Syne', 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: #ccc;
    text-align: center;
    word-break: break-word;
}

.game-item:hover .game-name-tag {
    color: #00eeff;
}

.game-status-badge {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    margin-top: 4px;
}

.game-status-badge.owned {
    background: rgba(0, 238, 255, 0.15);
    color: #00eeff;
}

.game-status-badge.locked {
    background: rgba(255, 68, 68, 0.15);
    color: #ff6666;
}

.game-status-badge.maintenance {
    background: rgba(255, 170, 0, 0.15);
    color: #ffaa00;
}

.game-status-badge.maintenance i {
    font-size: 9px;
}

.logout-btn {
    color: #ff5555;
    text-decoration: none;
    font-weight: 500;
    font-size: 12px;
    padding: 6px 14px;
    border: 1px solid rgba(255, 68, 68, 0.4);
    border-radius: 6px;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 68, 68, 0.05);
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
}

.logout-btn:hover {
    background: #ff4444;
    color: #fff;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.3);
}

.empty-games-message {
    text-align: center;
    padding: 50px 20px;
    background: rgba(255,255,255,0.01);
    border: 1px dashed rgba(0,238,255,0.2);
    color: #888;
    border-radius: 12px;
    font-size: 14px;
}

@media (max-width: 768px) {
    #profile-container {
        padding: 20px 16px;
    }
    
    .user-name-title {
        font-size: 24px;
    }
    
    .profile-header-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .profile-games-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 14px;
    }
    
    .section-title-profile {
        font-size: 1.1rem;
    }
    
    .game-card-inner {
        padding: 12px 8px;
    }
    
    .game-icon-small {
        width: 45px;
        height: 45px;
    }
    
    .game-name-tag {
        font-size: 10px;
    }
    
    .logout-btn {
        padding: 5px 12px;
        font-size: 11px;
    }
    
    .account-badge {
        padding: 2px 8px;
        font-size: 8px;
    }
    
    .get-loader-btn {
        padding: 6px 16px;
        font-size: 12px;
    }
}

.remember-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0 20px 0;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.remember-wrapper input[type="checkbox"] {
    display: none;
}

.remember-wrapper label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #999;
    transition: 0.3s ease;
}

.remember-wrapper label::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    transition: all 0.2s ease;
    margin-right: 10px;
}

.remember-wrapper:hover label::before {
    border-color: rgba(255, 255, 255, 0.5);
}

.remember-wrapper input[type="checkbox"]:checked+label::before {
    background: #fff;
    border-color: #fff;
}

.remember-wrapper input[type="checkbox"]:checked+label::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.remember-wrapper input[type="checkbox"]:checked+label {
    color: #fff;
}

.remember-wrapper a {
    color: #fff;
    text-decoration: underline;
}

.remember-wrapper a:hover {
    color: #007bff;
    text-decoration: none;
}

#why-us {
    max-width: 1000px;
    margin: 140px auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 4px;
    line-height: 1.3;
    text-shadow: none;
    margin-bottom: 80px;
    font-family: 'Syne', system-ui, sans-serif;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.features-grid {
    display: flex;
    flex-direction: column;
    background: #0d0d11;
    border: 1px solid rgba(0, 238, 255, 0.15);
    box-shadow: 0 0 30px rgba(0, 238, 255, 0.02);
}

.feature-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 40px;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    box-sizing: border-box;
    cursor: pointer;
}

.feature-card:last-child {
    border-bottom: none;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: #00eeff;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.feature-card:hover {
    background: #121218;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card i {
    font-size: 2rem;
    color: #ffffff;
    margin-right: 30px;
    opacity: 0.3;
    transform: scale(0.9);
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.feature-card:hover i {
    color: #00eeff;
    opacity: 1;
    transform: scale(1.1) rotate(-5deg);
    text-shadow: 0 0 15px rgba(0, 238, 255, 0.6);
}

.feature-card h3 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 500;
    font-family: 'Space Grotesk', system-ui, sans-serif;
    margin: 0;
    flex: 1;
    transition: all 0.35s ease;
}

.feature-card:hover h3 {
    color: #00eeff;
    transform: translateX(8px);
}

.feature-card p {
    color: #9999a3;
    font-size: 0.95rem;
    line-height: 1.5;
    font-family: system-ui, -apple-system, sans-serif;
    margin: 0;
    max-width: 50%;
    text-align: right;
    transition: color 0.35s ease;
}

.feature-card:hover p {
    color: #ffffff;
}

@media (max-width: 768px) {
    .feature-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 24px;
    }
    
    .feature-card i {
        margin: 0 0 20px 0;
    }
    
    .feature-card h3 {
        margin-bottom: 12px;
        transform: none !important;
    }
    
    .feature-card p {
        max-width: 100%;
        text-align: left;
    }
    
    .feature-card::before {
        width: 100%;
        height: 2px;
        top: 0;
        left: 0;
    }
}

.footer {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 60px 20px 40px;
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-copyright {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.footer-links {
    margin-bottom: 25px;
    color: #888;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    margin: 0 5px;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-disclaimer {
    color: #666;
    font-size: 0.8rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .footer-links a {
        display: inline-block;
        margin: 5px 10px;
    }
}

.legal-page {
    padding: 100px 20px 50px;
    max-width: 1000px;
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
}

.legal-container h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 5px;
}

.last-updated {
    color: #555;
    margin-bottom: 30px;
}

.legal-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.legal-content h3 {
    color: #fff;
    margin: 35px 0 15px;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legal-content p,
.legal-content li {
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 10px;
}

.legal-content ul {
    list-style: none;
    padding-left: 0;
}

.legal-content ul li::before {
    content: "•";
    color: #fff;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: 0;
}

.hp-field {
    display: none;
}

/* Buy */
.product-purchase-card {
    background: rgba(20, 20, 25, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-dim);
    border-radius: 32px;
    padding: 30px 28px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 238, 255, 0.1) inset;
    transition: border 0.2s, box-shadow 0.3s;
    margin: 50px;
}

.product-purchase-card:hover {
    border-color: var(--bg-gradient-start);
}

.product-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 15px;
}

.product-title {
    font-family: var(--font-kreadon-bold);
    font-size: 28px;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.product-dropdown {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-dim);
    border-radius: 40px;
    padding: 10px 18px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-white);
    outline: none;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: 0.2s;
    min-width: 160px;
}

.product-dropdown:hover {
    border-color: var(--primary);
    background: rgba(0, 238, 255, 0.05);
}

.product-dropdown option {
    background: #1a1a22;
    color: #eee;
}

/* Preview Carousel Section */
.product-preview {
    margin-bottom: 20px;
    position: relative;
}

.carousel-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.carousel-container.expanded {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    height: 90vh;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    border-radius: 20px;
    box-shadow: 0 0 0 1000px rgba(0, 0, 0, 0.85);
}

.carousel-container.expanded .carousel-slide img {
    height: calc(90vh - 80px);
    object-fit: contain;
}

.expand-button {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 8px;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 20;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 5px;
}

.expand-button:hover {
    background: var(--primary);
    color: #000;
    transform: scale(1.05);
}

.expand-button i {
    font-size: 20px;
}

.expand-button span {
    font-size: 12px;
    font-weight: 600;
}

.carousel-container.expanded .expand-button {
    background: rgba(0, 0, 0, 0.8);
    top: 20px;
    right: 20px;
}

.carousel-container.expanded .expand-button span {
    display: inline;
}

/* Close button for expanded mode */
.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
}

.carousel-slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.carousel-button em {
    font-size: 25px;
}

.carousel-button:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-50%) scale(1.1);
}

.carousel-button.prev {
    left: 15px;
}

.carousel-button.next {
    right: 15px;
}

.carousel-dots {
    text-align: center;
    padding: 12px 0;
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    z-index: 10;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary);
    width: 25px;
    border-radius: 10px;
    box-shadow: 0 0 10px var(--primary);
}

.dot:hover {
    background: var(--primary);
    transform: scale(1.2);
}

/* Loading State */
.loading {
    text-align: center;
    padding: 50px;
    color: var(--primary);
    font-size: 18px;
}

/* блок с ценой и кнопкой */
.checkout-panel {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 24px;
    padding: 20px;
    margin: 15px 0 20px;
    border: 1px solid rgba(0, 238, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.final-price {
    font-size: 32px;
    font-family: var(--font-kreadon-bold);
    color: white;
}

.final-price span {
    font-size: 16px;
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
    margin-left: 5px;
}

.duration-badge {
    display: inline-block;
    background: rgba(0, 238, 255, 0.2);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    margin-left: 10px;
    color: var(--primary);
}

.buy-button {
    background: #00b8c0;
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-family: var(--font-kreadon-bold);
    font-size: 18px;
    text-transform: uppercase;
    color: #000;
    letter-spacing: 1.5px;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 238, 255, 0.4);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 800;
}

.buy-button:hover {
    box-shadow: 0 0 10px var(--primary);
    border-color: var(--primary);
}

.features-list {
    margin-top: 30px;
    list-style: none;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 238, 255, 0.1);
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: #fff;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list i {
    font-size: 24px;
    color: var(--primary);
    filter: drop-shadow(0 0 6px var(--primary));
    width: 32px;
    text-align: center;
}

.setup-notice {
    background: rgba(0, 238, 255, 0.03);
    border-radius: 18px;
    padding: 14px 20px;
    margin-top: 25px;
    font-size: 14px;
    border: 1px dashed rgba(0, 238, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
    color: #b0f0ff;
}

.setup-notice i {
    font-size: 28px;
    color: #00eeff;
}

.setup-notice a {
    color: white;
    text-decoration: none;
    border-bottom: 1px dotted;
    margin-left: 5px;
}

@media (max-width: 480px) {
    .product-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .checkout-panel {
        flex-direction: column;
        align-items: stretch;
    }

    .buy-button {
        width: 100%;
        text-align: center;
    }

    .carousel-slide img {
        height: 200px;
    }
}