/* ===== DOPMINER.COM - Premium Gaming Hosting Styles ===== */
/* Root Variables & Base Styles */
:root {
    --primary: #3b82f6;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --secondary: #2563eb;
    --accent: #3b82f6;
    --bg-dark: #0a0e17;
    --bg-darker: #060911;
    --bg-card: rgba(15, 23, 42, 0.8);
    --bg-card-hover: rgba(20, 30, 50, 0.9);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: rgba(59, 130, 246, 0.25);
    --glow-primary: 0 0 20px rgba(59, 130, 246, 0.5);
    --glow-secondary: 0 0 30px rgba(37, 99, 235, 0.4);
    --gradient-primary: linear-gradient(135deg, #60a5fa 0%, #1d4ed8 100%);
    --gradient-dark: linear-gradient(180deg, #0a0e17 0%, #060911 100%);
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --font-accent: 'Poppins', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

html,
body {
    max-width: 100%;
    width: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Hide scrollbars globally but allow scrolling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.5);
}

/* Prevent scrollbars inside sections */
section::-webkit-scrollbar,
.feature-card::-webkit-scrollbar,
.pricing-card::-webkit-scrollbar,
.server-location-card::-webkit-scrollbar {
    display: none;
}

/* Firefox scrollbar hiding and overflow control for cards */
.pricing-card,
.server-location-card,
.game-card,
.network-feature,
.contact-method {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
    overflow: hidden;
}

/* Allow overflow for specific cards to prevent clipping of hover effects */
section,
.feature-card,
.testimonial-card {
    overflow: visible;
}

/* Prevent any grid/flex containers from causing scroll */
.pricing-grid,
.games-track,
.server-locations-grid,
.network-features {
    overflow: hidden;
}

/* Allow overflow for feature and testimonial grids to support hover effects */
.features-grid,
.testimonials-slider {
    overflow: visible;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Soft page enter when preloader is skipped (same session) */
@keyframes dopminer-soft-page-in {
    from {
        opacity: 0.86;
    }

    to {
        opacity: 1;
    }
}

html.dopminer-soft-page body {
    animation: dopminer-soft-page-in 0.38s ease-out;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-inner {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-bottom: 30px;
}

.loader-line-wrap {
    width: 8px;
    height: 60px;
    overflow: hidden;
}

.loader-line {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    animation: loader-line 1.2s infinite ease-in-out;
}

.loader-line-wrap:nth-child(2) .loader-line {
    animation-delay: 0.1s;
}

.loader-line-wrap:nth-child(3) .loader-line {
    animation-delay: 0.2s;
}

@keyframes loader-line {

    0%,
    100% {
        transform: scaleY(0.3);
    }

    50% {
        transform: scaleY(1);
    }
}

.loader-text span {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loading-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 20px;
    overflow: hidden;
}

.loading-bar {
    width: 0%;
    height: 100%;
    background: var(--gradient-primary);
    animation: loading 2s forwards;
}

@keyframes loading {
    to {
        width: 100%;
    }
}

/* Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
    transition: opacity 0.3s;
}

/* Particles */
#particles-js {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 14, 23, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--bg-dark);
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
    transition: var(--transition);
}

.nav-logo:hover .logo-img {
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.8));
    transform: scale(1.05);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-dot {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.2;
    border-radius: var(--radius-md);
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
}

.nav-link i {
    font-size: 0.88rem;
    flex-shrink: 0;
    line-height: 1;
}

/* Navbar: dropdown & actions tidak menyusut agar label satu baris */
.nav-menu > .nav-dropdown {
    flex-shrink: 0;
}

.nav-menu .lang-dropdown {
    flex-shrink: 0;
    margin-inline-end: 12px;
}

.nav-menu .btn-small {
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 1180px) and (min-width: 993px) {
    .nav-link {
        padding: 8px 8px;
        font-size: 0.85rem;
        gap: 6px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .lang-toggle {
        padding: 6px 9px !important;
    }

    .lang-name-display {
        font-size: 0.8rem;
    }
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
    padding-bottom: 10px; /* Area aman agar tidak putus saat hover ke bawah */
    margin-bottom: -10px; /* Kompensasi padding agar layout tidak bergeser */
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 0.7rem !important;
    margin-left: 4px;
    transition: var(--transition);
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    min-width: 280px;
    background: rgb(15, 23, 42);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    margin-top: 10px; /* Tambahkan margin-top untuk jarak */
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Grid Dropdown Layout */
.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    min-width: 420px;
    padding: 16px;
}

.dropdown-item-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    padding: 16px 10px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    text-align: center;
}

.dropdown-item-grid:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-3px);
}

