/*
Theme Name: Arkfall Gaming
Theme URI: https://arkfallgaming.com
Author: Arkfall Gaming
Author URI: https://arkfallgaming.com
Description: A premium dark gaming theme for Arkfall Gaming server with WooCommerce support.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: arkfallgaming
Tags: gaming, dark, woocommerce, custom-background, custom-logo, custom-menu, featured-images, threaded-comments

Arkfall Gaming WordPress Theme
Premium Gaming Community Theme
*/

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Scrollbar Styles */
* {
    scrollbar-width: thin;
    scrollbar-color: #00d4ff #111;
}

*::-webkit-scrollbar {
    width: 6px;
}

*::-webkit-scrollbar-track {
    background: #111;
}

*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00d4ff, #8b5cf6);
    border-radius: 3px;
}

/* Root Variables */
:root {
    --ark-dark: #0a0a0a;
    --ark-darker: #050505;
    --ark-card: #111111;
    --ark-primary: #00d4ff;
    --ark-secondary: #8b5cf6;
    --ark-accent: #c084fc;
    --ark-green: #22c55e;
    --ark-blue: #3b82f6;
    --ark-purple: #7c3aed;
    --ark-cyan: #00d4ff;
}

html {
    background: var(--ark-darker);
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--ark-dark);
    color: #e5e7eb;
    overflow-x: hidden;
    position: relative;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Font Classes */
.font-display {
    font-family: 'Bebas Neue', sans-serif;
}

.font-orbitron {
    font-family: 'Orbitron', sans-serif;
}

.font-rajdhani {
    font-family: 'Rajdhani', sans-serif;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 20px #00d4ff, 0 0 40px #00d4ff50, 0 0 60px #00d4ff30;
        filter: brightness(1);
    }
    50% {
        text-shadow: 0 0 40px #00d4ff, 0 0 80px #00d4ff80, 0 0 120px #00d4ff50;
        filter: brightness(1.2);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(1deg); }
    66% { transform: translateY(-8px) rotate(-1deg); }
}

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

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

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

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

@keyframes border-flow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(30px);
        /* filter: blur removed for performance - animated blur is GPU intensive */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scan-line {
    0% { transform: translateY(-100vh); }
    100% { transform: translateY(100vh); }
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* ============================================
   LAYOUT CONTAINERS
   ============================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 0% 100%, rgba(192, 132, 252, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #0a0a0a 0%, #111 50%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

/* ============================================
   TEXT EFFECTS
   ============================================ */
.glow-text {
    animation: glow 3s ease-in-out infinite;
}

.gradient-text {
    background: linear-gradient(
        135deg,
        #00d4ff 0%,
        #c084fc 20%,
        #00d4ff 40%,
        #8b5cf6 60%,
        #00d4ff 80%,
        #c084fc 100%
    );
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient 6s ease infinite;
}

.text-glow-orange {
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.text-outline {
    -webkit-text-stroke: 1px rgba(0, 212, 255, 0.3);
}

/* ============================================
   GLASS & CARD EFFECTS
   ============================================ */
.glass {
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
    /* backdrop-filter removed for performance - opacity increased to compensate */
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

/* Glass hover effect disabled - was causing distracting animation on checkout */
/*
.glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
    transition: left 0.6s ease;
}

.glass:hover::before {
    left: 100%;
}
*/

.glass-dark {
    background: rgba(5, 5, 5, 0.98);
    /* backdrop-filter removed for performance - opacity increased to compensate */
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

/* Product Cards */
.product-card {
    background: linear-gradient(165deg, #151515 0%, #0d0d0d 100%);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, transparent 40%, rgba(0, 212, 255, 0.3) 50%, transparent 60%);
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: border-flow 3s ease infinite;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 30px 60px -15px rgba(0, 0, 0, 0.6),
        0 0 50px rgba(0, 212, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.2);
}

.product-card:hover::before,
.product-card:hover::after {
    opacity: 1;
}

/* Featured Card */
.featured-card {
    background: linear-gradient(165deg, #1a1510 0%, #0d0d0d 100%);
    border-color: rgba(0, 212, 255, 0.15);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.05);
}

.featured-card::after {
    opacity: 0.5;
}

/* Card Image Section */
.card-image {
    position: relative;
    overflow: hidden;
}

.card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.03) 0%, transparent 60%);
    pointer-events: none;
}

.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80%;
    background: linear-gradient(to top, #151515, transparent);
    pointer-events: none;
}

/* Icon Wrapper Effects */
.icon-wrapper {
    transition: transform 0.3s ease;
}

.product-card:hover .icon-wrapper {
    transform: scale(1.15) translateY(-5px);
}

.icon-box {
    position: relative;
    transition: transform 0.2s ease;
}

.icon-box::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--icon-color, #00d4ff), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(10px);
}

.product-card:hover .icon-box::before {
    opacity: 0.6;
}

/* ============================================
   BADGES
   ============================================ */
.badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 6px;
}

.badge-free {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
}

.badge-discount {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.badge-popular {
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.badge-new {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 50%, #6d28d9 100%);
    background-size: 200% auto;
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    transition: background-position 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.btn-primary:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow:
        0 15px 35px rgba(0, 212, 255, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.3);
    color: white;
}

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

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-discord {
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
    color: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.btn-discord:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(88, 101, 242, 0.4);
    color: white;
}

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

.btn-outline {
    background: transparent;
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: #00d4ff;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-outline::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.btn-outline:hover {
    border-color: #00d4ff;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
    color: #00d4ff;
}

.btn-outline:hover::before {
    opacity: 1;
}

/* ============================================
   FEATURE ICONS
   ============================================ */
.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: transform 0.3s ease;
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: inherit;
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

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

.feature-card:hover .feature-icon::after {
    opacity: 0.5;
}

/* ============================================
   INFO BOXES
   ============================================ */
.info-box {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08) 0%, rgba(0, 212, 255, 0.02) 100%);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #00d4ff, #8b5cf6, #00d4ff);
    background-size: 100% 200%;
    animation: gradient 3s ease infinite;
}

.info-box::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.03) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #00d4ff, #8b5cf6, transparent);
    border-radius: 2px;
}

