/* ================================================================== */
/*                  PartnerHost Public CSS File                       */
/* ================================================================== */

/* --- Google Fonts Import (Moved to HTML for better performance) --- */
/* @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap'); */

/* --- Root Variables --- */
:root {
    --primary-color: #9b5de5;
    --secondary-color: #7b3fe4;
    --accent-color: #c96fff;
    --text-color: #ffffff;
    --text-color-darker: #d1cbe8;
    --bg-color: #0e0e10;
    --card-bg: rgba(32, 18, 53, 0.5);
    --card-bg-solid: #1c1230;
    --border-color: rgba(255, 255, 255, 0.08);
    --navbar-bg: rgba(14, 14, 16, 0.7);
    --success-color: #58e1c1;
    --glow-color: rgba(155, 93, 229, 0.5);
    --danger-color: #ef4444;
}

/* --- Base & Global Styles --- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    padding-top: 130px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color); /* Fallback color remains */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative; /* Required for z-index on pseudo-element */
}

/* ADDED: New pseudo-element for the blurred background */
body::before {
    content: '';
    position: fixed; /* Stays in place during scroll */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('/img/logo12.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(2px); /* The blur effect */
    z-index: -1;      /* Places it behind all body content */
    transform: scale(1.05); /* Scales up slightly to prevent hard blurred edges */
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
    width: 100%;
}


h1,
h2,
h3,
p,
a,
label {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.payment-methods-bar {
    background: linear-gradient(135deg, rgba(28, 18, 48, 0.8) 0%, rgba(35, 25, 55, 0.9) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 2rem;
    margin: 3rem auto 2rem;
    max-width: 1200px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.payment-methods-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.payment-method-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(79, 70, 229, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 80px;
    height: 56px;
    overflow: hidden;
}

.payment-method-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: brightness(0.9);
}

.payment-method-item:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(79, 70, 229, 0.2) 100%);
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.payment-method-item:hover img {
    transform: scale(1.1);
    filter: brightness(1);
}

.section-title,
.page-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInDown 0.4s ease-out;
    background: transparent;
}

.section-title h2,
.page-header h1,
.page-header .page-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

.section-title p,
.page-header p,
.page-header .page-subtitle {
    font-size: 1.2rem;
    color: var(--text-color-darker);
    max-width: 700px;
    margin: 0 auto;
}


/* --- Navbar --- */
.navbar {
    background-color: rgba(28, 18, 48, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease, top 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background-color: rgba(28, 18, 48, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.2s ease;
    flex-shrink: 0;
    z-index: 1001; /* Ensure logo is above mobile nav */
    margin-right: 3rem;
}

.logo img {
    height: 100px;
    max-height: 130px;
    width: auto;
    object-fit: contain;
    animation: logoPulse 2s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.08);
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* --- Desktop Navigation --- */
.nav-links.desktop-only {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 0 auto; /* Center the links */
}

.nav-side-dropdown {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
}

.nav-side-dropdown .dropbtn {
    background-color: transparent;
    color: var(--text-color);
    padding: 0.4rem 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.2s ease;
    white-space: nowrap;
    background-color: #8A2BE2 ;
}

.nav-side-dropdown .dropbtn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.nav-side-dropdown .dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--card-bg-solid);
    min-width: 150px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    flex-direction: column;
    padding: 0.5rem 0;
    overflow: hidden;
    right: 0;
}

html[dir="ltr"] .nav-side-dropdown .dropdown-content {
    left: 0;
    right: auto;
}

html[dir="rtl"] .nav-side-dropdown .dropdown-content {
    right: 0;
    left: auto;
}

.nav-side-dropdown .dropdown-content a {
    color: var(--text-color);
    padding: 0.75rem 1rem;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.nav-side-dropdown .dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
}

.nav-side-dropdown:hover .dropdown-content {
    display: flex;
}

/* Account Links (replacing dropdown) */
.nav-account-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    margin-left: 3rem;
    margin-right: 0;
}

.nav-account-btn {
    background: linear-gradient(135deg, var(--card-bg-solid) 0%, rgba(28, 18, 48, 0.9) 100%);
    color: var(--text-color);
    padding: 0.6rem 2rem;
    font-weight: 600;
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    height: 46px;
    min-width: 140px;
    line-height: 1;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-account-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.nav-account-btn:hover::before {
    left: 100%;
}

.nav-account-btn::after {
    display: none !important;
}

.nav-account-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
    flex-shrink: 0;
    display: block;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.nav-account-btn-text {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    color: inherit;
    line-height: 1;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
}

.nav-account-btn:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-color: var(--primary-color);
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(155, 93, 229, 0.4), 0 0 0 1px rgba(155, 93, 229, 0.2);
}

.nav-account-btn:hover svg {
    color: #ffffff;
    transform: scale(1.1);
}

.nav-account-btn:hover .nav-account-btn-text {
    color: #ffffff;
}

.nav-account-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(155, 93, 229, 0.3);
}

/* Panel button specific styles - smaller width and different color */
.nav-account-btn-panel {
    padding: 0.6rem 1.6rem;
    min-width: 125px;
    background: linear-gradient(135deg, rgba(28, 18, 48, 0.95) 0%, rgba(35, 25, 55, 0.9) 100%);
    border-color: rgba(100, 116, 139, 0.3);
}

.nav-account-btn-panel:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.9) 0%, rgba(79, 70, 229, 0.85) 100%);
    border-color: rgba(99, 102, 241, 0.8);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35), 0 0 0 1px rgba(99, 102, 241, 0.2);
}

.navbar a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.2s ease;
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.nav-item-dropdown .nav-item-dropbtn {
    background: none;
    border: none;
    color: var(--text-color);
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nav-item-dropdown .nav-item-dropbtn span {
    white-space: nowrap;
    display: inline-block;
}

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

.nav-item-dropdown {
    position: relative;
}

.nav-item-dropdown .nav-item-dropbtn:hover {
    color: var(--primary-color);
}

html[dir="rtl"] .dropbtn,
html[dir="rtl"] .nav-item-dropbtn {
    flex-direction: row-reverse;
}

.dropbtn svg, .nav-item-dropbtn svg {
    width: 1em;
    height: 1em;
    transition: transform 0.2s ease;
    opacity: 0.8;
    vertical-align: middle;
}

.nav-side-dropdown:hover .dropbtn svg,
.nav-item-dropdown:hover .nav-item-dropbtn svg {
    transform: rotate(180deg);
}

.nav-item-dropdown .nav-item-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    background-color: var(--card-bg-solid);
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    z-index: 1001;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 0.5rem 0;
    animation: fadeInDown 0.2s ease-out;
}

html[dir="ltr"] .nav-item-dropdown .nav-item-dropdown-content {
    left: 0;
    right: auto;
}

.nav-item-dropdown:hover .nav-item-dropdown-content {
    display: block;
}

.plans_title_index {
    display: block;
    margin: 0 auto;
    text-align: center;
    font-size: 70px;
    border: 10px;
}

.plans_sec_title_index {
    display: block;
    margin: 0 auto;
    text-align: center;
    font-size: 22px;
    color: rgb(212, 208, 208);
    line-height: 1.3;
}

.ryzen-highlight {
    display: inline-block;
    color: rgb(212, 208, 208);
    font-weight: 800;
    position: relative;
    transition: transform 0.3s ease;
    animation: ryzenPulse 2.5s ease-in-out infinite !important;
    transform-origin: center;
    will-change: transform;
    z-index: 9999;
    filter: none !important;
}

.ryzen-highlight:hover {
    animation: none !important;
    transform: scale(1.05);
}

.blur-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.1);
    z-index: 9998;
    pointer-events: none;
    opacity: 0;
    transition: none;
}

.blur-overlay.active {
    opacity: 1;
    transition: none;
}

body.body-blur .ryzen-highlight {
    position: relative;
    z-index: 9999;
    filter: none !important;
}


@keyframes ryzenPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.02);
        opacity: 0.95;
    }
}

.nav-item-dropdown-content a {
    color: var(--text-color);
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    display: block;
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
}

.nav-item-dropdown-content a:hover {
    background-color: rgba(255,255,255,0.1);
    color: var(--primary-color);
}

/* --- Mobile Navigation --- */
.menu-toggle {
    display: none; /* Hidden by default */
    flex-direction: column;
    justify-content: space-around;
    width: 2.5rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001; /* Ensure toggle is above mobile nav */
    margin-left: auto; /* Push to the right */
    order: 3; /* Ensure it's on the right side */
}

.menu-toggle .bar {
    width: 2.5rem;
    height: 0.25rem;
    background-color: var(--text-color);
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

.mobile-nav {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 360px;
    height: 100vh;
    background-color: var(--card-bg-solid);
    z-index: 1000;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-header .logo img {
    height: 80px; /* Smaller logo for mobile nav */
}

.close-menu-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 1rem 0.5rem;
    gap: 0.25rem;
    overflow-y: auto;
    flex: 1;
}

.mobile-nav-links a {
    color: var(--text-color-darker);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.9rem 1.2rem;
    border-radius: 8px;
    transition: background-color 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.mobile-nav-links a.active {
    color: var(--primary-color);
    background-color: rgba(155, 93, 229, 0.1);
}

.mobile-nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
}

.mobile-nav-separator {
    height: 1px;
    background-color: var(--border-color);
    margin: 1rem 0;
}

.mobile-nav-item-dropdown .mobile-nav-item-dropbtn {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-color-darker);
    font-family: inherit;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    transition: color 0.2s ease;
}

