/* Zenith RP - Exact Figma Match */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --blue: #2496F0;
    --purple: #9d4edd;
    --pink: #ff00a8;
    --green: #00ff88;
    --bg: #1a1a1a;
    --bg-light: #1f1f1f;
    --bg-lighter: #252525;
    --text: #ffffff;
    --text-gray: #b0b0b0;
}

html { 
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    padding-top: 80px;
    position: relative;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body.loading {
    overflow: hidden;
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.loader-logo {
    position: relative;
    animation: logoPulse 2s ease-in-out infinite;
}

.loader-logo-img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(36, 150, 240, 0.5));
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.loader-spinner {
    position: relative;
    width: 80px;
    height: 80px;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

.spinner-ring:nth-child(1) {
    animation-delay: 0s;
    border-top-color: var(--blue);
}

.spinner-ring:nth-child(2) {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    animation-delay: -0.4s;
    border-top-color: var(--purple);
    animation-duration: 1s;
}

.spinner-ring:nth-child(3) {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    animation-delay: -0.2s;
    border-top-color: var(--pink);
    animation-duration: 0.8s;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Prevent body scroll while loading */
body.loading {
    overflow: hidden;
}

/* Neon Triangles */
.neon-triangles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
}

.neon-triangle {
    position: absolute;
    pointer-events: none;
}

.triangle-1 {
    width: 127px;
    height: 429.5px;
    left: 0px;
    top: -16.07px;
    background: linear-gradient(180deg, #FF543E 0%, #F922FD 31%, #2496F0 100%);
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.triangle-2 {
    width: 127px;
    height: 429.5px;
    right: 0px;
    bottom: 0px;
    background: linear-gradient(180deg, #FF543E 0%, #F922FD 31%, #2496F0 100%);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.triangle-3 {
    width: 144.14px;
    height: 480px;
    left: 1289.82px;
    top: calc(80px - 430px + 100px);
    background: linear-gradient(180deg, #FF543E 0%, #F922FD 31%, #2496F0 100%);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    transform: matrix(0.54, -0.84, -0.84, -0.54, 0, 0);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(36, 150, 240, 0.1);
    z-index: 1000;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.logo-link { 
    text-decoration: none; 
    display: flex;
    align-items: center;
}
.zenith-logo { 
    height: 50px; 
    width: auto;
}

.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-menu { display: flex; list-style: none; gap: 0.5rem; align-items: center; }

.nav-link {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: #1E2125;
    box-shadow: -7px 7px 0px rgba(30, 33, 37, 0.24);
    border-radius: 0px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
    z-index: 1000;
}

.nav-link:hover {
    background: rgba(36, 150, 240, 0.1);
    color: var(--text);
}

.nav-link.active {
    background: #2496F0;
    box-shadow: -7px 7px 0px rgba(36, 150, 240, 0.24);
    color: var(--text);
}

.nav-link.active::after {
    display: none;
}

.nav-dropdown { position: relative; }
.nav-dropdown .nav-link {
    flex-direction: row;
    gap: 0.5rem;
}
.nav-dropdown .nav-link i { 
    font-size: 0.7rem;
    margin-left: 0;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(25, 25, 30, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(36, 150, 240, 0.2);
    border-radius: 12px;
    padding: 0.5rem;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    margin-top: 0.75rem;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu a {
    display: block;
    color: var(--text);
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
}

.dropdown-menu a:hover {
    background: rgba(36, 150, 240, 0.15);
    color: var(--blue);
}

.header-right { 
    display: flex; 
    align-items: center; 
    gap: 1.5rem; 
    position: relative;
    z-index: 1001;
}

@media (max-width: 968px) {
    .header {
        padding: 0.75rem 0;
    }
    
    .header-content {
        padding: 0 1.5rem;
    }
    
    .header-content {
        position: relative;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 1002;
        width: 30px;
        height: 24px;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
    }
    
    .mobile-menu-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background: var(--text);
        border-radius: 3px;
    }
    
    .header-left {
        flex: 0 0 auto;
    }
    
    .header-right {
        margin-left: auto;
    }
    
    .main-nav {
        flex: 0;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(26, 26, 26, 0.98);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(36, 150, 240, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        opacity: 0;
        z-index: 1001;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .main-nav.active {
        max-height: 500px;
        opacity: 1;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem 2rem;
        gap: 1rem;
        width: 100%;
    }
    
    .nav-menu li {
        width: 100%;
        display: block;
    }
    
    .nav-link {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 1rem 1.5rem;
        background: #1E2125;
        box-shadow: -7px 7px 0px rgba(30, 33, 37, 0.24);
        border-radius: 0px;
        color: var(--text);
        text-decoration: none;
        font-size: 0.95rem;
        font-weight: 500;
        transition: all 0.3s ease;
        text-align: center;
    }
    
    .nav-link:hover {
        background: rgba(36, 150, 240, 0.1);
        color: var(--text);
        transform: translateY(-2px);
        box-shadow: -7px 9px 0px rgba(30, 33, 37, 0.24);
    }
    
    .nav-link.active {
        background: #2496F0;
        box-shadow: -7px 7px 0px rgba(36, 150, 240, 0.24);
        color: var(--text);
    }
    
    .online-players {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
    
    .player-label {
        display: none;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 0 1rem;
    }
    
    .zenith-logo {
        height: 40px;
    }
    
    .online-players {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        gap: 0.4rem;
    }
    
    .nav-menu {
        padding: 1rem 1.25rem;
        gap: 0.75rem;
    }
    
    .nav-link {
        padding: 1rem 1.25rem;
        font-size: 0.9rem;
        width: 100%;
    }
}

.online-players {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.2rem;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 50px;
    position: relative;
    z-index: 10000;
}

.online-players i { color: var(--green); font-size: 0.6rem; }
.player-count { font-weight: 700; color: var(--green); }
.player-label { font-size: 0.85rem; color: var(--text-gray); }

/* Mobile Menu Toggle (Hamburger) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--text);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active {
    transform: translate(-50%, -50%);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu-toggle:hover span {
    background: var(--blue);
}

/* Main Content */
.main-content {
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

@media (max-width: 768px) {
    .main-content {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
        position: relative;
    }
    
    .main-content section {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    .main-content .container {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    .main-content > * {
        max-width: 100%;
        overflow-x: hidden;
    }
}

/* Hero Section */
.hero-section {
    padding: 3rem 2rem;
    background: var(--bg);
    position: relative;
    min-height: 600px;
    overflow: hidden;
}

.character-illustration-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    min-height: 600px;
    background-size: contain;
    background-position: center right;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
    border: none;
    outline: none;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: 600px;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text);
    margin: 0;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* Fallback placeholder if image is missing */
.character-illustration-container:empty::after {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--text-gray);
    font-size: 1.2rem;
    border-radius: 24px;
}

/* Responsive adjustments for hero section */
@media (max-width: 968px) {
    .hero-section {
        min-height: 500px;
    }
    
    .character-illustration-container {
        width: 50%;
        min-height: 500px;
        opacity: 0.5;
    }
    
    .hero-content {
        min-height: 500px;
    }
    
    .hero-text {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 400px;
    }
    
    .character-illustration-container {
        width: 100%;
        min-height: 400px;
        background-position: center center;
        opacity: 0.3;
    }
    
    .hero-content {
        min-height: 400px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 2rem 1rem;
        min-height: 350px;
    }
    
    .character-illustration-container {
        min-height: 350px;
    }
    
    .hero-content {
        min-height: 350px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: rgba(36, 150, 240, 0.1);
    border: 1px solid rgba(36, 150, 240, 0.3);
    border-radius: 50px;
    color: var(--blue);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.section-heading {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff, var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    padding: 6rem 2rem;
    background: var(--bg-light);
}

.about-section.compact {
    padding: 4rem 2rem;
}

.about-compact-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-intro {
    font-size: 1.2rem;
    color: var(--text-gray);
    line-height: 1.9;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-intro strong {
    color: var(--text);
    font-weight: 600;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.feature-compact {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(25, 25, 30, 0.7);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(36, 150, 240, 0.2);
    border-radius: 16px;
    text-align: left;
}

.feature-compact i {
    color: var(--green);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-compact span {
    color: var(--text-gray);
    line-height: 1.7;
}

.feature-compact strong {
    color: var(--text);
    font-weight: 600;
}

.about-cta { margin-top: 2rem; }

/* Quick Links */
.quick-links-section {
    padding: 6rem 2rem;
    background: var(--bg-lighter);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.quick-link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(30, 30, 35, 0.9);
    border-radius: 24px;
    border: 1px solid rgba(36, 150, 240, 0.2);
    text-decoration: none;
    color: var(--text);
    transition: 0.3s;
}

.quick-link-card:hover {
    transform: translateY(-10px);
    border-color: rgba(36, 150, 240, 0.5);
    box-shadow: 0 0 30px rgba(36, 150, 240, 0.5);
}

.quick-link-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(36, 150, 240, 0.2), rgba(36, 150, 240, 0.1));
    border: 1px solid rgba(36, 150, 240, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--blue);
    margin-bottom: 1.5rem;
}

.quick-link-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.quick-link-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Media Section */
.media-section {
    padding: 6rem 2rem;
    background: var(--bg-lighter);
}

.media-section.compact {
    padding: 4rem 2rem;
}

.media-compact {
    max-width: 1200px;
    margin: 0 auto;
}

.video-wrapper {
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 3rem;
}

.video-placeholder {
    aspect-ratio: 16/9;
    background: rgba(30, 30, 35, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(36, 150, 240, 0.2);
}

.play-button {
    width: 110px;
    height: 110px;
    background: rgba(36, 150, 240, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 30px rgba(36, 150, 240, 0.5);
}

.play-button i {
    font-size: 2.75rem;
    color: white;
    margin-left: 5px;
}

.video-placeholder p {
    color: var(--text-gray);
}

.screenshots-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.screenshot-placeholder {
    aspect-ratio: 16/9;
    background: rgba(30, 30, 35, 0.9);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(36, 150, 240, 0.2);
}

.screenshot-placeholder i {
    font-size: 2.5rem;
    color: var(--text-gray);
}

/* Community Section */
.community-section {
    padding: 6rem 2rem;
    background: var(--bg-light);
}

.community-section.compact {
    padding: 4rem 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(30, 30, 35, 0.9);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: var(--text);
    transition: 0.3s;
}

.social-link:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.social-link i {
    font-size: 1.5rem;
}

.social-link span { display: none; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.15rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue), #1a7bc4);
    color: white;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Footer */
.footer {
    padding: 3rem 2rem;
    background: var(--bg-light);
    border-top: 1px solid rgba(36, 150, 240, 0.1);
    position: relative;
    z-index: 1000;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-text {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact-item {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}

.footer-contact-item a {
    color: var(--blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item a:hover {
    color: var(--green);
    text-decoration: underline;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--blue);
}

/* About Video Section */
.about-video-section {
    padding: 2rem;
    background: var(--bg-light);
}

.video-card-large {
    max-width: 900px;
    margin: 0 auto;
}

.video-thumbnail {
    aspect-ratio: 16/9;
    background: rgba(30, 30, 35, 0.9);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.play-button-large {
    width: 80px;
    height: 80px;
    background: rgba(36, 150, 240, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.play-button-large i {
    font-size: 2rem;
    color: white;
    margin-left: 5px;
}

.video-overlay-text {
    position: absolute;
    bottom: 1rem;
    left: 1.5rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    z-index: 2;
}

/* Screenshots Grid Section */
.screenshots-grid-section {
    padding: 4rem 2rem;
    background: var(--bg-lighter);
}

@media (max-width: 768px) {
    .screenshots-grid-section {
        padding: 3rem 1rem;
    }
}

.section-title-large {
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text);
    line-height: 1.3;
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .section-title-large {
        margin-bottom: 1.5rem;
        font-size: clamp(1.25rem, 6vw, 2rem);
    }
}

.screenshots-grid-9 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .screenshots-grid-9 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .screenshots-grid-9 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.screenshot-grid-item {
    aspect-ratio: 16/9;
    background: rgba(30, 30, 35, 0.9);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
    overflow: hidden;
}

.screenshot-grid-item:hover {
    transform: scale(1.05);
    border-color: rgba(36, 150, 240, 0.5);
}

.screenshot-grid-item i {
    font-size: 3rem;
    color: var(--text-gray);
}

.screenshot-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    max-width: 100%;
    max-height: 100%;
}

/* How to Start Section */
.how-to-start-section {
    padding: 4rem 2rem;
    background: var(--bg-light);
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.step-card {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--purple), #7b2cbf);
    border-radius: 24px;
    text-align: center;
    position: relative;
}

.step-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.step-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.btn-step {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: white;
    color: var(--purple);
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: 0.3s;
}

.btn-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.step-connector {
    display: flex;
    align-items: center;
    min-width: 100px;
}

.dotted-line {
    width: 100%;
    height: 3px;
    border-top: 3px dashed rgba(255, 255, 255, 0.3);
}

.launcher-preview {
    margin-top: 2rem;
    width: 100%;
    height: 200px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.launcher-preview i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Car Selection Section */
.car-selection-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--purple), var(--blue));
    position: relative;
}

@media (max-width: 768px) {
    .car-selection-section {
        padding: 3rem 1rem;
    }
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.car-card {
    text-align: center;
    position: relative;
}

.car-image {
    width: 100%;
    aspect-ratio: 16/9;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    overflow: hidden;
}

.car-image i {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.7);
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.car-label {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Features Grid Section */
.features-grid-section {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, var(--bg) 0%, rgba(20, 20, 25, 0.98) 100%);
    position: relative;
    overflow: hidden;
}

.features-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
    padding: 0 1rem;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .features-section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 2rem;
    }
}

.features-grid-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(36, 150, 240, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.features-grid {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.features-left {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
}

@media (min-width: 769px) {
    .features-left {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-card {
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    position: relative;
    min-height: 180px;
    background: rgba(30, 30, 35, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), rgba(36, 150, 240, 0.5));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(36, 150, 240, 0.2);
    border-color: rgba(36, 150, 240, 0.3);
    background: rgba(35, 35, 40, 0.9);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-yellow {
    background: rgba(30, 30, 35, 0.8);
    color: #fff;
}

.feature-grey {
    background: rgba(30, 30, 35, 0.8);
    color: #fff;
}

.feature-content {
    flex: 1;
    text-align: left;
    z-index: 1;
}

.feature-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.feature-card p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    text-transform: none;
}

.feature-image {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-radius: 16px;
    background: rgba(36, 150, 240, 0.05);
    border: 1px solid rgba(36, 150, 240, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-image {
    background: rgba(36, 150, 240, 0.1);
    border-color: rgba(36, 150, 240, 0.3);
    transform: scale(1.05);
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    max-width: 100%;
    max-height: 100%;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-image img {
    transform: scale(1.1);
}

.feature-image-placeholder {
    font-size: 3.5rem;
    opacity: 0.3;
    color: var(--blue);
}

.feature-large {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 600px;
    background: rgba(30, 30, 35, 0.9);
}

.feature-large-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.feature-large-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-large-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    opacity: 0.3;
    color: white;
}

.feature-large-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    color: white;
    text-align: left;
}

.feature-large-overlay h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.feature-large-overlay p {
    font-size: 1.1rem;
    line-height: 1.5;
    opacity: 0.95;
    text-transform: uppercase;
}

/* Promo Banner Section */
.promo-banner-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--blue) 0%, #1a4a7a 50%, #0d2d4a 100%);
    position: relative;
    overflow: hidden;
}

.promo-banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.promo-banner-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.promo-banner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.promo-content {
    flex: 1;
    max-width: 600px;
}

.promo-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.promo-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    letter-spacing: -1px;
}

.promo-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.promo-content p strong {
    color: #ffd700;
    font-weight: 700;
}

.btn-promo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: white;
    color: var(--blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-promo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-promo:hover::before {
    left: 100%;
}

.btn-promo:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    background: #f0f0f0;
}

.btn-promo i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-promo:hover i {
    transform: translateX(5px);
}

.promo-character {
    flex-shrink: 0;
    width: 400px;
    height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-character img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.promo-character-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-character-placeholder i {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Social Cards Section */
.social-cards-section {
    padding: 4rem 2rem;
    background: var(--bg-light);
}

.social-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.social-card-wide {
    grid-column: span 2;
}

.social-card-full {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 3rem;
}

.social-card-full .social-logo {
    margin-bottom: 0;
}

.social-card-full .social-count {
    margin-bottom: 0.5rem;
}

.social-card-full p {
    margin-bottom: 0;
}

.btn-join-discord {
    padding: 1rem 2.5rem;
    background: white;
    color: #5865F2;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    white-space: nowrap;
}

.btn-join-discord:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 968px) {
    .social-card-wide {
        grid-column: span 1;
    }
    
    .social-card-full {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .social-card-full .social-logo {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .social-card-full .social-count {
        margin-bottom: 0.5rem;
    }
    
    .social-card-full p {
        margin-bottom: 1rem;
    }
}

.social-card {
    padding: 2rem;
    border-radius: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s, box-shadow 0.3s;
}

.social-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.social-youtube {
    background: #ff0000;
    color: white;
}

.social-discord {
    background: #5865F2;
    color: white;
}

.social-tiktok {
    background: #000;
    color: white;
}

.social-instagram {
    background: linear-gradient(135deg, #833AB4, #E1306C);
    color: white;
}

.social-twitch {
    background: #9146FF;
    color: white;
}

.social-twitter {
    background: #000;
    color: white;
}

.social-character {
    width: 150px;
    height: 150px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.social-character i {
    font-size: 4rem;
    opacity: 0.7;
}

.social-logo {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.social-logo-x {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.social-logo-x svg {
    width: 3rem;
    height: 3rem;
    color: currentColor;
}

.social-count {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.social-card p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.social-emoji {
    font-size: 2rem;
}

/* Play Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(26, 26, 26, 0.95) 100%);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal[style*="block"] {
    display: flex !important;
}

.modal-content {
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.95) 0%, rgba(25, 25, 30, 0.98) 100%);
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
    margin: auto;
    padding: 3rem;
    border: 1px solid rgba(36, 150, 240, 0.2);
    border-radius: 32px;
    width: 90%;
    max-width: 700px;
    position: relative;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 0 60px rgba(36, 150, 240, 0.1);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    color: var(--text-gray);
    font-size: 1.75rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    transform: rotate(90deg) scale(1.1);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(36, 150, 240, 0.3);
    color: var(--blue);
    box-shadow: 0 4px 12px rgba(36, 150, 240, 0.2);
}

.modal-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    margin-top: 0;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
    letter-spacing: -0.5px;
}

.tutorial-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    overflow-y: auto;
    flex: 1;
    padding-right: 0.5rem;
}

.tutorial-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tutorial-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.tutorial-step:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(36, 150, 240, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.tutorial-step:hover::before {
    opacity: 1;
}

.step-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--blue) 0%, #1a7bc4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    box-shadow: 
        0 4px 16px rgba(36, 150, 240, 0.4),
        0 0 0 4px rgba(36, 150, 240, 0.1);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tutorial-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 
        0 6px 20px rgba(36, 150, 240, 0.5),
        0 0 0 4px rgba(36, 150, 240, 0.15);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
    letter-spacing: -0.3px;
}

.step-content p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--blue) 0%, #1a7bc4 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: auto;
    min-width: 200px;
    box-shadow: 
        0 4px 16px rgba(36, 150, 240, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
    overflow: hidden;
}

.btn-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-download:hover::before {
    left: 100%;
}

.btn-download:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 12px 40px rgba(36, 150, 240, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    background: linear-gradient(135deg, #2ba5f5 0%, #1e8dd4 100%);
}

.server-address {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(36, 150, 240, 0.15) 0%, rgba(36, 150, 240, 0.08) 100%);
    border: 1px solid rgba(36, 150, 240, 0.3);
    border-radius: 16px;
    flex-wrap: wrap;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(36, 150, 240, 0.1) inset;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.server-address:hover {
    border-color: rgba(36, 150, 240, 0.5);
    box-shadow: 
        0 6px 20px rgba(36, 150, 240, 0.3),
        0 0 0 1px rgba(36, 150, 240, 0.2) inset;
}

.server-address code {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    color: var(--text);
    background: transparent;
}

.btn-copy {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--blue) 0%, #1a7bc4 100%);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(36, 150, 240, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-copy::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-copy:hover::before {
    left: 100%;
}

.btn-copy:hover {
    background: linear-gradient(135deg, #2ba5f5 0%, #1e8dd4 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(36, 150, 240, 0.4);
}

/* Modal Scrollable Content */
.modal-scrollable {
    max-height: 96vh;
    overflow-y: auto;
    max-width: 900px;
    margin: 1vh auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-color: var(--bg-light);
    padding: 3rem;
    border: 1px solid rgba(36, 150, 240, 0.3);
    border-radius: 24px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.modal-scrollable .modal-body {
    padding: 1rem 0;
    overflow-y: auto;
    flex: 1;
    overflow-x: hidden;
}

.modal-scrollable h3 {
    color: var(--blue);
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.modal-scrollable h3:first-of-type {
    margin-top: 1rem;
}

.modal-scrollable p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.modal-scrollable ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
}

.modal-scrollable li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.modal-scrollable strong {
    color: var(--text);
    font-weight: 600;
}

.modal-scrollable a {
    color: var(--blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.modal-scrollable a:hover {
    color: var(--green);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    body { 
        padding-top: 70px;
    }
    
    .modal {
        padding: 0.5rem;
        align-items: flex-end;
        padding-top: 0;
        padding-bottom: 0;
    }
    
    .modal-content {
        padding: 1.5rem 1.25rem;
        margin: 0;
        width: 100%;
        max-width: 100%;
        max-height: 100vh;
        border-radius: 24px 24px 0 0;
        border-left: none;
        border-right: none;
        border-top: none;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
        animation: slideUpMobile 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    @keyframes slideUpMobile {
        from {
            transform: translateY(100%);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    .modal-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        background: rgba(255, 255, 255, 0.1);
    }
    
    .modal-content h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 1.5rem;
        margin-top: 0.5rem;
        padding-right: 3rem;
        line-height: 1.2;
    }
    
    .tutorial-steps {
        gap: 1.25rem;
        padding-right: 0;
    }
    
    .tutorial-step {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        text-align: center;
        padding: 1.25rem 1rem;
        border-radius: 16px;
    }
    
    .tutorial-step::before {
        display: none;
    }
    
    .tutorial-step:hover {
        transform: none;
    }
    
    .step-number {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .tutorial-step:hover .step-number {
        transform: none;
    }
    
    .step-content {
        width: 100%;
        text-align: center;
    }
    
    .step-content h3 {
        font-size: clamp(1.1rem, 4.5vw, 1.4rem);
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }
    
    .step-content p {
        font-size: clamp(0.9rem, 3.5vw, 1rem);
        margin-bottom: 1.25rem;
        line-height: 1.6;
    }
    
    .btn-download {
        width: 100%;
        min-width: auto;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        border-radius: 16px;
    }
    
    .server-address {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding: 1rem;
        border-radius: 16px;
    }
    
    .server-address code {
        font-size: clamp(0.85rem, 3.5vw, 1rem);
        text-align: center;
        word-break: break-all;
        padding: 0.75rem;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 8px;
        font-family: 'Courier New', monospace;
    }
    
    .btn-copy {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1rem;
        font-size: 1rem;
        border-radius: 12px;
    }
    
    .modal-scrollable {
        margin: 0 auto;
        max-height: 95vh;
        width: 100%;
        max-width: 100%;
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .modal-scrollable h3 {
        font-size: 1.1rem;
        margin-top: 1.5rem;
    }
    
    .modal-scrollable p,
    .modal-scrollable li {
        font-size: 0.9rem;
    }
    
}

@media (max-width: 480px) {
    .modal {
        padding: 0;
    }
    
    .modal-content {
        padding: 1.25rem 1rem;
        border-radius: 20px 20px 0 0;
    }
    
    .modal-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
        padding-right: 2.5rem;
    }
    
    .tutorial-step {
        padding: 1rem 0.75rem;
    }
    
    .step-number {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
    
    .btn-download {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .server-address {
        padding: 0.875rem;
    }
    
    .server-address code {
        font-size: 0.85rem;
        padding: 0.625rem;
    }
    
    .btn-copy {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .hero-section { padding-top: 3rem; }
    .character-illustration-placeholder { height: 500px; }
    .about-features-grid,
    .quick-links-grid { grid-template-columns: 1fr; }
    .footer-content { 
        flex-direction: column; 
        text-align: center; 
        gap: 2rem;
    }
    
    .footer-contact {
        align-items: center;
    }
    
    .screenshots-grid-9 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .step-connector {
        min-width: auto;
        min-height: 50px;
    }
    
    .dotted-line {
        width: 3px;
        height: 100%;
        border-top: none;
        border-left: 3px dashed rgba(255, 255, 255, 0.3);
    }
    
    .cars-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid-section {
        padding: 4rem 1.5rem;
    }
    
    .features-left {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .feature-content {
        text-align: center;
    }
    
    .feature-card h3 {
        font-size: clamp(1.25rem, 4vw, 1.5rem);
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }
    
    .feature-card p {
        font-size: clamp(0.85rem, 2.5vw, 0.9rem);
        line-height: 1.6;
    }
    
    .feature-image {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
    
    .promo-banner-section {
        padding: 4rem 1.5rem;
    }
    
    .promo-banner {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    
    .promo-content {
        max-width: 100%;
    }
    
    .promo-character {
        width: 100%;
        max-width: 280px;
        height: 320px;
        margin: 0 auto;
    }
    
    .promo-content h2 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
    
    .promo-content p {
        font-size: clamp(0.95rem, 3vw, 1.1rem);
    }
    
    .btn-promo {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .social-cards-grid {
        grid-template-columns: 1fr;
    }
}