.section-subtitle {
    position: relative;
    display: inline-block;
}

.section-subtitle::before {
    content: '//';
    margin-right: 8px;
    color: #00d4ff;
    font-weight: bold;
}

.fancy-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), rgba(139, 92, 246, 0.2), transparent);
    position: relative;
}

.fancy-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #00d4ff;
    border-radius: 50%;
    box-shadow: 0 0 20px #00d4ff;
}

/* ============================================
   STATUS INDICATORS
   ============================================ */
.status-online {
    position: relative;
    display: inline-block;
}

.status-online::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-ring 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ============================================
   LOGO & BRANDING
   ============================================ */
.logo-container {
    position: relative;
}

.logo-container::before {
    content: '';
    position: absolute;
    inset: -6px;
    background: linear-gradient(135deg, #00d4ff, #8b5cf6, #00d4ff);
    border-radius: 18px;
    opacity: 0;
    transition: opacity 0.4s ease;
    filter: blur(15px);
    z-index: -1;
}

.logo-container:hover::before {
    opacity: 0.7;
}

.main-logo-box {
    position: relative;
    overflow: hidden;
}

.main-logo-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d4ff, #c084fc, #00d4ff, transparent);
}

.main-logo-box::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #8b5cf6, #00d4ff, #8b5cf6, transparent);
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
    animation: scan-line 4s linear infinite;
    pointer-events: none;
    will-change: transform;
}

/* ============================================
   FLOATING ELEMENTS
   ============================================ */
.floating {
    animation: float 8s ease-in-out infinite;
}

.floating-delay-1 { animation-delay: -2s; }
.floating-delay-2 { animation-delay: -4s; }
.floating-delay-3 { animation-delay: -6s; }

/* ============================================
   PRICE STYLES
   ============================================ */
.price-tag {
    font-family: 'Orbitron', sans-serif;
    font-weight: 800;
    letter-spacing: -1px;
}

.price-strike {
    text-decoration: line-through;
    color: #4b5563;
    font-size: 14px;
    font-weight: 400;
}

.price-badge {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.1) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

/* ============================================
   TIER BADGES
   ============================================ */
.tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 1px solid;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   UTILITY CLASSES
   ============================================ */