.mobile-nav-item-dropdown .mobile-nav-item-dropbtn.active {
    color: var(--primary-color);
}

.mobile-nav-item-dropdown .mobile-nav-item-dropbtn svg {
    width: 1em;
    height: 1em;
    transition: transform 0.2s ease;
}

.mobile-nav-item-dropdown .mobile-nav-item-dropbtn.open svg {
    transform: rotate(180deg);
}

.mobile-nav-item-dropdown-content {
    display: none;
    flex-direction: column;
    padding-left: 1.5rem;
    border-left: 2px solid var(--border-color);
    margin-left: 1rem;
    margin-top: 0.5rem;
}

.mobile-nav-item-dropdown-content a {
    font-size: 1rem;
    padding: 0.7rem 1.2rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    padding: 0.7rem 1.2rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.black-screen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999; /* Below mobile nav, above everything else */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.black-screen.active {
    display: block;
    opacity: 1;
}

/* --- Footer --- */
.site-footer {
    background-color: #0a0f1c;
    color: var(--text-color-darker);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

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

.footer-main {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul a {
    color: var(--text-color-darker);
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease, padding-right 0.2s ease;
}



html[dir="ltr"] .footer-column ul a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

html[dir="rtl"] .footer-column ul a:hover {
    color: var(--primary-color);
    padding-right: 5px;
}

.about-column .footer-logo {
    display: block;
    margin-bottom: 1rem;
}

.about-column .footer-logo img {
    max-height: 50px;
    width: auto;
}

.about-column .footer-tagline {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 300px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copyright {
    font-size: 0.9rem;
}

html[dir="ltr"] .footer-copyright {
    text-align: left;
}
html[dir="rtl"] .footer-copyright {
    text-align: right;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    color: var(--text-color-darker);
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-socials a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-socials svg {
    width: 24px;
    height: 24px;
}

/* ================================================================== */
/*                      PAGE-SPECIFIC STYLES                          */
/* ================================================================== */

/* --- Index Page (Hero, Reviews) --- */
.hero {
    display: flex;
    flex-direction: row-reverse; /* CHANGED: This swaps the logo and content */
    justify-content: space-between;
    align-items: center;
    min-height: 100vh;
    padding: 0 2rem;
    margin-top: -150px;
    box-sizing: border-box;
    gap: 2rem;
}

.hero-content {
    flex: 1;
    text-align: center;
}

html[dir="rtl"] .hero {
    flex-direction: row; /* CHANGED: This correctly aligns the swapped content for RTL languages */
}

.hero-logo {
    flex: 1;
    text-align: center;
}

.hero-logo {
    position: relative;
    display: inline-block;
}

.logo-hero {
    max-width: 600px;
    width: 100%;
    max-height: 400px;
    height: auto;
    object-fit: contain;
    animation: floatUpDown 3s ease-in-out infinite, pulse 2s ease-in-out infinite;
    will-change: transform; /* Optimize animations for better performance */
    transform: translateZ(0); /* Force GPU acceleration */
    transition: opacity 0.3s ease, transform 0.6s ease;
    cursor: pointer;
    display: block;
}

.logo-hero-partner {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 600px;
    width: 100%;
    max-height: 400px;
    height: auto;
    object-fit: contain;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
    transform: translateZ(0);
    transition: none;
}

.hero-logo:hover .logo-hero {
    opacity: 0;
    animation: rotateAndFadeOut 0.8s ease-in-out forwards;
}

.hero-logo:hover .logo-hero-partner {
    pointer-events: auto;
    animation: fadeInAndPulse 0.25s ease-in 1s forwards, pulse 2s ease-in-out 1.25s infinite;
}

.hero-logo:not(:hover) .logo-hero-partner {
    opacity: 0;
    animation: none;
}

@keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateAndFadeOut {
    0% {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
    100% {
        opacity: 0;
        transform: rotate(360deg) scale(0.8);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeInAndPulse {
    0% {
        opacity: 0;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #ffffff;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    word-break: normal;
    white-space: normal;
}

.hero .subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin-bottom: 2.5rem;
    color: var(--text-color-darker);
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    animation-fill-mode: both;
}

.cta-button-outline {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.cta-button-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3), 0 0 25px var(--glow-color);
}

.cta-button-modern {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), 0 0 15px var(--glow-color);
}

.cta-button-modern:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3), 0 0 25px var(--glow-color);
}

/* --- NEW: Hero Features Bar --- */
.hero-features-bar {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    gap: 2rem 4rem;
    margin-top: 3.5rem;
    color: var(--text-color-darker);
    animation: fadeInUp 0.5s ease-out 0.4s;
    animation-fill-mode: both;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
}

.hero-feature-item svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.gif-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4rem;
    animation: fadeInUp 0.5s ease-out 0.6s;
    animation-fill-mode: both;
}

.gif-container video {
    max-width: 90%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.game-showcase-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 4rem 0 6rem 0;
}

.game-feature-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    color: white;
    text-decoration: none;
    aspect-ratio: 3 / 4;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateY(20px);
    opacity: 0;
    will-change: transform, opacity; /* Optimize animations */
    transform: translateZ(0); /* Force GPU acceleration */
}

.game-feature-card.visible {
    transform: translateY(0);
    opacity: 1;
}

.game-feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 30px var(--glow-color);
}

.game-feature-card .card-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease-out;
    will-change: transform; /* Optimize animations */
    transform: translateZ(0); /* Force GPU acceleration */
}

.game-feature-card:hover .card-background {
    transform: scale(1.1);
}

.game-feature-card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(14, 14, 16, 0.95) 20%, rgba(14, 14, 16, 0.5) 50%, transparent 80%);
    transition: background-color 0.25s ease;
}

.game-feature-card:hover .card-overlay {
    background: linear-gradient(to top, rgba(28, 18, 48, 0.95) 25%, rgba(28, 18, 48, 0.5) 55%, transparent 85%);
}

.game-feature-card .card-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem 2rem;
    transform: translateY(20px);
    transition: transform 0.25s ease-out;
}

.game-feature-card:hover .card-content {
    transform: translateY(0);
}

.game-feature-card .card-icon-wrapper {
    background-color: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.25s ease;
}

.game-feature-card:hover .card-icon-wrapper {
    transform: scale(1.1) rotate(-5deg);
}

.game-feature-card .card-icon-wrapper img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.game-feature-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    line-height: 1.2;
}

.game-feature-card p {
    font-size: 0.95rem;
    color: var(--text-color-darker);
    line-height: 1.6;
    margin: 0 0 1.5rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.25s ease-out, opacity 0.25s ease-out;
}

.game-feature-card:hover p {
    max-height: 150px;
    opacity: 1;
}

.game-feature-card .card-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    text-align: center;
    transition: all 0.2s ease;
    opacity: 0;
    transform: translateY(20px);
}

.game-feature-card:hover .card-button {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.05s;
}

.game-feature-card .card-button:hover {
    background-color: var(--secondary-color);
}

.game-feature-card.is-coming-soon {
    filter: grayscale(70%) opacity(0.8);
    cursor: default;
}

.game-feature-card.is-coming-soon:hover {
    transform: translateY(0);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    filter: grayscale(60%) opacity(0.9);
}

.game-feature-card.is-coming-soon .card-background {
    transform: none !important;
}

.game-feature-card.is-coming-soon .card-content,
.game-feature-card.is-coming-soon:hover .card-content {
    transform: translateY(0);
}

.game-feature-card.is-coming-soon p,
.game-feature-card.is-coming-soon:hover p {
    max-height: 150px;
    opacity: 1;
}

.game-feature-card.is-coming-soon .card-button,
.game-feature-card.is-coming-soon:hover .card-button {
    opacity: 1;
    transform: translateY(0);
    background-color: #f59e0b;
    color: #111827;
    cursor: default;
}

/* ================================================================== */
/*                  FEATURED SERVERS SECTION                          */
/* ================================================================== */
.featured-servers-section {
    margin: 6rem 0;
    padding: 0 1rem;
}

.featured-servers-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    overflow-x: auto;
    padding: 0.5rem 0;
}

.featured-server-card {
    background: rgba(32, 18, 53, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: visible;
    will-change: transform, opacity;
    transform: translateZ(0) translateY(30px);
    opacity: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.featured-server-card.visible {
    transform: translateY(0) scale(1);
    opacity: 1;
    animation: fadeInUp 0.6s ease-out forwards;
}

.featured-server-card.visible:hover {
    transform: translateY(-2px) scale(1.02) !important;
    background: rgba(32, 18, 53, 0.3);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(155, 93, 229, 0.3);
}

.server-logo-wrapper {
    display: none;
}

.server-logo {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color-darker);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    margin: 0;
}

.featured-server-card.visible:hover .server-logo {
    color: #e8d5ff;
}

.featured-server-card h3 {
    display: none;
}

.featured-server-card p {
    display: none;
}

.featured-servers-grid::-webkit-scrollbar {
    height: 6px;
}

.featured-servers-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.featured-servers-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 10px;
}

.featured-servers-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

@media (max-width: 768px) {
    .featured-servers-grid {
        gap: 0.75rem;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .featured-server-card {
        padding: 0.5rem 1rem;
    }
    
    .server-logo {
        font-size: 0.85rem;
    }
}

/* ================================================================== */
/*                  INTERACTIVE TOOLS SECTION                         */
/* ================================================================== */
.interactive-tools-section {
    margin: 6rem 0;
}

.interactive-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.interactive-tool-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.interactive-tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(155, 93, 229, 0.3);
    border-color: var(--primary-color);
}