.dropdown-icon-grid {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: var(--transition);
    margin-bottom: 4px;
}

.dropdown-item-grid:hover .dropdown-icon-grid {
    transform: scale(1.15);
}

.dropdown-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.dropdown-item-grid:hover .dropdown-title {
    color: var(--primary);
}

.dropdown-desc {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.2;
}

.dropdown-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}

.dropdown-item-grid:hover .dropdown-label {
    color: var(--primary);
}

.coming-soon-grid {
    opacity: 0.5;
    pointer-events: none;
}

.soon-tag {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(59, 130, 246, 0.3);
    color: var(--primary);
    font-size: 0.55rem;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Mega Dropdown - Horizontal Layout */
.dropdown-mega {
    min-width: 860px;
    padding: 16px 20px;
}

.dropdown-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}

.dropdown-row-4 {
    grid-template-columns: repeat(4, 1fr);
}

.dropdown-row:last-child {
    margin-bottom: 0;
}

.dropdown-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
}

.dropdown-card:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.dropdown-card-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
    transition: var(--transition);
}

.dropdown-card:hover .dropdown-card-icon {
    transform: scale(1.1);
}

.dropdown-card-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.dropdown-card:hover .dropdown-card-title {
    color: var(--primary);
}

.dropdown-card-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.coming-soon-card {
    opacity: 0.5;
    pointer-events: none;
}

.soon-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(59, 130, 246, 0.3);
    color: var(--primary);
    font-size: 0.55rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Old dropdown styles (keep for compatibility) */
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    position: relative;
}

.dropdown-item:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateX(5px);
}

.dropdown-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.dropdown-item-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown-item-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.dropdown-item-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.coming-soon-item {
    opacity: 0.6;
    pointer-events: none;
}

.coming-soon-badge {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(59, 130, 246, 0.2);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.nav-actions {
    display: flex;
    gap: 12px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-accent);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-primary);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: rgba(59, 130, 246, 0.1);
    box-shadow: var(--glow-primary);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    filter: blur(15px);
    transition: var(--transition);
}

.btn-glow:hover::before {
    opacity: 0.6;
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    to {
        left: 100%;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 0 80px;
    overflow-x: clip;
    /* Clip horizontal overflow but allow visible elements */
    overflow-y: visible;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(29, 78, 216, 0.15) 0%, transparent 50%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    to {
        background-position: 50px 50px;
    }
}

.floating-shapes .shape {
    position: absolute;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.3));
}

.shape-1 {
    width: 120px;
    height: 120px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
    --rotate: -15deg;
}

.shape-2 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 5%;
    animation-delay: 1s;
    --rotate: 20deg;
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 40%;
    left: 20%;
    animation-delay: 2s;
    --rotate: -25deg;
}

.shape-4 {
    width: 50px;
    height: 50px;
    bottom: 30%;
    right: 20%;
    animation-delay: 3s;
    --rotate: 10deg;
}

.shape-5 {
    width: 40px;
    height: 40px;
    top: 20%;
    left: 40%;
    animation-delay: 4s;
    --rotate: -8deg;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(var(--rotate, 0deg));
    }

    50% {
        transform: translateY(-20px) rotate(calc(var(--rotate, 0deg) + 10deg));
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 580px;
    padding: 0 20px;
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    font-family: var(--font-accent);
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.badge-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.2), transparent);
    animation: badgeGlow 3s infinite;
}