.border-gradient {
    border: 1px solid transparent;
    background: linear-gradient(#0a0a0a, #0a0a0a) padding-box,
                linear-gradient(135deg, rgba(0, 212, 255, 0.3), transparent 50%) border-box;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #9ca3af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ============================================
   NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    transition: box-shadow 0.3s ease;
}

/* Custom logo alignment */
.custom-logo-link {
    display: flex;
    align-items: center;
    height: 100%;
}

.custom-logo {
    height: 40px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* WordPress Admin Bar Offset */
.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

/* Adjust hero section padding when admin bar is present */
.admin-bar .hero-section {
    padding-top: calc(6rem + 32px);
}

@media screen and (max-width: 782px) {
    .admin-bar .hero-section {
        padding-top: calc(6rem + 46px);
    }
}

.site-header.scrolled {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.nav-link {
    padding: 8px 16px;
    color: #9ca3af;
    border-radius: 8px;
    transition: color 0.2s ease, background-color 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

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

.nav-link.current-menu-item,
.nav-link.current_page_item {
    color: white;
}

/* ============================================
   Z-INDEX STACKING FIX FOR USER DROPDOWN
   Using JavaScript portal approach - dropdown is moved to body level
   ============================================ */

/* Top bar */
#top-bar {
    z-index: 100;
    position: fixed;
}

/* Main navigation */
#masthead.site-header,
.site-header {
    z-index: 50;
}

/* Portal dropdown styles - rendered at body level via JavaScript */
#user-dropdown-portal {
    z-index: 99999 !important;
}

#user-dropdown-portal > div {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

/* ============================================
   SHOP PAGE STYLES
   ============================================ */

/* Shop Controls Bar */
.shop-controls {
    background: rgba(10, 10, 10, 0.95);
    /* backdrop-filter removed for performance */
}

.shop-controls .woocommerce-result-count {
    display: none; /* Hidden - we show our own count */
}

.shop-controls .woocommerce-ordering {
    margin: 0;
}

.shop-controls .woocommerce-ordering select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e5e5e5;
    padding: 0.625rem 2.5rem 0.625rem 1rem;
    border-radius: 10px;
    font-size: 0.875rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.shop-controls .woocommerce-ordering select:hover {
    border-color: rgba(0, 212, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.08);
}

.shop-controls .woocommerce-ordering select:focus {
    outline: none;
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.shop-controls .woocommerce-ordering select option {
    background: #1a1a1a;
    color: #e5e5e5;
    padding: 0.5rem;
}

/* Enhanced Product Card Styles */
.products-grid .product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.products-grid .product-card .p-6 {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.products-grid .product-card .mb-5 {
    margin-top: auto;
}

/* Add to Cart Button Loading State */
.product-card .btn-primary.loading {
    pointer-events: none;
    opacity: 0.7;
}

.product-card .btn-primary.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
}

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

/* Added to Cart State */
.product-card .btn-primary.added {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.product-card .btn-primary.added i::before {
    content: "\eb7a"; /* Remix check-line icon */
    font-family: 'remixicon' !important;
}

/* Add to Cart Wrapper */
.afg-add-to-cart-wrapper {
    margin-top: auto;
}

.afg-add-to-cart-wrapper .btn-primary {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* Pagination Styles */
.woocommerce-pagination {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.woocommerce-pagination ul.page-numbers {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-pagination .page-numbers li {
    margin: 0;
}

.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #9ca3af;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.woocommerce-pagination .page-numbers a:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    color: #00d4ff;
}

.woocommerce-pagination .page-numbers span.current {
    background: linear-gradient(135deg, #00d4ff, #7c3aed);
    border-color: transparent;
    color: white;
}

.woocommerce-pagination .page-numbers .prev,
.woocommerce-pagination .page-numbers .next {
    font-size: 1.25rem;
}

/* Price Styling Improvements */
.product-card .price-tag {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.product-card .price-strike {
    color: #6b7280;
    text-decoration: line-through;
    font-size: 1rem;
    margin-right: 0.5rem;
}

/* Tier Badge */
.tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid;
}

/* Shop Page Responsive */
@media (max-width: 640px) {
    .shop-hero {
        padding-top: 8rem;
        padding-bottom: 2rem;
    }

    .shop-hero h1 {
        font-size: 2rem !important;
    }

    .shop-controls {
        flex-direction: column;
        text-align: center;
    }

    .shop-filters {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   SINGLE PRODUCT PAGE
   ============================================ */

/* Main wrapper */
.single-product-page {
    position: relative;
}

/* Product Image Card */
.product-image-card {
    background: linear-gradient(165deg, #151515 0%, #0d0d0d 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-image-card.featured {
    border-color: rgba(0, 212, 255, 0.2);
    box-shadow: 0 0 60px rgba(0, 212, 255, 0.05);
}

/* Icon glow effect */
.icon-glow-wrapper {
    animation: pulse-glow 3s ease-in-out infinite;
}

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

.icon-glow {
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

.icon-box-large {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-image-card:hover .icon-box-large {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.2);
}

/* Price Card */
.product-price-card {
    background: linear-gradient(165deg, rgba(0, 212, 255, 0.08) 0%, rgba(15, 15, 15, 0.95) 100%);
    border: 1px solid rgba(0, 212, 255, 0.15);
    /* backdrop-filter removed for performance - opacity increased */
}

.product-price-card .woocommerce-Price-amount {
    font-family: 'Rajdhani', sans-serif;
}

/* Add to Cart styling */
.product-add-to-cart .single_add_to_cart_button {
    width: 100%;
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 50%, #6d28d9 100%);
    background-size: 200% 200%;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: background-position 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.product-add-to-cart .single_add_to_cart_button::before {
    content: '\f118';
    font-family: 'remixicon' !important;
}

.product-add-to-cart .single_add_to_cart_button:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

.product-add-to-cart .single_add_to_cart_button:active {
    transform: translateY(0);
}

/* Quantity input */
.product-add-to-cart .quantity {
    margin-bottom: 1rem;
}

.product-add-to-cart .quantity .qty {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    width: 100%;
    max-width: 120px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
}

.product-add-to-cart .quantity .qty:focus {
    outline: none;
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

/* Trust badges */
.trust-badge {
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.trust-badge:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.trust-badge i {
    display: block;
}

/* Related Products Section */
.related-products-section {
    margin-top: 4rem;
}

.related-products-section section.related {
    width: 100%;
}

/* Override any WooCommerce .products default styles */
.related-products-section section.related.products {
    margin: 0 !important;
    padding: 0 !important;
}

.related-products-section section.related.products::before,
.related-products-section section.related.products::after {
    content: '' !important;
    display: table !important;
    clear: both !important;
}

.related-products-section section.related > h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.related-products-section section.related > h2::before {
    content: '\f186';
    font-family: 'remixicon' !important;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #00d4ff;
    font-size: 1rem;
}

/* Related products grid */
.related-products-section .related-products-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem !important;
    width: 100% !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Reset WooCommerce product float styles inside related products */
.related-products-section .related-products-grid .product-card,
.related-products-section .related-products-grid > .product {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    clear: none !important;
}

/* Ensure product cards stretch to fill grid cells */
.related-products-section .related-products-grid .product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.related-products-section .related-products-grid .product-card .p-6 {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.related-products-section .related-products-grid .product-card .mb-5 {
    margin-top: auto;
}

@media (max-width: 1280px) {
    .related-products-section .related-products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 1024px) {
    .related-products-section .related-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 640px) {
    .related-products-section .related-products-grid {
        grid-template-columns: 1fr !important;
    }
}


/* WooCommerce form overrides for single product */
.single-product-content .cart {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.single-product-content .cart .quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.single-product-content .cart .quantity label {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Variations styling */
.single-product-content .variations {
    width: 100%;
    margin-bottom: 1rem;
}

.single-product-content .variations tr {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.single-product-content .variations .label {
    font-weight: 600;
    color: white;
    font-size: 0.875rem;
}

.single-product-content .variations select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    width: 100%;
    cursor: pointer;
}

.single-product-content .variations select:focus {
    outline: none;
    border-color: rgba(0, 212, 255, 0.5);
}

/* Single Product Responsive */
@media (max-width: 1024px) {
    .single-product-page {
        padding-top: 160px !important;
    }
}

@media (max-width: 640px) {
    .single-product-page {
        padding-top: 140px !important;
    }

    .single-product-content h1 {
        font-size: 2rem !important;
    }

    .product-price-card .text-5xl {
        font-size: 2.5rem !important;
    }

    .trust-badge {
        padding: 0.75rem 0.5rem;
    }

    .trust-badge p {
        font-size: 0.65rem;
    }
}

/* ============================================
   BACK TO TOP
   ============================================ */
#backToTop {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #00d4ff, #6d28d9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    border: none;
    z-index: 50;
}

#backToTop:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.5);
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   AMBIENT BACKGROUND
   ============================================ */
.ambient-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    /* Reduced from 100px for performance */
}

.ambient-orb-1 {
    top: -160px;
    left: -160px;
    width: 500px;
    height: 500px;
    background: rgba(0, 212, 255, 0.07);
}

.ambient-orb-2 {
    top: 33%;
    right: -160px;
    width: 400px;
    height: 400px;
    background: rgba(139, 92, 246, 0.05);
}

.ambient-orb-3 {
    bottom: -160px;
    left: 33%;
    width: 450px;
    height: 450px;
    background: rgba(192, 132, 252, 0.04);
}

.ambient-orb-4 {
    top: 66%;
    left: 25%;
    width: 300px;
    height: 300px;
    background: rgba(124, 58, 237, 0.03);
    filter: blur(50px);
    /* Reduced from 80px for performance */
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--ark-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 64px 0;
}

.footer-link {
    color: #6b7280;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-link:hover {
    color: var(--ark-primary);
}

.footer-social {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #9ca3af;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-social:hover {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   WORDPRESS SPECIFIC
   ============================================ */
.entry-content {
    max-width: 800px;
    margin: 0 auto;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: white;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.entry-content a {
    color: var(--ark-primary);
    text-decoration: underline;
}

.entry-content a:hover {
    color: var(--ark-accent);
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 3rem 0;
}

.pagination a,
.pagination span {
    padding: 10px 16px;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pagination a {
    background: rgba(255, 255, 255, 0.05);
    color: #9ca3af;
}

.pagination a:hover {
    background: var(--ark-primary);
    color: white;
}

.pagination .current {
    background: var(--ark-primary);
    color: white;
}

/* Comments */
.comments-area {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 12px;
}

.comment-author {
    font-weight: 600;
    color: white;
}

.comment-meta {
    font-size: 12px;
    color: #6b7280;
}

/* ============================================
   DONATION GOAL
   ============================================ */
.donation-goal-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.donation-goal-card:hover {
    transform: translateY(-2px);
}

/* Animated shine effect on progress bar */
@keyframes donation-shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(400%);
    }
}

.donation-shine {
    animation: donation-shine 3s ease-in-out infinite;
}

/* Pulse animation when goal is complete */
@keyframes donation-complete-pulse {
    0%, 100% {
        box-shadow: 0 0 20px currentColor;
    }
    50% {
        box-shadow: 0 0 40px currentColor, 0 0 60px currentColor;
    }
}

.donation-progress-bar.complete {
    animation: donation-complete-pulse 2s ease-in-out infinite;
}

/* ============================================
   SINGLE SERVER PAGE
   ============================================ */
.single-server-page {
    background: var(--ark-darker);
    position: relative;
}

/* Server Header Card */
.server-header-card {
    background: linear-gradient(165deg, rgba(21, 21, 21, 0.95) 0%, rgba(13, 13, 13, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 80px -20px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.server-header-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--server-color), transparent);
    pointer-events: none;
}

.server-icon-large {
    transition: transform 0.3s ease;
}

.server-header-card:hover .server-icon-large {
    transform: scale(1.05);
}

/* Connect Buttons */
.server-connect-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #00d4ff 0%, #7c3aed 50%, #6d28d9 100%);
    color: white;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 14px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 25px -5px rgba(0, 212, 255, 0.4);
    text-decoration: none;
}

.server-connect-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px -5px rgba(0, 212, 255, 0.5);
}

.server-connect-btn.disabled {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.7;
}

.server-copy-ip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.05);
    color: #9ca3af;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.server-copy-ip-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.server-copy-ip-btn.copied {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.4);
    color: #22c55e;
}

/* Server Stat Cards */
.server-stat-card {
    background: linear-gradient(165deg, rgba(21, 21, 21, 0.9) 0%, rgba(13, 13, 13, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.server-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--server-color, #00d4ff), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.server-stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.4);
}

.server-stat-card:hover::before {
    opacity: 1;
}

.server-stat-card .stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 212, 255, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--server-color, #00d4ff);
    font-size: 20px;
}

.server-stat-card .stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.server-stat-card .stat-divider {
    color: #4b5563;
    margin: 0 2px;
}

.server-stat-card .stat-label {
    color: #6b7280;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

.server-stat-card .stat-extra {
    font-size: 0.7rem;
    margin-top: 6px;
}

/* Server Details Card */
.server-details-card {
    background: linear-gradient(165deg, rgba(21, 21, 21, 0.9) 0%, rgba(13, 13, 13, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.server-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    transition: background 0.3s ease;
}

.server-detail-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.server-detail-row .detail-label {
    color: #6b7280;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
}

.server-detail-row .detail-label i {
    color: var(--server-color, #00d4ff);
    opacity: 0.7;
}

.server-detail-row .detail-value {
    color: white;
    font-weight: 500;
    font-size: 0.875rem;
}

/* Feature Cards */
.feature-card-item {
    background: linear-gradient(165deg, rgba(21, 21, 21, 0.9) 0%, rgba(13, 13, 13, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card-item:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.1);
}

.feature-card-item .feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 212, 255, 0.05));
    background: linear-gradient(135deg, color-mix(in srgb, var(--card-color, #00d4ff) 15%, transparent), color-mix(in srgb, var(--card-color, #00d4ff) 5%, transparent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--card-color, #00d4ff);
}

.feature-card-item .feature-title {
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 4px;
}

.feature-card-item .feature-subtitle {
    color: #6b7280;
    font-size: 0.75rem;
}

/* Quick Connect Card */
.quick-connect-card {
    background: linear-gradient(165deg, rgba(21, 21, 21, 0.95) 0%, rgba(13, 13, 13, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.connect-method {
    margin-bottom: 12px;
}

.connect-method:last-child {
    margin-bottom: 0;
}

.connect-label {
    display: block;
    color: #6b7280;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.connect-value-wrap {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.connect-code {
    flex: 1;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 10px 14px;
    color: #d1d5db;
    font-size: 0.8rem;
    font-family: 'Fira Code', 'Consolas', monospace;
    word-break: break-all;
}

.copy-btn {
    flex-shrink: 0;
    width: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #9ca3af;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    background: var(--server-color, #00d4ff);
    border-color: var(--server-color, #00d4ff);
    color: white;
}

.copy-btn.copied {
    background: #22c55e;
    border-color: #22c55e;
    color: white;
}

/* Event Banner Card */
.event-banner-card {
    background: linear-gradient(165deg, rgba(21, 21, 21, 0.95) 0%, rgba(13, 13, 13, 0.98) 100%);
    border: 1px solid var(--event-color, #00d4ff);
    position: relative;
    overflow: hidden;
}

.event-banner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, color-mix(in srgb, var(--event-color, #00d4ff) 10%, transparent), transparent);
    pointer-events: none;
}

.event-banner-card .event-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: linear-gradient(135deg, color-mix(in srgb, var(--event-color, #00d4ff) 20%, transparent), color-mix(in srgb, var(--event-color, #00d4ff) 5%, transparent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--event-color, #00d4ff);
}

.event-banner-card .event-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--event-color, #00d4ff);
    margin-bottom: 4px;
}

.event-banner-card .event-title {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
}

.event-banner-card .event-desc {
    color: #9ca3af;
    font-size: 0.8rem;
}

/* Player Slots Card */
.player-slots-card {
    background: linear-gradient(165deg, rgba(21, 21, 21, 0.95) 0%, rgba(13, 13, 13, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.slots-progress-wrap {
    text-align: center;
}

.slots-progress-bar {
    height: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 12px;
}

.slots-progress-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.5s ease;
    position: relative;
}

.slots-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

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

.slots-info {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    color: white;
}

.slots-current {
    font-weight: 700;
}

.slots-divider {
    color: #4b5563;
    margin: 0 4px;
}

.slots-max {
    color: #6b7280;
}

.slots-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* Discord CTA Card */
.discord-cta-card {
    background: linear-gradient(165deg, rgba(88, 101, 242, 0.1) 0%, rgba(13, 13, 13, 0.95) 100%);
    border: 1px solid rgba(88, 101, 242, 0.3);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.discord-cta-card:hover {
    transform: translateY(-3px);
    border-color: rgba(88, 101, 242, 0.5);
    box-shadow: 0 15px 40px -10px rgba(88, 101, 242, 0.2);
}

.discord-cta-card .discord-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.2), rgba(88, 101, 242, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #5865f2;
}

.discord-cta-card .discord-title {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.discord-cta-card .discord-desc {
    color: #6b7280;
    font-size: 0.8rem;
}

/* Player List Card */
.player-list-card {
    background: linear-gradient(165deg, rgba(21, 21, 21, 0.95) 0%, rgba(13, 13, 13, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.player-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6b7280;
}

.player-list-body {
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.player-list-body::-webkit-scrollbar {
    width: 6px;
}

.player-list-body::-webkit-scrollbar-track {
    background: transparent;
}

.player-list-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.player-list-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.player-list-body.expanded {
    max-height: none;
}

.player-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: background 0.2s ease;
}

.player-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.player-row:last-child {
    border-bottom: none;
}

.player-row-hidden {
    display: none;
}

.player-name {
    color: #d1d5db;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 70%;
}

.player-name i {
    color: var(--server-color, #00d4ff);
}

.player-time {
    color: #6b7280;
    font-size: 0.75rem;
    font-family: 'Fira Code', 'Consolas', monospace;
    flex-shrink: 0;
}

.player-row-more {
    padding: 12px 16px;
    text-align: center;
    color: var(--server-color, #00d4ff);
    font-size: 0.8rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
    cursor: pointer;
}

.player-list-loading,
.player-list-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.player-list-empty.hidden,
.player-list-body.hidden {
    display: none;
}

/* Single Server Page Responsive */
@media (max-width: 1024px) {
    .single-server-page {
        padding-top: 160px !important;
    }

    .server-header-card {
        padding: 1.5rem !important;
    }

    .server-icon-large {
        width: 64px !important;
        height: 64px !important;
    }

    .server-icon-large i {
        font-size: 2rem !important;
    }
}

@media (max-width: 640px) {
    .single-server-page {
        padding-top: 140px !important;
    }

    .server-header-card h1 {
        font-size: 1.5rem !important;
    }

    .server-stat-card .stat-value {
        font-size: 1.25rem;
    }

    .server-connect-btn,
    .server-copy-ip-btn {
        width: 100%;
        justify-content: center;
    }

    .player-list-body {
        max-height: 300px;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem !important;
    }

    .hero-subtitle {
        font-size: 3.5rem !important;
    }
}

/* ============================================
   REDUCED MOTION (Accessibility)
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .scan-line,
    .floating,
    .ambient-orb {
        animation: none !important;
    }

    /* Hide expensive blur effects in reduced motion mode */
    .ambient-orb {
        opacity: 0.5;
        filter: none !important;
    }
}

/* ============================================
   PRODUCT DESCRIPTION FORMATTING
   ============================================ */
.wc-product-description {
    line-height: 1.8;
}

.wc-product-description p {
    margin-bottom: 1rem;
}

.wc-product-description h2,
.wc-product-description h3,
.wc-product-description h4 {
    color: white;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.wc-product-description h2 {
    font-size: 1.5rem;
}

.wc-product-description h3 {
    font-size: 1.25rem;
}

.wc-product-description h4 {
    font-size: 1.125rem;
}

.wc-product-description ul,
.wc-product-description ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.wc-product-description ul {
    list-style-type: disc;
}

.wc-product-description ol {
    list-style-type: decimal;
}

.wc-product-description li {
    margin-bottom: 0.5rem;
    color: #9ca3af;
}

.wc-product-description li::marker {
    color: #00d4ff;
}

.wc-product-description ul ul,
.wc-product-description ol ol,
.wc-product-description ul ol,
.wc-product-description ol ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.wc-product-description ul ul {
    list-style-type: circle;
}

.wc-product-description strong,
.wc-product-description b {
    color: white;
    font-weight: 600;
}

.wc-product-description a {
    color: #00d4ff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.wc-product-description a:hover {
    color: #38bdf8;
}