.interactive-tool-card .tool-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.interactive-tool-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.interactive-tool-card p {
    color: var(--text-color-darker);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

@media (max-width: 768px) {
    .interactive-tools-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .interactive-tool-card {
        padding: 1.5rem;
    }
}

/* ================================================================== */
/*                      FEATURES SECTION                              */
/* ================================================================== */
.features-section {
    padding: 6rem 0;
    overflow: hidden;
    position: relative;
}

.features-marquee {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation-duration: 48s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-name: scroll-forward;
}

.features-section .marquee-wrapper:hover .features-marquee {
    animation-play-state: paused;
}

.feature-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    flex-shrink: 0;
    min-width: 320px;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.04) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    border-color: var(--primary-color);
}

.feature-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.feature-icon {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    height: 70px;
    width: 70px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.5);
}

.feature-card:hover .feature-icon::before {
    opacity: 1;
    animation: shine 0.4s ease;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.feature-icon svg {
    width: 36px;
    height: 36px;
    color: white;
    position: relative;
    z-index: 1;
}

.feature-icon.text-icon {
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.feature-card p {
    color: var(--text-color-darker);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.feature-card:hover p {
    opacity: 1;
}

.discord-cta-section {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 6rem 0;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.discord-cta-section.visible {
    transform: translateY(0);
    opacity: 1;
}

.discord-cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.discord-cta-section p {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.discord-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: #5865F2;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
    margin-top: 2.5rem;
}

.discord-button:hover {
    background-color: #4752C4;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.4);
}

.latest-news-section {
    margin-bottom: 6rem;
}

/* --- Plans Page --- */
.pricing-grid-container {
    display: none;
}

.pricing-grid-container.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: stretch;
    justify-content: center;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    animation: fadeInUp 0.4s ease-out;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    border-color: var(--primary-color);
}

.pricing-header {
    position: relative;
}

.pricing-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: white;
}

.pricing-header p {
    color: var(--text-color-darker);
    margin: 0 0 2rem;
    min-height: 40px;
}

.price {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin: 0;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.75rem;
}

.price .currency {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-color-darker);
}

.price .period {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color-darker);
}

.price .original-price {
    font-size: 2rem;
    color: #aaa;
    font-weight: 500;
    text-decoration: line-through 2px var(--danger-color);
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 2.5rem 0;
    flex-grow: 1;
}

.features-list li {
    font-size: 1rem;
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color-darker);
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list li svg {
    width: 20px;
    height: 20px;
    color: var(--success-color);
    flex-shrink: 0;
}

.features-list .main-feature {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-left: 4px solid green;
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    transition: all 0.2s ease;
}

.features-list .main-feature:hover {
    background-color: rgba(0, 0, 0, 0.3);
    transform: translateX(-5px);
    border-left-color: rgb(0, 255, 0);
}

.features-list .main-feature svg {
    width: 24px;
    height: 24px;
    color: green;
}

.plan-button {
    display: block;
    background: var(--secondary-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    width: 100%;
    margin-top: auto;
    text-align: center;
}

.plan-button:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px var(--glow-color);
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    background: linear-gradient(180deg, var(--card-bg-solid), var(--bg-color));
}

/* Webhosting specific styles */
.pricing-card .plan-image{
    width:72px;
    height:72px;
    object-fit:contain;
    display:block;
    margin:0 auto 12px auto;
    border-radius:12px;
    border: 1px solid rgba(255,255,255,0.06);
}
.pricing-grid #pricing-grid{
    scroll-margin-top: 140px; /* For anchor offset with fixed navbar */
}
.plans-section .pricing-grid .pricing-card .plan-cpu{
    color: var(--text-color-darker);
}
.pricing-card .extra-feature{
    opacity:0.85;
    font-size:0.94rem;
}
.pricing-grid .compare-button{
    display:block; margin: 1.25rem 0; text-align:center;
}

.pricing-card.popular:hover {
    transform: scale(1.08) translateY(-10px);
}

.discount-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--danger-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
}

.pricing-card.extra-plan {
    display: none;
}
.pricing-card.extra-plan.visible {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.show-more-container {
    text-align: center;
    width: 100%;
    margin-bottom: 0;
}

.show-more-container.full-width-grid-item {
    grid-column: 1 / -1;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.show-more-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 240px;
    padding: 0.85rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.show-more-button .btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease-in-out;
}

.show-more-button:hover {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 8px 20px var(--glow-color);
}

.show-more-button.expanded {
    background-color: var(--card-bg-solid);
    color: var(--text-color-darker);
    border-color: var(--border-color);
}

.show-more-button.expanded .btn-icon {
    transform: rotate(180deg);
}

.show-more-button.expanded:hover {
    background-color: var(--danger-color);
    color: white;
    border-color: var(--danger-color);
    box-shadow: 0 8px 16px rgba(239, 68, 68, 0.4);
}

.features-list li.extra-feature {
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.features-list li.extra-feature.visible {
    max-height: 60px;
    opacity: 1;
    padding: 0.75rem 0;
    margin-bottom: 0;
    border-bottom: 1px solid var(--border-color);
}

.features-toggle-btn {
    background: transparent;
    border: none;
    color: var(--accent-color);
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem 0;
    margin: -1rem 0 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    transition: color 0.2s ease;
}

.features-toggle-btn:hover {
    color: white;
}

.features-toggle-btn .btn-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease-in-out;
}

.features-toggle-btn.expanded .btn-icon {
    transform: rotate(180deg);
}

.pricing-header img {
    animation: floatIcon 3s ease-in-out infinite;
    transition: transform 0.5s ease-in-out;
}

.pricing-card:hover .pricing-header img {
    transform: rotate(360deg);
}

/* --- Contact Page --- */
.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2.5rem;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.contact-form-container label {
    display: block;
    margin: 1rem 0 0.5rem;
    font-weight: 500;
}

.contact-form-container input,
.contact-form-container textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.contact-form-container input:focus,
.contact-form-container textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--glow-color);
}

.contact-form-container button {
    display: block;
    width: 100%;
    background-color: var(--primary-color);
    border: none;
    padding: 1rem;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    margin-top: 1rem;
}

.contact-form-container button:hover:not(:disabled) {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px var(--glow-color);
}

.contact-form-container button:disabled {
    background-color: #555;
    cursor: not-allowed;
}

.form-status {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.form-status.show {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.form-status.success {
    background-color: rgba(16, 185, 129, 0.8);
    color: white;
}

.form-status.error {
    background-color: rgba(239, 68, 68, 0.8);
    color: white;
}

/* --- About Page --- */
.team-section {
    margin-bottom: 4rem;
}

.team-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
    display: inline-block;
    width: 100%;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    justify-content: center;
}

.team-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.2s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 20px var(--glow-color);
}

.team-card img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.team-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
}

.team-card .role {
    font-size: 1rem;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.team-card p {
    font-size: 0.95rem;
    color: var(--text-color-darker);
    line-height: 1.6;
}

.team-avatar-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.team-crown-icon {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(-15deg);
    font-size: 1.8rem;
    color: #facc15;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
    z-index: 2;
}

.team-cigarette-icon {
    position: absolute;
    top: 10px;
    right: -5px;
    transform: rotate(35deg);
    font-size: 1.6rem;
    color: #e2e8f0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
    z-index: 2;
}

/* --- News List & Article Pages --- */
.articles-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}



.article-card-news-list {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.article-card-news-list:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), 0 0 15px var(--glow-color);
}

.article-card-image-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #374151;
}

.latest-news-section .article-card-image-wrapper {
    height: 200px;
}

.article-card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.article-card-news-list:hover .article-card-image-wrapper img {
    transform: scale(1.05);
}

.article-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-card-content .news-card-title {
    font-size: 1.5rem;
    margin: 0 0 1rem;
    color: var(--primary-color);
    line-height: 1.3;
}

.article-excerpt {
    color: var(--text-color-darker);
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    font-weight: 600;
    color: var(--secondary-color);
    transition: color 0.2s, gap 0.2s;
}

.read-more-link:hover {
    color: white;
    gap: 0.75rem;
}

.no-articles-found {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem;
    background: var(--card-bg);
    border-radius: 16px;
    color: var(--text-color-darker);
    border: 1px solid var(--border-color);
}

.text-center-wrapper {
    text-align: center;
    margin-top: 3rem;
}

.cta-button-modern.view-all-news-btn {
    margin-top: 0;
}

.article-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    max-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #111827;
}

.article-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(10, 15, 28, 1) 0%, rgba(10, 15, 28, 0.4) 50%, rgba(10, 15, 28, 0.2) 100%);
    z-index: 1;
}

.article-header-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 900px;
    width: 100%;
}