@keyframes badgeGlow {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.title-line {
    display: block;
    color: var(--text-primary);
}

.title-gradient {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glitch {
    position: relative;
    animation: glitch 5s infinite;
}

@keyframes glitch {

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

    92% {
        transform: translate(-2px, 2px);
    }

    94% {
        transform: translate(2px, -2px);
    }

    96% {
        transform: translate(-2px, -2px);
    }

    98% {
        transform: translate(2px, 2px);
    }
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-description strong {
    color: var(--primary);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-item .stat-row {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: inline;
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    display: inline;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border-color);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-trust>span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.trust-logos {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.trust-item i {
    color: var(--primary);
}

.hero-visual {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    overflow: visible;
}

/* Server Card */
.server-card {
    width: 380px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    backdrop-filter: blur(20px);
    position: relative;
    animation: cardFloat 4s ease-in-out infinite;
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.server-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.server-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.server-status.online {
    color: #22c55e;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: currentColor;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.server-name {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
}

.server-metric {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.server-metric i {
    color: var(--primary);
    font-size: 1.2rem;
    width: 25px;
}

.metric-info {
    flex: 1;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.metric-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.metric-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    width: 0%;
    transition: width 1.5s ease;
}

.metric-value {
    font-size: 0.8rem;
    color: var(--primary);
    margin-top: 5px;
}

.server-card-footer {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.server-card-footer i {
    color: var(--primary);
    margin-right: 5px;
}

.card-glow {
    position: absolute;
    inset: -1px;
    background: var(--gradient-primary);
    border-radius: inherit;
    z-index: -1;
    opacity: 0.3;
    filter: blur(20px);
}

/* Floating Icons */
.floating-icons {
    position: absolute;
    inset: -50px;
    pointer-events: none;
}

.float-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    animation: iconFloat 5s ease-in-out infinite;
}

.icon-1 {
    top: -30px;
    left: 20%;
    animation-delay: 0s;
}

.icon-2 {
    top: 30%;
    right: -30px;
    animation-delay: 1s;
}

.icon-3 {
    bottom: 20%;
    left: -30px;
    animation-delay: 2s;
}

.icon-4 {
    bottom: -20px;
    right: 30%;
    animation-delay: 3s;
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.85rem;
    animation: bounce 2s infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 13px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

@keyframes bounce {

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

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* Sections Common */
section {
    position: relative;
    padding: 100px 0;
    /* overflow: hidden; Removed to allow hover effects to be visible */
    /* Prevent any scrollbars within sections */
}

/* Ensure background covers full width/height */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    min-height: 100vh; /* Use min-height instead of fixed height */
}

/* Fix Hero Background to be fixed but behind content */
.hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -999; /* Ensure it is way behind everything */
    pointer-events: none; /* Let clicks pass through */
}

/* Main Content Wrapper - Important for scrolling */
/* If you don't have a main wrapper, body scroll is used */
/* Ensure sections have a higher z-index than background */
section {
    position: relative;
    padding: 100px 0;
    z-index: 1; /* Bring content above fixed background */
}

.section-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    color: var(--primary);
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    background: var(--bg-darker);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    /* overflow: hidden; Removed to prevent clipping of hover effects */
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

.feature-card.featured {
    background: linear-gradient(135deg, rgba(102, 229, 255, 0.1) 0%, rgba(29, 78, 216, 0.1) 100%);
    border-color: var(--primary);
}

.feature-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    background: var(--gradient-primary);
    color: var(--bg-dark);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-xl);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
}

.icon-glow {
    position: absolute;
    inset: 0;
    background: var(--primary);
    border-radius: inherit;
    opacity: 0;
    filter: blur(20px);
    transition: var(--transition);
}

.feature-card:hover .icon-glow {
    opacity: 0.3;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.feature-description {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.feature-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
}

/* Games Section */
.games {
    background: var(--bg-dark);
    overflow: hidden;
}

.games-carousel {
    position: relative;
    z-index: 1;
}

.games-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.game-card {
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(15, 23, 42, 0.95) 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.game-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 25px 50px rgba(59, 130, 246, 0.25), 0 0 30px rgba(59, 130, 246, 0.15);
}

/* Coming Soon Card */
.game-card.coming-soon {
    cursor: not-allowed;
    position: relative;
}

.game-card.coming-soon::before {
    content: 'COMING SOON';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 23, 0.85);
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    backdrop-filter: blur(3px);
    border-radius: var(--radius-lg);
}

.game-card.coming-soon:hover {
    transform: none;
    border-color: var(--border-color);
    box-shadow: none;
}

.game-card.coming-soon:hover::before {
    background: rgba(10, 14, 23, 0.80);
}

.game-card.coming-soon .game-image img {
    filter: grayscale(50%) blur(1px);
}

.coming-soon-badge {
    display: none;
    /* Hide the badge since we have overlay now */
}

.coming-soon-text {
    color: var(--text-muted) !important;
}

.game-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.game-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, var(--bg-card) 0%, transparent 100%);
    pointer-events: none;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-info {
    padding: 20px 24px 24px;
    position: relative;
}

.game-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin-bottom: 6px;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.game-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 18px;
    opacity: 0.85;
}

.game-price {
    margin-bottom: 16px;
}

.price-from {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.price-value {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
}

.price-value span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
}

.game-features {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.game-features span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.game-features i {
    color: var(--primary);
    margin-right: 5px;
    font-size: 0.75rem;
}

/* Pricing Section */
.pricing {
    background: var(--bg-darker);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.toggle-label {
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
}

.toggle-label.active {
    color: var(--primary);
}

.toggle-switch {
    position: relative;
}

.toggle-switch input {
    display: none;
}

.toggle-switch label {
    display: block;
    width: 60px;
    height: 30px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.toggle-switch label::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    background: var(--primary);
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: var(--transition);
}

.toggle-switch input:checked+label::after {
    left: 32px;
}

.toggle-discount {
    padding: 4px 10px;
    background: rgba(0, 255, 136, 0.1);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-xl);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 1;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.08);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--gradient-primary);
    color: var(--bg-dark);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--radius-xl);
}

.pricing-header {
    text-align: center;
    margin-bottom: 24px;
}

.pricing-icon {
    width: 70px;
    height: 70px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin: 0 auto 16px;
}

.pricing-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.pricing-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pricing-price {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.price-currency {
    font-size: 1.2rem;
    color: var(--text-muted);
    vertical-align: super;
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary);
}

.price-period {
    color: var(--text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: 24px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text-secondary);
}

.pricing-features li i {
    color: var(--accent);
}

.pricing-features li.disabled {
    opacity: 0.5;
}

.pricing-features li.disabled i {
    color: var(--text-muted);
}

/* Locations Section */
.locations {
    background: var(--bg-dark);
}

/* Server Location Cards */
.server-locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.server-location-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    position: relative;
    transition: var(--transition);
}