.article-title-heading {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.article-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 1rem;
    color: var(--text-color-darker);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meta-item svg {
    width: 18px;
    height: 18px;
    opacity: 0.8;
}

.article-body-container {
    max-width: 900px;
    margin: -4rem auto 4rem;
    padding: 3rem;
    flex: 1;
    width: 100%;
    background: #111827;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.article-content > *:first-child {
    margin-top: 0;
}

.article-content h1, .article-content h2, .article-content h3, .article-content h4, .article-content h5 {
    line-height: 1.3;
    font-weight: 700;
}
.article-content h1 { font-size: 2.5rem; margin: 2rem 0 1rem; color: var(--primary-color); }
.article-content h2 { font-size: 2rem; color: var(--primary-color); margin: 2.5rem 0 1.5rem; border-bottom: 1px solid var(--border-color); padding-bottom: 0.5rem; }
.article-content h3 { font-size: 1.6rem; color: var(--secondary-color); margin: 2rem 0 1rem; }
.article-content a { color: var(--secondary-color); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 0.2s; }
.article-content a:hover { color: white; }
.article-content blockquote {
    padding-right: 1.5rem;
    margin: 2rem 0;
    margin-right: 0;
    font-style: italic;
    color: var(--text-color-darker);
    font-size: 1.2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
}
html[dir="ltr"] .article-content blockquote { border-left: 4px solid var(--primary-color); padding-left: 1.5rem; margin-left: 0; }
html[dir="rtl"] .article-content blockquote { border-right: 4px solid var(--primary-color); padding-right: 1.5rem; margin-right: 0; }
.article-content ul, .article-content ol { margin-bottom: 1.5rem; }
html[dir="ltr"] .article-content ul, html[dir="ltr"] .article-content ol { padding-left: 2rem; }
html[dir="rtl"] .article-content ul, html[dir="rtl"] .article-content ol { padding-right: 2rem; }
.article-content li { margin-bottom: 0.75rem; }

/* --- NEW: Responsive Table Wrapper --- */
.table-responsive-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin: 2rem 0; /* Apply margin to the wrapper */
}

/* UPDATED: Styles for Markdown tables to look like code blocks */
.article-content table,
.product-description-content table {
    width: 100%;
    min-width: 600px; /* Ensure table has a minimum width to show scrollbar */
    border-collapse: collapse;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    background: #0a0f1c;
    overflow: hidden;
}
.article-content .table-responsive-wrapper table,
.product-description-content .table-responsive-wrapper table {
    border: none;
    border-radius: 0;
    margin: 0;
}


.article-content th, .article-content td,
.product-description-content th, .product-description-content td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    text-align: left;
    color: var(--text-color);
}

.article-content th,
.product-description-content th {
    background-color: var(--card-bg-solid);
    color: var(--primary-color);
    font-weight: 600;
}

.article-content pre,
.product-description-content pre {
    background: #0a0f1c; /* Darker background for code */
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
    border: 1px solid var(--border-color);
}

.article-content code,
.product-description-content code {
    font-family: 'Courier New', Courier, monospace;
    background-color: #2b1f42; /* Inline code background */
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-size: 0.9em;
}

.article-content pre > code,
.product-description-content pre > code {
    background-color: transparent; /* Reset for code inside pre */
    padding: 0;
    font-size: 1em;
    white-space: pre-wrap;
    overflow-wrap: break-word;
}
/* END OF UPDATED STYLES */

.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}


.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color-darker);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s, gap 0.2s;
}

.back-link:hover {
    color: white;
    gap: 0.75rem;
}

.share-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.share-links span {
    font-weight: 500;
    color: var(--text-color-darker);
}

.share-links a {
    padding: 0.5rem;
    display: block;
    transition: transform 0.2s;
}

.share-links a:hover {
    transform: scale(1.2);
}

/* --- 404 & 403 Page --- */
.error-page-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    animation: fadeIn 0.6s ease-out;
}

.error-code {
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #9f6bff, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

.error-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.error-description {
    font-size: 1.2rem;
    max-width: 500px;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.home-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background: var(--primary-color);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 8px 20px var(--glow-color);
}

.home-button:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px var(--glow-color);
}

/* --- Privacy & Terms Page --- */
.legal-container {
    max-width: 960px;
    margin: 0 auto 2rem;
    padding: 2rem;
    flex: 1;
    width: 100%;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.legal-container h1,
.legal-container h2 {
    color: var(--primary-color);
    margin-top: 1.5em;
}

.legal-container h1:first-child {
    margin-top: 0;
}

.legal-container p {
    color: var(--text-color-darker);
}

/* --- FAQ Page --- */
.faq-hero {
    text-align: center;
    padding: 3rem 1rem 2rem;
    background: linear-gradient(120deg, #3182ce, #805ad5 100%);
    border-radius: 1.5rem;
    box-shadow: 0 4px 32px rgba(0,0,0,0.5);
    margin-bottom: 2.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.faq-hero h1 { font-size: 2.7rem; margin-bottom: 0.5rem; font-weight: 800; letter-spacing: -1px; color: #fff; }
.faq-hero p { color: #e0e7ff; font-size: 1.15rem; }
.faq-search-container { display: flex; justify-content: center; margin-bottom: 2.2rem; }
#faq-search {
    width: 100%; max-width: 420px; padding: 0.85rem 1.2rem;
    border-radius: 2rem; border: 1.5px solid var(--border-color);
    font-size: 1.05rem; box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    background: var(--card-bg-solid); color: var(--text-color);
    transition: border-color 0.2s, box-shadow 0.2s;
}
#faq-search:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px var(--glow-color);
}
.faq-tabs { display: flex; justify-content: center; gap: 1rem; margin-bottom: 2.2rem; flex-wrap: wrap; }
.faq-tab {
    background: var(--card-bg-solid); color: var(--text-color-darker); border: 1px solid var(--border-color); border-radius: 2rem;
    padding: 0.6rem 1.7rem; font-size: 1.05rem; font-weight: 600;
    cursor: pointer; box-shadow: 0 1px 6px rgba(0,0,0,0.3); transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    display: flex; align-items: center; gap: 0.5rem;
}
.faq-tab.active, .faq-tab:hover { background-color: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.faq-section { display: none; max-width: 820px; margin: 0 auto 2.5rem; }
.faq-section.active { display: block; animation: fadeIn 0.3s ease; }
.faq-list { margin: 0; padding: 0; list-style: none; }
.faq-item {
    background: var(--card-bg); border-radius: 12px; margin-bottom: 1.2rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.2);
    overflow: hidden; transition: box-shadow 0.2s;
    border-left: 5px solid var(--primary-color);
}
.faq-item.open { box-shadow: 0 4px 32px rgba(155, 93, 229, 0.3); }
.faq-question {
    width: 100%; text-align: left; background: none; border: none; outline: none;
    font-size: 1.13rem; font-weight: 700; color: var(--text-color);
    padding: 1.3rem 2.7rem 1.3rem 1.5rem; cursor: pointer; position: relative;
    transition: background-color 0.2s; display: flex; align-items: center; gap: 0.7rem;
}
html[dir="rtl"] .faq-question { text-align: right; }
.faq-question .faq-icon {
    position: absolute; right: 1.5rem; left: auto; top: 50%; font-size: 1.2rem;
    color: var(--primary-color); transform: translateY(-50%) rotate(0deg); transition: transform 0.3s, color 0.2s;
}
html[dir="rtl"] .faq-question .faq-icon { right: auto; left: 1.5rem; }
.faq-item.open .faq-question .faq-icon { transform: translateY(-50%) rotate(180deg); color: var(--accent-color); }
.faq-answer {
    max-height: 0; overflow: hidden; background: var(--bg-color); color: var(--text-color-darker);
    padding: 0 1.5rem; font-size: 1.04rem; transition: max-height 0.4s cubic-bezier(.4,0,.2,1), padding 0.3s;
    border-top: 1px solid var(--border-color);
}
.faq-answer p, .faq-answer a { color: var(--text-color-darker); }
.faq-answer a { text-decoration: underline; transition: color 0.2s; }
.faq-answer a:hover { color: var(--accent-color); }
.faq-item.open .faq-answer { padding: 1.1rem 1.5rem; max-height: 500px; }
.faq-question .fa-circle-question { color: #8A2BE2; }
.faq-question .fa-coins { color: #f59e42; }
.faq-question .fa-server { color: #38b2ac; }
.faq-question .fa-cube { color: #805ad5; }
.faq-question .fa-building { color: #3182ce; }
.faq-question .fa-plug { color: #f56565; }
.faq-question .fa-shield-halved { color: #38a169; }
.faq-question .fa-users { color: #f43f5e; }
.faq-question .fa-arrow-up-right-dots { color: #f59e42; }
.faq-question .fa-money-bill-wave { color: #38b2ac; }
.faq-question .fa-globe { color: #3182ce; }

/* --- Plans Page Tabs --- */
.plan-category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.plan-category-tab {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-color-darker);
    background-color: var(--card-bg-solid);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.plan-category-tab svg {
    width: 24px;
    height: 24px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.plan-category-tab:hover {
    color: white;
    background-color: var(--card-bg);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.plan-category-tab:hover svg {
    opacity: 1;
}

.plan-category-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px var(--glow-color);
}

.plan-category-tab.active svg {
    opacity: 1;
}

/* --- Language Switcher Button & Discord FAB --- */
.lang-switcher,
.discord-fab {
    position: fixed;
    bottom: 20px;
    border: none;
    border-radius: 50px;
    width: 50px;
    height: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: background-color 0.2s, transform 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.lang-switcher {
    background-color: #1e3a8a; /* Navy blue */
    color: white;
    left: 20px;
    right: auto;
    font-size: 24px;
    line-height: 1;
}

.discord-fab {
    background-color: #5865F2; /* Discord Blue */
    color: white;
    right: 20px;
    left: auto;
    text-decoration: none;
}

.discord-fab svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.lang-switcher:hover {
    background-color: #1e40af; /* Lighter navy blue on hover */
    transform: scale(1.1);
}

.discord-fab:hover {
    background-color: #4752C4;
    transform: scale(1.1);
}

.lang-switcher:active,
.discord-fab:active {
    transform: scale(1.05);
}

/* --- Plans Page Tier Tabs --- */
.plan-tier-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 4rem; /* CORRECTED: Increased space */
    margin-top: -2rem; /* Pulls it closer to the main tabs */
}

.plan-tier-tab {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px; /* Pill shape */
    cursor: pointer;
    background-color: transparent;
    color: var(--text-color-darker);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.plan-tier-tab:hover {
    background-color: var(--card-bg);
    color: white;
}

.plan-tier-tab.active {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(123, 63, 228, 0.5); /* glow effect */
}

.pricing-card.hidden-by-tier {
    display: none;
}

/* ================================================================== */
/*                      NEW: PRODUCT PAGE STYLES                      */
/* ================================================================== */

/* --- Product List Page (`products.html`) --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}
/* Reusing .product-card selector for other pages */
.product-grid .product-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
}
.product-grid .product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3), 0 0 20px var(--glow-color);
}
.product-image-wrapper {
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    position: relative;
    background-color: var(--bg-color);
}
.product-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.product-grid .product-card:hover .product-image-wrapper img {
    transform: scale(1.05);
}
.product-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product-platform {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}
.product-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1rem;
    line-height: 1.3;
    flex-grow: 1;
}
.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}
.product-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
}
.product-author {
    font-size: 0.9rem;
    color: var(--text-color-darker);
}

/* --- Product Detail Page (`product_detail.html`) --- */
.product-detail-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}
.main-column-stack {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.product-main-content {
    background: var(--card-bg-solid);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}
.product-info-card {
    padding: 2rem;
    overflow: visible;
}

.product-info-header {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
}
.product-title-heading { font-size: 2.5rem; margin: 0 0 1rem; color: var(--primary-color); }
.product-meta-details { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 1rem 2rem; 
    color: var(--text-color-darker);
}
.meta-item { display: flex; flex-direction: column; }
.meta-item .label { font-size: 0.9rem; font-weight: 500; opacity: 0.7; }
.meta-item .value { font-size: 1.1rem; font-weight: 600; color: var(--text-color); }
.product-description-content { font-size: 1.1rem; line-height: 1.8; }
.product-sidebar { display: flex; flex-direction: column; gap: 1.5rem; position: sticky; top: 150px; }
.sidebar-card { background: var(--card-bg); backdrop-filter: blur(10px); border: 1px solid var(--border-color); border-radius: 16px; padding: 1.5rem; -webkit-backdrop-filter: blur(10px); }
.sidebar-price { font-size: 3rem; font-weight: 800; text-align: center; color: var(--primary-color); }
.sidebar-buy-button { display: block; width: 100%; background: var(--secondary-color); color: white; padding: 1rem; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 1.2rem; text-align: center; transition: all 0.2s; }
.sidebar-buy-button:hover { background-color: var(--primary-color); transform: translateY(-3px); box-shadow: 0 4px 15px var(--glow-color); }
.sidebar-card h3 { margin: 0 0 1rem; font-size: 1.2rem; border-bottom: 1px solid var(--border-color); padding-bottom: 0.75rem; }
.donation-links-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.donation-links-list a { display: block; padding: 0.75rem 1rem; background: rgba(255,255,255,0.05); border-radius: 8px; color: var(--text-color-darker); text-decoration: none; transition: all 0.2s; word-break: break-all; }
.donation-links-list a:hover { background-color: var(--secondary-color); color: white; }

/* --- Product Detail Page Gallery --- */
.product-gallery { margin-bottom: 0; }
.main-media-display {
    background-color: #000;
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.main-media-display img, .main-media-display iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: contain; border: none;
}
.media-thumbnails {
    display: flex; gap: 0.75rem; padding: 0.75rem;
    background-color: #000; overflow-x: auto;
    scrollbar-width: thin; scrollbar-color: var(--primary-color) var(--bg-color);
}
.media-thumbnails::-webkit-scrollbar { height: 8px; }
.media-thumbnails::-webkit-scrollbar-track { background: var(--bg-color); }
.media-thumbnails::-webkit-scrollbar-thumb { background-color: var(--border-color); border-radius: 10px; border: 2px solid var(--bg-color); }
.media-thumbnails::-webkit-scrollbar-thumb:hover { background-color: var(--primary-color); }
.thumbnail-item {
    width: 80px; height: 80px; border-radius: 8px; cursor: pointer;
    border: 2px solid transparent; transition: border-color 0.2s, transform 0.2s;
    flex-shrink: 0; position: relative; overflow: hidden; background-color: var(--bg-color);
}
.thumbnail-item:hover { transform: scale(1.05); }
.thumbnail-item.active { border-color: var(--primary-color); }
.thumbnail-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.thumbnail-video-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background-color: rgba(0,0,0,0.4); pointer-events: none;
}
.thumbnail-video-overlay svg { width: 24px; height: 24px; color: white; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5)); }

/* --- NEW: Megamenu Dropdown Styles (v2) --- */
.nav-item-dropdown-content.megamenu-style {
    display: none; /* Keep for hover effect */
    flex-direction: column; /* Single column layout */
    padding: 0.5rem; /* Tighter padding */
    gap: 0.25rem; /* Tighter gap between items */
    min-width: 240px; /* More appropriate width */
    animation: fadeInDown 0.2s ease-out; /* Add animation */
}

/* Override for the <a> tag inside the megamenu */
.nav-item-dropdown-content.megamenu-style a {
    padding: 0; /* Reset default padding */
    width: 100%; /* Full width */
    color: var(--text-color);
    background-color: transparent;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-item-dropdown-content.megamenu-style a:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--text-color) !important; /* Keep text color white on hover for better contrast */
}

.nav-item-dropdown-content.megamenu-style a:hover .megamenu-item {
    color: var(--primary-color); /* Change text color inside the item on hover */
}

.megamenu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color-darker); /* Default text color */
    transition: color 0.2s ease;
}

/* RTL Specific styles for the item layout */
html[dir="rtl"] .megamenu-item {
    flex-direction: row-reverse;
}

.megamenu-item-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
    background-color: rgba(0, 0, 0, 0.3); /* Slightly darker background */
    padding: 4px;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.05); /* Subtle border */
}

/* ================================================================== */
/*                NEW: PRODUCT PAGE FILTER STYLES                     */
/* ================================================================== */

.product-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
    margin-top: -2rem; /* Pulls it up closer to the header */
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.filter-group label {
    font-weight: 500;
    color: var(--text-color-darker);
}

.product-filters input[type="search"],
.product-filters select {
    background-color: var(--card-bg-solid);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.product-filters input[type="search"]:focus,
.product-filters select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--glow-color);
}

.product-filters input[type="search"] {
    min-width: 250px;
}

.product-card.hidden {
    display: none;
}

.no-products-message {
    grid-column: 1 / -1; /* Make it span the full grid width */
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-color-darker);
    display: none; /* Hidden by default */
}

.no-products-message h2 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin: 0;
}

/* ================================================================== */
/*                NEW: TESTIMONIALS SECTION STYLES                    */
/* ================================================================== */

.testimonials-section {
    padding: 6rem 0;
    overflow: hidden;
    position: relative;
}

.testimonials-section.animated-item {
    transform: translateY(20px);
    opacity: 0;
    will-change: transform, opacity; /* Optimize animations */
    transform: translateZ(0); /* Force GPU acceleration */
}

.testimonials-section.animated-item.visible {
    transform: translateY(0);
    opacity: 1;
    padding: 0.5rem 0;
}