.server-location-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.server-location-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(29, 78, 216, 0.05) 100%);
}

.server-location-card .card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--gradient-primary);
    color: var(--bg-dark);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--radius-xl);
}

.location-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.location-flag {
    font-size: 2.5rem;
}

.location-flag-img {
    width: 48px;
    height: 36px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.location-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.location-status.online {
    color: #22c55e;
}

.location-status .status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.location-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.location-datacenter {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.location-stats {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.location-stats .stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.location-stats .stat-icon {
    width: 45px;
    height: 45px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.location-stats .stat-info {
    display: flex;
    flex-direction: column;
}

.location-stats .stat-value {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 700;
}

.location-stats .stat-label {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.server-location-card .location-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.server-location-card .location-features span {
    padding: 8px 14px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.server-location-card .location-features span i {
    color: var(--primary);
}

/* Network Features */
.network-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.network-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.network-feature:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

.network-icon {
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
}

.network-info h4 {
    font-family: var(--font-heading);
    margin-bottom: 5px;
}

.network-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials {
    background: var(--bg-darker);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.testimonial-rating {
    margin-bottom: 16px;
}

.testimonial-rating i {
    color: #ffc107;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
}

.author-info strong {
    display: block;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* CTA Section */
.cta {
    background: var(--bg-dark);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact Section */
.contact {
    background: var(--bg-darker);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-description {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition);
}

.contact-method:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
}

.method-info strong {
    display: block;
    color: var(--text-primary);
}

.method-info span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Discord CTA Section */
.contact-wrapper {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.discord-cta {
    margin: 40px 0;
}

.discord-card {
    background: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.discord-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.discord-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin: 0 auto 20px;
}

.discord-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.discord-info>p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.discord-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    text-align: left;
    margin-bottom: 30px;
}

.discord-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.discord-features li i {
    color: var(--primary);
    font-size: 0.9rem;
}

.discord-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
}

.contact-alternatives {
    margin-top: 40px;
}

.contact-alternatives>p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.contact-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.contact-link i {
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    padding: 80px 0 30px;
    position: relative;
}

.footer-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 2px;
    background: var(--gradient-primary);
    filter: blur(1px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
}

.footer-logo .logo-img {
    width: 40px;
    height: 40px;
}

.footer-logo span {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-description {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-dark);
}

.footer-links h4 {
    font-family: var(--font-heading);
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-payment {
    display: flex;
    align-items: center;
    gap: 15px;
}

.payment-icons {
    display: flex;
    gap: 10px;
}

.payment-icons i {
    font-size: 1.5rem;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--bg-dark);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-primary);
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    /* Hide hero-visual on mobile */
    .hero-visual {
        display: none;
    }

    /* Hide floating shapes on mobile */
    .floating-shapes,
    .floating-icons {
        display: none;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
        flex-direction: column;
        padding: 100px 24px 40px;
        gap: 8px;
        display: flex;
        overflow-y: auto;
        z-index: 998;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        border-left: 1px solid var(--border-color);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu::before {
        content: 'Menu';
        position: absolute;
        top: 30px;
        left: 24px;
        font-size: 0.8rem;
        font-weight: 600;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    .nav-menu .nav-link {
        padding: 14px 16px;
        font-size: 1rem;
        border-radius: var(--radius-md);
        width: 100%;
        justify-content: flex-start;
        white-space: normal;
        flex-shrink: 1;
    }

    .nav-menu .nav-link:hover {
        background: rgba(59, 130, 246, 0.1);
    }

    .nav-menu .nav-link i {
        width: 24px;
        font-size: 1rem;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
        position: relative;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(10px);
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .nav-actions {
        display: none;
    }

    /* Mobile Menu Overlay */
    body.menu-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 997;
        backdrop-filter: blur(4px);
    }

    .nav-dropdown {
        width: 100%;
    }

    /* Rotate arrow when dropdown is active */
    .nav-dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    /* Highlight active dropdown toggle */
    .nav-dropdown.active>.nav-link {
        color: var(--primary);
        background: rgba(59, 130, 246, 0.1);
    }

    .nav-dropdown .nav-link {
        width: 100%;
        justify-content: flex-start;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        width: 100%;
        opacity: 1;
        visibility: visible;
        margin-top: 10px;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        border: none;
        background: rgba(255, 255, 255, 0.05);
        transition: max-height 0.3s ease, padding 0.3s ease;
        margin-left: 0;
        left: 0;
        border-radius: var(--radius-md);
    }

    /* Only use .active class for mobile dropdown, not :hover */
    .nav-dropdown.active .dropdown-menu {
        max-height: 800px;
        padding: 12px;
        overflow-y: auto;
    }

    .dropdown-grid {
        grid-template-columns: repeat(3, 1fr);
        min-width: auto;
        padding: 10px;
        gap: 8px;
    }

    .dropdown-item-grid {
        padding: 10px 6px;
        gap: 4px;
    }

    .dropdown-icon-grid {
        width: 32px;
        height: 32px;
        margin-bottom: 2px;
    }

    .dropdown-title {
        font-size: 0.7rem;
    }

    .dropdown-desc {
        font-size: 0.6rem;
    }

    .dropdown-label {
        font-size: 0.65rem;
    }

    .dropdown-item {
        padding: 10px 12px;
    }

    .dropdown-icon {
        width: 35px;
        height: 35px;
    }

    /* Mega Dropdown Mobile */
    .dropdown-mega {
        min-width: 100% !important;
        width: 100% !important;
        padding: 8px;
        margin: 0;
        left: 0;
        right: 0;
        box-sizing: border-box;
    }

    .dropdown-row {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 8px;
        width: 100%;
    }

    .dropdown-row-4 {
        grid-template-columns: 1fr;
    }

    .dropdown-card {
        padding: 14px 12px;
        gap: 12px;
        display: flex;
        align-items: center;
        width: 100%;
        background: rgba(255, 255, 255, 0.05);
        border-radius: var(--radius-md);
        box-sizing: border-box;
    }

    .dropdown-card-icon {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }

    /* Fix dropdown card info visibility on mobile */
    .dropdown-card-info {
        display: flex !important;
        flex-direction: column;
        gap: 2px;
        flex: 1;
        min-width: 0;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .dropdown-card-title {
        color: #ffffff !important;
        font-weight: 600;
        font-size: 0.95rem;
        white-space: normal;
        display: block !important;
        visibility: visible !important;
    }

    .dropdown-card-desc {
        color: #94a3b8 !important;
        font-size: 0.8rem;
        white-space: normal;
        display: block !important;
        visibility: visible !important;
    }

    .dropdown-card-icon {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
        opacity: 1 !important;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 15px;
        justify-content: center;
    }

    .stat-item {
        min-width: 80px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-suffix {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .stat-divider {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .hero-trust {
        flex-direction: column;
        gap: 10px;
    }

    .trust-logos {
        flex-direction: column;
        gap: 8px;
    }

    /* Fix hero content being cut off on mobile */
    .hero-content {
        padding: 0 15px;
        max-width: 100%;
        width: 100%;
    }

    .hero-description {
        font-size: 0.95rem;
        padding: 0 5px;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-stats {
        gap: 12px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-suffix {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .nav-menu {
        width: 100%;
        max-width: 100%;
    }

    /* Additional mobile fixes */
    .hero-content {
        padding: 0 10px;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .container {
        padding: 0 12px;
    }

    section {
        padding: 60px 0;
    }

    .hero {
        padding: 100px 0 60px;
    }
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px !important;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-md);
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: var(--transition);
}

.lang-toggle:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
}

.lang-flag-display,
.lang-flag-img {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.lang-name-display {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

.lang-menu {
    min-width: 200px !important;
    padding: 8px !important;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    position: relative;
}

.lang-option:hover {
    background: rgba(59, 130, 246, 0.15);
}

.lang-option.active {
    background: rgba(59, 130, 246, 0.2);
}

.lang-option .lang-flag-img {
    width: 28px;
    height: 21px;
}

.lang-option .lang-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.lang-option .lang-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.lang-option .lang-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.lang-option .lang-check {
    color: var(--primary);
    opacity: 0;
    transition: var(--transition);
    font-size: 0.85rem;
}

.lang-option.active .lang-check {
    opacity: 1;
}

.lang-option:hover .lang-title {
    color: var(--primary);
}

/* Language dropdown responsive */
@media (max-width: 992px) {
    .lang-dropdown {
        width: 100%;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid rgba(59, 130, 246, 0.15);
    }

    .lang-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 14px 16px !important;
        background: rgba(59, 130, 246, 0.1);
    }

    .lang-menu {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: hidden !important;
        max-height: 0;
        overflow: hidden;
        margin-top: 0;
        padding: 0 !important;
        border: none;
        background: transparent;
        box-shadow: none;
        transition: max-height 0.3s ease, padding 0.3s ease, margin-top 0.3s ease;
    }

    .lang-dropdown.active .lang-menu {
        visibility: visible !important;
        max-height: 200px;
        padding: 8px !important;
        margin-top: 8px;
    }

    .lang-option {
        background: rgba(15, 23, 42, 0.6);
        margin-bottom: 4px;
    }

    .lang-option:last-child {
        margin-bottom: 0;
    }

    .lang-dropdown .dropdown-arrow {
        transition: var(--transition);
    }

    .lang-dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }
}

/* Hide language name on very small screens */
@media (max-width: 380px) {
    .lang-name-display {
        display: none;
    }

    .lang-toggle {
        padding: 8px 10px !important;
    }
}

body>.skiptranslate,
.skiptranslate,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame,
div#goog-gt-,
.skiptranslate.goog-te-gadget,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-xl07Ob-OEVmcd,
.VIpgJd-ZVi9od-SmfZ-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-aZ2wEe-OiiCO,
iframe.skiptranslate,
iframe.goog-te-banner-frame {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    opacity: 0 !important;
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
    pointer-events: none !important;
}

body {
    top: 0 !important;
    position: static !important;
    margin-top: 0 !important;
}

html.translated-ltr,
html.translated-rtl {
    margin-top: 0 !important;
}

html.translated-ltr body,
html.translated-rtl body {
    margin-top: 0 !important;
    top: 0 !important;
}

.goog-te-gadget,
#google_translate_element {
    display: none !important;
    visibility: hidden !important;
}

font[style],
span.notranslate,
.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* ===== ORDER MODAL STYLES ===== */
.order-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.order-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.order-modal {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(10, 14, 23, 0.98));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    max-width: 650px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(59, 130, 246, 0.1),
        0 0 100px rgba(59, 130, 246, 0.1);
}

.order-modal-overlay.active .order-modal {
    transform: scale(1) translateY(0);
}

.order-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
    z-index: 1;
}

.order-modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
    color: #ef4444;
    transform: rotate(90deg);
}

.order-modal-header {
    text-align: center;
    padding: 32px 32px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.order-modal-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--bg-dark);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.order-modal-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.order-modal-content {
    padding: 24px 32px;
}

.order-modal-intro {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.order-modal-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.order-modal-feature {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.order-modal-feature:hover {
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateX(5px);
}

.feature-icon-box {
    width: 42px;
    height: 42px;
    background: rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
    font-size: 1.1rem;
}

.order-modal-feature:hover .feature-icon-box {
    background: rgba(59, 130, 246, 0.25);
}

.feature-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.feature-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.order-modal-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
    padding: 14px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-md);
}

.order-modal-info i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 2px;
}

.order-modal-info span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.order-modal-footer {
    padding: 20px 32px 32px;
    text-align: center;
}

.order-discord-btn {
    width: 100%;
    justify-content: center;
    padding: 18px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-discord-btn i {
    font-size: 1.3rem;
}

/* Order Now Button Animation */
.btn-order-now {
    position: relative;
    overflow: hidden;
}

.btn-order-now::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-order-now:active::after {
    width: 300px;
    height: 300px;
}

/* Mobile Responsive for Modal */
@media (max-width: 576px) {
    .order-modal {
        max-height: 95vh;
        border-radius: var(--radius-lg);
    }

    .order-modal-header {
        padding: 24px 20px 16px;
    }

    .order-modal-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .order-modal-title {
        font-size: 1.3rem;
    }

    .order-modal-content {
        padding: 20px;
    }

    .order-modal-features {
        grid-template-columns: 1fr;
    }

    .order-modal-feature {
        padding: 12px;
    }

    .feature-icon-box {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .feature-content h4 {
        font-size: 0.9rem;
    }

    .feature-content p {
        font-size: 0.8rem;
    }

    .order-modal-footer {
        padding: 16px 20px 24px;
    }

    .order-discord-btn {
        padding: 16px 24px;
        font-size: 1rem;
    }
}