.marquee {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation-duration: 50s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.marquee-wrapper {
    display: flex;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

/* RTL Support for Arabic - Reverse the mask gradient direction */
html[dir="rtl"] .marquee-wrapper {
    -webkit-mask-image: linear-gradient(to left, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to left, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-wrapper:hover .marquee {
    animation-play-state: paused;
}

/* Improve accessibility and user experience */
.testimonial-card:focus-within {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.testimonial-card[tabindex]:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.marquee--reverse {
    margin-top: 2rem;
}

.marquee--reverse .marquee {
    animation-name: scroll-reverse;
}

.marquee--forward .marquee {
    animation-name: scroll-forward;
}

@keyframes scroll-forward {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes scroll-reverse {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

/* RTL Support for Arabic - Create separate keyframes for RTL */
@keyframes scroll-forward-rtl {
    from { transform: translateX(0); }
    to { transform: translateX(50%); }
}

@keyframes scroll-reverse-rtl {
    from { transform: translateX(50%); }
    to { transform: translateX(0); }
}

/* RTL Support for Arabic - Reverse the marquee directions */
html[dir="rtl"] .marquee--reverse .marquee {
    animation-name: scroll-forward-rtl;
}

html[dir="rtl"] .marquee--forward .marquee {
    animation-name: scroll-reverse-rtl;
}

.testimonial-card {
    width: 380px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    flex-shrink: 0;
}

.testimonial-author .name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.testimonial-author .title {
    font-size: 0.9rem;
    color: var(--text-color-darker);
    margin: 0;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    color: #f59e0b;
}

.testimonial-body {
    font-size: 1rem;
    color: var(--text-color-darker);
    line-height: 1.7;
    margin: 0;
}

.no-testimonials-found {
    text-align: center;
    padding: 3rem 1rem;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin: 2rem auto;
    max-width: 500px;
}

.no-testimonials-found h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.no-testimonials-found p {
    color: var(--text-color-darker);
    font-size: 1rem;
    margin: 0;
}

/* ================================================================== */
/*             NEW: PREMIUM VPS/DEDICATED PAGE STYLES                 */
/* ================================================================== */
.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}
.product-list .product-card {
    background: linear-gradient(160deg, var(--card-bg) 0%, var(--card-bg-solid) 100%);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.product-list .product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 40px var(--glow-color);
    border-color: var(--primary-color);
}
/* Special treatment for the popular plan */
.product-list .product-card.popular-card {
    border: 1px solid transparent;
    background-image: linear-gradient(160deg, var(--card-bg) 0%, var(--card-bg-solid) 100%), linear-gradient(160deg, var(--primary-color), var(--accent-color));
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

/* Reimagined Popular Badge */
.popular-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 3;
}

/* Card Header Section */
.product-list .product-info {
    padding: 1.5rem 1.5rem 1rem;
    text-align: center;
}
.product-list .product-info h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin: 0 0 0.5rem;
}
.product-list .status-text {
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.product-list .status-text::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: currentColor;
    box-shadow: 0 0 8px currentColor;
}
.product-list .status-available { color: var(--success-color); }
.product-list .status-processing { color: #22c55e; }

/* Main Specs Section */
.product-list .product-specs {
    flex-grow: 1;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.spec-item { text-align: center; }
.spec-item-icon {
    margin: 0 auto 0.75rem;
    color: var(--primary-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(155, 93, 229, 0.15) 0%, rgba(155, 93, 229, 0) 70%);
}
.spec-item-icon svg {
    width: 28px;
    height: 28px;
}
.spec-item-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}
.spec-item-value small {
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-color-darker);
    margin-top: 0.25rem;
    line-height: 1.2;
}
.spec-item-label {
    font-size: 0.8rem;
    color: var(--text-color-darker);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.additional-specs {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.additional-spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.additional-spec-item dt {
    font-weight: 500;
    color: var(--text-color-darker);
}
.additional-spec-item dd {
    margin: 0;
    font-weight: 600;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.product-list .locations-list img { border-radius: 2px; }
.product-list .info-tags .tag { font-size: 0.75rem; font-weight: 600; padding: 0.2rem 0.6rem; border-radius: 4px; }
.product-list .info-tags .tag-green { background-color: rgba(16, 185, 129, 0.2); color: #10b981; }
.product-list .info-tags .tag-blue { background-color: rgba(59, 130, 246, 0.2); color: #3b82f6; }

/* --- NEW: VPS/DEDICATED PROTECTION FEATURE --- */
.protection-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-color-darker);
    font-size: 0.9rem;
    opacity: 0.8;
}
.protection-feature img {
    height: 20px;
    width: auto;
}
.protection-feature strong {
    color: var(--text-color);
    font-weight: 600;
}

/* ================================================================== */
/*                      ANIMATIONS & MEDIA QUERIES                    */
.product-list .info-tags .tag-yellow { background-color: rgba(245, 158, 11, 0.2); color: #f59e0b; }

/* Card Actions / Footer */
/* Card Actions / Footer */
.product-list .product-actions {
    margin-top: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center; /* Horizontally centers the items */
    text-align: center; /* Ensures text within non-flex children is also centered */
}
.product-list .price-group {
    display: flex;
    justify-content: center; /* Changed from space-between to center */
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem 1rem; /* Added horizontal gap for better spacing */
}
.product-list .price-monthly {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-color);
}
.product-list .price-monthly small {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color-darker);
}
.product-list .price-hourly, .product-list .setup-fee {
    font-size: 0.9rem;
    color: var(--text-color-darker);
}
.product-list .setup-fee-badge { background-color: var(--card-bg-solid); padding: 0.2rem 0.5rem; border-radius: 4px; margin-left: 0.25rem; }
.product-list .action-buttons .btn {
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
    border: none;
    transition: all 0.3s ease;
}
.product-list .action-buttons .btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.product-list .action-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--glow-color);
}
.product-list .no-plans-found { grid-column: 1 / -1; background: var(--card-bg); border-radius: 12px; padding: 3rem; text-align: center; }

/* ================================================================== */
/*                       NEW: NAVBAR ACTIVE STATE                     */
/* ================================================================== */

/* Style for active link text */
.nav-links a.active,
.nav-item-dropdown .nav-item-dropbtn.active {
    color: var(--primary-color);
    font-weight: 700;
}

/* Underline effect for active links */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

html[dir="ltr"] .nav-links a::after {
    transform-origin: left;
}

html[dir="rtl"] .nav-links a::after {
    transform-origin: right;
}

/* RTL adjustments for navbar spacing - same as LTR but mirrored */
html[dir="rtl"] .logo {
    margin-left: 3rem;
    margin-right: 0;
}

html[dir="rtl"] .nav-account-links {
    margin-right: 3rem;
    margin-left: 0;
}

html[dir="rtl"] .nav-links.desktop-only {
    margin: 0 auto; /* Center the links */
}

.nav-links a.active::after {
    transform: scaleX(1);
}

/* Remove underline from dropdown button */
.nav-item-dropdown .nav-item-dropbtn::after {
    display: none;
}

/* ================================================================== */
/*                  NEW: VPS/DEDICATED FEATURES SECTION               */
/* ================================================================== */

.vps-features-section {
    margin-bottom: 4rem;
}

.vps-features-section .section-title {
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2), 0 0 15px var(--glow-color);
}

.feature-box-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.feature-box-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.feature-box h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: white;
}

.feature-box p {
    font-size: 0.95rem;
    color: var(--text-color-darker);
    line-height: 1.6;
    margin: 0;
}

/* ================================================================== */
/*                  NEW: OS SHOWCASE SECTION                          */
/* ================================================================== */

.os-showcase-section {
    text-align: center;
    margin-bottom: 4rem;
}

.os-showcase-section .section-title {
    margin-bottom: 3rem;
}

.os-logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.os-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.2s ease;
}

.os-logo-item:hover {
    transform: scale(1.1);
}

.os-logo-item img {
    height: 64px;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.os-logo-item:hover img {
    filter: grayscale(0%) opacity(1);
}

.os-logo-item span {
    font-weight: 500;
    color: var(--text-color-darker);
}

/* ================================================================== */
/*                      ANIMATIONS & MEDIA QUERIES                    */
/* ================================================================== */

@media (max-width: 992px) {
    .footer-main,
    .features-section {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-detail-container { grid-template-columns: 1fr; }
    .product-sidebar { position: static; }
    .pricing-table td, .pricing-table th { padding: 1rem; }
}

@media (max-width: 992px) {
    /* --- General layout adjustments for tablets --- */
    .footer-main,
    .features-section {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-detail-container { grid-template-columns: 1fr; }
    .product-sidebar { position: static; }
    .pricing-table td, .pricing-table th { padding: 1rem; }

    /* --- Navbar adjustments for tablets and below --- */
    .nav-links.desktop-only, .nav-side-dropdown.desktop-only, .nav-account-links.desktop-only {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    .mobile-nav {
        display: flex;
    }
    /*
      This rule was the original fix. It is kept here as a fallback,
      but the more aggressive fix at the end of the file is what should solve the issue.
    */
    html.nav-open,
    body.nav-open {
        overflow: hidden;
    }

    body.nav-open .nav-container > .logo {
        display: none;
    }
}

@media (max-width: 820px) {
    body { padding-top: 92px; }
    .navbar { top: 0; }
    .logo img { height: 80px; max-height: none; }
    .nav-container { 
        flex-wrap: nowrap; 
        justify-content: space-between; 
        gap: 0.5rem; 
    }
    .payment-methods-bar {
        padding: 0.75rem 1rem;
        margin: 2rem auto 1.5rem;
    }
    .payment-methods-container {
        gap: 0.75rem;
    }
    .payment-method-item {
        width: 60px;
        height: 44px;
        padding: 0.5rem;
    }
    .payment-method-item img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    .menu-toggle {
        order: 3;
        margin-left: auto;
        margin-right: 0;
    }
    .container { padding: 1.5rem; }
    .page-header h1, .page-header .page-title, .section-title h2 { font-size: 2.5rem; }
    .page-header p, .page-header .page-subtitle, .section-title p { font-size: 1rem; }
    .plans_title_index { font-size: 3rem; }
    .plans_sec_title_index { font-size: 0.95rem; padding: 0 1rem; line-height: 1.3; }
    .ryzen-highlight { font-size: 1.1rem; }
    .hero {
        margin-top: -80px;
        padding: 4rem 1rem 2rem;
        flex-direction: column;
        text-align: center;
        min-height: auto;
    }
    html[dir="rtl"] .hero {
        flex-direction: column;
    }
    .hero-content {
        text-align: center;
    }
    .hero-cta-container {
        justify-content: center;
    }
    .hero h1 { 
        font-size: 2rem; 
        max-width: 350px;
    }
    .hero .subtitle { font-size: 1.1rem; margin-left: auto; margin-right: auto;}
    .discord-cta-section { padding: 3rem 1.5rem; margin: 4rem 0; }
    .discord-cta-section h2 { font-size: 2rem; }
    .team-grid, .features-section { 
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .feature-icon {
        height: 60px;
        width: 60px;
    }
    
    .feature-icon.text-icon {
        font-size: 1.75rem;
    }
    
    .feature-card h3 {
        font-size: 1.25rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    .pricing-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
    .pricing-card.popular { transform: scale(1); }
    .pricing-card.popular:hover { transform: translateY(-10px); }
    .error-code { font-size: 6rem; }
    .error-title { font-size: 2rem; }
    .error-description { font-size: 1rem; }
    .contact-form-container, .faq-container, .legal-container { padding: 1.5rem; }
    .footer-main { grid-template-columns: 1fr; text-align: center; }
    .about-column .footer-logo, .about-column .footer-tagline { margin: 0 auto 1rem; }
    .footer-bottom { flex-direction: column; gap: 2rem; }
    .footer-copyright { order: 2; text-align: center; }
    .footer-socials { order: 1; }
    .article-hero { height: 40vh; }
    .article-title-heading { font-size: 2.5rem; }
    .article-body-container { margin-top: -3rem; padding: 1.5rem; }
    .plan-category-tabs { gap: 0.5rem; }
    .plan-category-tab { font-size: 1rem; padding: 0.6rem 1.2rem; }
    .hero-features-bar {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
        margin-top: 2.5rem;
        justify-content: center;
    }
    .hero-feature-item {
        justify-content: center;
        font-size: 0.95rem;
    }
    .hero-feature-item svg {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 320px) {
    .navbar {
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 600px) {
    .container { padding: 1rem; }
    .main-column-stack { gap: 1.2rem; }
    .product-detail-container { display: flex; flex-direction: column; gap: 1.2rem; }
    .product-main-content { border-radius: 10px; }
    .product-info-card { padding: 1.2rem; }
    .product-title-heading { font-size: 1.8rem; margin-bottom: 0.7rem; }
    .product-info-header { margin-bottom: 1.2rem; padding-bottom: 1.2rem; }
    .product-meta-details { gap: 0.5rem 1rem; }
    .product-description-content { font-size: 1rem; }
    .main-media-display { aspect-ratio: 16 / 10; }
    .media-thumbnails { gap: 0.5rem; padding: 0.5rem; }
    .thumbnail-item { width: 60px; height: 60px; }
    .product-sidebar { gap: 1rem; }
    .sidebar-card { padding: 1.2rem; border-radius: 10px; }
    .sidebar-price { font-size: 2.5rem; }
    .sidebar-buy-button { font-size: 1.1rem; padding: 0.8rem; border-radius: 6px; }
    .donation-links-list a { padding: 0.6rem 0.8rem; font-size: 1rem; }
    .log-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .log-meta { width: 100%; text-align: left; }
    .log-actions { justify-content: flex-start; margin-top: 1rem; }
    
    /* Testimonials responsive improvements */
    .testimonials-section { padding: 3rem 0; }
    .testimonial-card { 
        width: 320px; 
        padding: 1.5rem; 
        gap: 1rem; 
    }
    .testimonial-avatar { 
        width: 50px; 
        height: 50px; 
    }
    .testimonial-author .name { 
        font-size: 1rem; 
    }
    .testimonial-author .title { 
        font-size: 0.8rem; 
    }
    .testimonial-body { 
        font-size: 0.9rem; 
        line-height: 1.6; 
    }
    .marquee { 
        gap: 1.5rem; 
    }
    .hero-features-bar {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        justify-items: center;
    }
    .pricing-grid-vps {
        grid-template-columns: 1fr;
    }
    .pricing-card-vps {
        padding: 1.5rem;
    }
    .product-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .faq-hero h1 { font-size: 2.2rem; }
    .faq-hero p { font-size: 1rem; }
    .faq-search-container { margin-bottom: 1.5rem; }
    #faq-search { padding: 0.75rem 1rem; font-size: 1rem; }
    .faq-tabs { gap: 0.5rem; margin-bottom: 1.5rem; }
    .faq-tab { padding: 0.5rem 1.2rem; font-size: 0.9rem; }
    .faq-section { max-width: 100%; padding: 0 0.5rem; margin-bottom: 1.5rem; }
    .faq-question { font-size: 1rem; padding: 1.2rem 2.2rem 1.2rem 1rem; }
    html[dir="rtl"] .faq-question { padding: 1.2rem 1rem 1.2rem 2.2rem; }
    .faq-answer p { font-size: 0.95rem; }
    .hardware-section { 
        padding: 1rem 0.5rem; 
    }
    .hardware-table-container { 
        overflow-x: auto; 
        padding: 1rem; 
        margin-bottom: 1.5rem;
        -webkit-overflow-scrolling: touch;
    }
    .hardware-table { 
        font-size: 0.85rem; 
        min-width: 800px;
    }
    .hardware-table th {
        padding: 1rem 0.75rem;
        font-size: 0.9rem;
    }
    .hardware-table td { 
        padding: 1rem 0.75rem; 
        font-size: 0.85rem;
    }
}

/* --- Hardware Page Styles --- */
.hardware-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.hardware-table-container {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow-x: auto;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.hardware-table-container::-webkit-scrollbar {
    height: 10px;
}

.hardware-table-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.hardware-table-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 10px;
    border: 2px solid var(--card-bg);
}

.hardware-table-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.hardware-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 1rem;
    min-width: 900px;
}

.hardware-table thead {
    background: rgba(155, 93, 229, 0.1);
    border-bottom: 2px solid var(--primary-color);
}

.hardware-table th {
    padding: 1.25rem 1rem;
    text-align: left;
    font-weight: 700;
    color: var(--text-color);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

html[dir="rtl"] .hardware-table th {
    text-align: right;
}

.hardware-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    background: transparent;
}

.hardware-table tbody tr:hover {
    background: rgba(155, 93, 229, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(155, 93, 229, 0.1);
}

.hardware-table tbody tr:last-child {
    border-bottom: none;
}

.hardware-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.hardware-table tbody tr:nth-child(even):hover {
    background: rgba(155, 93, 229, 0.08);
}

.hardware-table td {
    padding: 1.25rem 1rem;
    color: var(--text-color-darker);
    vertical-align: middle;
    line-height: 1.6;
}

.hardware-table td:first-child {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
}

.hardware-table td:first-child strong {
    color: var(--primary-color);
    font-weight: 700;
}

@media (max-width: 768px) {
    .hardware-section {
        padding: 1rem 0.5rem;
    }
    
    .hardware-table-container {
        padding: 1rem;
    }
    
    .hardware-table {
        font-size: 0.85rem;
    }
    
    .hardware-table th,
    .hardware-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .hardware-contact-section {
        padding: 1.5rem 1rem;
    }
    
    .hardware-contact-section h2 {
        font-size: 1.5rem;
    }
    
    .hardware-contact-info p {
        font-size: 0.9rem;
    }
}

/* ============================================== */
/*          LOADING STATES & SKELETON LOADERS    */
/* ============================================== */
.skeleton {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.05) 25%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.05) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 1em;
    margin-bottom: 0.5rem;
}

.skeleton-title {
    height: 2em;
    width: 60%;
    margin-bottom: 1rem;
}

.skeleton-image {
    width: 100%;
    height: 200px;
    border-radius: 8px;
}

.skeleton-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
}

.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(155, 93, 229, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(14, 14, 16, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(10px);
}

/* ============================================== */
/*          AGGRESSIVE NO-SCROLL FIX              */
/* ============================================== */
body.nav-open {
    position: fixed !important;
    width: 100% !important;
    overflow: hidden !important;
}

/* --- About Page Discord Icon --- */
.discord-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    transition: background-color 0.2s, transform 0.2s;
    text-decoration: none;
}

.discord-link i {
    font-size: 24px;
    color: var(--text-color-darker);
    transition: color 0.2s, transform 0.2s;
}

.discord-link:hover {
    background-color: #5865F2;
    transform: translateY(-2px);
}

.discord-link:hover i {
    color: white;
    /* ADDED: Wiggle animation on hover */
    animation: wiggle 0.6s ease-in-out;
}

.discord-link:active i {
    animation: icon-pop 0.3s ease-out;
}

/* ADDED: Keyframes for the wiggle animation */
@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  50% { transform: rotate(10deg); }
  75% { transform: rotate(-5deg); }
}

@keyframes icon-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.25) rotate(5deg); } /* Added a slight rotation for more dynamic pop */
    100% { transform: scale(1); }
}

/* --- Discount Code Card Styles --- */
.discount-code-section {
    margin: 2rem auto;
}

.discount-code-card {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.discount-code-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(155, 93, 229, 0.3) !important;
}

.discount-code-wrapper {
    transition: all 0.3s ease;
}

.discount-code-wrapper:hover {
    border-color: rgba(155, 93, 229, 0.6) !important;
    box-shadow: 0 5px 20px rgba(155, 93, 229, 0.2);
}

.discount-copy-btn:hover {
    background: linear-gradient(135deg, #7b3fe4 0%, #9b5de5 100%) !important;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(155, 93, 229, 0.4);
}

.discount-copy-btn:active {
    transform: scale(0.95);
}

.discount-copy-btn svg {
    transition: transform 0.3s ease;
}

.discount-copy-btn:hover svg {
    transform: scale(1.1);
}

.exclusive-badge {
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(155, 93, 229, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 8px rgba(155, 93, 229, 0);
    }
}

/* RTL Support for Discount Code */
[dir="rtl"] .exclusive-badge {
    right: auto;
    left: 1rem;
    width: fit-content;
    min-width: 120px;
    max-width: 120px;
    justify-content: center;
}

.exclusive-badge {
    width: fit-content;
    min-width: 120px;
    max-width: 120px;
    justify-content: center;
}

[dir="rtl"] .discount-code-left {
    border-right: none;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

[dir="rtl"] .discount-code-left > div:first-of-type {
    right: auto;
    left: 0;
}

[dir="rtl"] .discount-code-left > div:not(:first-of-type) {
    right: auto;
    left: -4px;
}

/* Ensure discount code wrapper has consistent width in both directions */
.discount-code-wrapper {
    width: 100%;
}

#discount-code-container:hover {
    background: linear-gradient(135deg, rgba(155, 93, 229, 0.4) 0%, rgba(123, 63, 228, 0.4) 100%) !important;
    transform: scale(1.02);
}

#discount-code-container:active {
    transform: scale(0.98);
}

/* RTL Support */
[dir="rtl"] .discount-code-wrapper {
    flex-direction: row-reverse;
}

/* --- Comparison Table Styles --- */
.comparison-section {
    margin: 4rem 0;
}

.comparison-table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table thead th {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, rgba(28, 18, 48, 0.98) 0%, rgba(45, 30, 70, 0.98) 100%);
    z-index: 10;
}

.comparison-table tbody tr {
    transition: background-color 0.2s ease;
}

.comparison-table tbody tr:hover {
    background-color: rgba(155, 93, 229, 0.1);
}

.comparison-table tbody tr:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Responsive for Comparison Table */
@media (max-width: 768px) {
    .comparison-section {
        margin: 2rem 0;
        padding: 0 0.5rem !important;
    }
    
    .comparison-table-container {
        padding: 1rem !important;
        border-radius: 12px !important;
    }
    
    .comparison-table {
        font-size: 0.85rem;
    }
    
    .comparison-table thead th {
        padding: 0.75rem 0.5rem !important;
        font-size: 0.9rem !important;
    }
    
    .comparison-table thead th > div > div {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }
    
    .comparison-table tbody td {
        padding: 0.75rem 0.5rem !important;
        font-size: 0.9rem !important;
    }
    
    .comparison-table tbody td span {
        font-size: 1.2rem !important;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .discount-code-section {
        margin: 1.5rem auto;
        padding: 0 0.75rem !important;
    }
    
    .discount-code-card {
        padding: 0.75rem 1rem !important;
    }
    
    .discount-code-wrapper {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }
    
    .discount-code-wrapper > div:first-child {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
    }
    
    .discount-code-wrapper > div:first-child > span:first-child {
        align-self: flex-start;
    }
    
    #discount-code-container {
        width: 100%;
        text-align: center;
    }
    
    #discount-code-text {
        font-size: 0.9rem !important;
        letter-spacing: 1px !important;
    }
}

/* --- Game Servers Quick Navigation Bar --- */
.game-servers-nav-bar {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
    margin-bottom: 2.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.game-servers-nav-container {
    display: inline-flex;
    gap: 1rem;
    flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(28, 18, 48, 0.3) 0%, rgba(45, 30, 70, 0.3) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0.75rem 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.game-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.game-nav-btn:hover {
    background: rgba(155, 93, 229, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(155, 93, 229, 0.3);
}

.game-nav-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(155, 93, 229, 0.4);
}

.game-nav-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.game-nav-btn:hover .game-nav-icon,
.game-nav-btn.active .game-nav-icon {
    filter: brightness(1.2);
}

@media (max-width: 768px) {
    .game-servers-nav-container {
        gap: 0.5rem;
        padding: 0 1rem;
    }
    
    .game-nav-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        gap: 0.5rem;
    }
    
    .game-nav-icon {
        width: 24px;
        height: 24px;
    }
}

/* ================================================================== */
/*                  COMPREHENSIVE MOBILE OPTIMIZATIONS                 */
/* ================================================================== */

@media (max-width: 768px) {
    /* Body & Container */
    body {
        padding-top: 92px;
        font-size: 16px;
    }
    
    .container {
        padding: 1rem;
        max-width: 100%;
    }
    
    /* Navbar Mobile */
    .navbar {
        padding: 0.75rem 1rem;
    }
    
    .logo img {
        width: 120px;
        height: auto;
    }
    
    .nav-account-links {
        margin-left: 1rem;
    }
    
    .nav-account-btn {
        min-width: 100px;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .nav-account-btn svg {
        width: 18px;
        height: 18px;
    }
    
    /* Hero Section */
    .hero {
        padding: 2rem 1rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
        max-width: 100%;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    /* Payment Methods Bar */
    .payment-methods-bar {
        padding: 1rem;
        margin: 2rem auto 1.5rem;
    }
    
    .payment-methods-container {
        gap: 1rem;
    }
    
    .payment-method-item {
        width: 60px;
        height: 42px;
        padding: 0.4rem;
    }
    
    /* Section Titles */
    .section-title {
        padding: 2rem 1rem;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .section-title p {
        font-size: 0.95rem;
    }
    
    /* Service Cards */
    .game-showcase-section {
        padding: 2rem 0;
    }
    
    .game-showcase-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .game-feature-card {
        padding: 1.5rem;
    }
    
    .game-feature-card h3 {
        font-size: 1.25rem;
    }
    
    .game-feature-card p {
        font-size: 0.9rem;
    }
    
    /* RAM Calculator */
    .ram-calculator-section-index {
        margin: 2rem 0;
        padding: 0 1rem;
    }
    
    .ram-calc-container {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .calc-left-panel h2 {
        font-size: 1.25rem;
    }
    
    .calc-btn-index {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
    
    .calc-right-panel {
        margin-top: 1rem;
    }
    
    /* Discount Code */
    .discount-code-section {
        margin: 2rem auto;
        padding: 0 1rem;
    }
    
    .discount-code-card {
        padding: 0.75rem 1rem;
    }
    
    .discount-code-card h2 {
        font-size: 0.85rem;
    }
    
    .discount-code-card p {
        font-size: 0.7rem;
    }
    
    /* Comparison Table */
    .comparison-section {
        padding: 2rem 1rem;
        overflow-x: auto;
    }
    
    .comparison-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .comparison-table {
        min-width: 600px;
        font-size: 0.85rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }
    
    /* Testimonials */
    .testimonials-section {
        padding: 2rem 0;
    }
    
    .testimonials-marquee {
        gap: 1.5rem;
    }
    
    .testimonial-card {
        min-width: 280px;
        padding: 1.5rem;
    }
    
    /* Features Marquee */
    .features-section {
        padding: 2rem 0;
    }
    
    .features-marquee {
        gap: 1.5rem;
    }
    
    .feature-card {
        min-width: 280px;
        padding: 1.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    /* News Section */
    .latest-news-section {
        padding: 2rem 1rem;
    }
    
    .articles-grid-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .article-card-news-list {
        padding: 1rem;
    }
    
    /* Footer */
    .footer {
        padding: 3rem 1.5rem 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-column h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .btn-primary {
        padding: 0.75rem 1.5rem;
    }
    
    /* Interactive Tools */
    .interactive-tools-section {
        margin: 3rem 0;
        padding: 0 1rem;
    }
    
    .interactive-tools-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .interactive-tool-card {
        padding: 1.5rem;
    }
    
    .interactive-tool-card h3 {
        font-size: 1.25rem;
    }
    
    /* Featured Servers */
    .featured-servers-section {
        padding: 2rem 1rem;
    }
    
    .featured-servers-grid {
        gap: 0.75rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
    }
    
    .featured-server-card {
        min-width: 140px;
        padding: 0.75rem 1rem;
    }
    
    .server-logo {
        font-size: 0.85rem;
    }
    
    /* Plans Pages */
    .pricing-grid-container {
        padding: 1rem;
    }
    
    .product-card {
        padding: 1.5rem;
    }
    
    .product-name {
        font-size: 1.5rem;
    }
    
    /* Hardware Page */
    .hardware-section {
        padding: 1rem;
    }
    
    .hardware-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .hardware-table {
        min-width: 600px;
        font-size: 0.85rem;
    }
    
    /* FAQ Page */
    .faq-hero {
        padding: 2rem 1rem;
    }
    
    .faq-hero h1 {
        font-size: 1.75rem;
    }
    
    .faq-search-container {
        padding: 0 1rem;
    }
    
    .faq-tabs {
        padding: 0 1rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .faq-tab {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    .faq-item {
        padding: 1rem;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .faq-answer {
        padding: 1rem;
        font-size: 0.95rem;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    body {
        padding-top: 85px;
        font-size: 15px;
    }
    
    .container {
        padding: 0.75rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .game-feature-card {
        padding: 1.25rem;
    }
    
    .nav-account-btn {
        min-width: 85px;
        padding: 0.45rem 0.85rem;
        font-size: 0.8rem;
    }
    
    .nav-account-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .logo img {
        width: 100px;
    }
    
    .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .payment-method-item {
        width: 50px;
        height: 35px;
    }
    
    .comparison-table {
        min-width: 500px;
        font-size: 0.8rem;
    }
    
    .hardware-table {
        min-width: 500px;
        font-size: 0.8rem;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 1.5rem 1rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .navbar {
        padding: 0.5rem 1rem;
    }
    
    body {
        padding-top: 80px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .game-feature-card,
    .nav-account-btn,
    .game-nav-btn {
        -webkit-tap-highlight-color: rgba(155, 93, 229, 0.3);
        tap-highlight-color: rgba(155, 93, 229, 0.3);
    }
    
    .btn:active,
    .game-feature-card:active {
        transform: scale(0.98);
    }
    
    /* Remove hover effects on touch devices */
    .game-feature-card:hover {
        transform: none;
    }
    
    .interactive-tool-card:hover {
        transform: none;
    }
}