* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0000 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    scroll-padding-top: 80px;
    padding-top: 80px; /* ADD THIS LINE - CRITICAL FOR FIXED HEADER */
}


/* Fade Up Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Make all sections transparent */
.features,
.commands,
.premium,
.stats {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    background: transparent !important;
}

.features.visible,
.commands.visible,
.premium.visible,
.stats.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== FIXED STICKY HEADER ===== */
/* ===== FIXED HEADER - GUARANTEED TO WORK ===== */
header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    padding: 12px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10000 !important;
    
    /* Glass effect */
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.2), rgba(0, 0, 0, 0.3)) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid rgba(255, 0, 0, 0.4) !important;
    
    /* Strong shadow so you can see it */
    box-shadow: 0 5px 25px rgba(255, 0, 0, 0.3) !important;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ff4444;
    text-shadow: 0 0 12px rgba(255, 68, 68, 0.6);
    flex-shrink: 0;
}

/* Navigation container */
nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
}

nav a:hover {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.15);
}

/* Header right container - FIXED */
.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0; /* ADD THIS LINE */
}

/* Discord button - FIXED */
.discord-header-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff4444, #ff0000);
    color: white;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 68, 68, 0.4);
    font-size: 0.95rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.discord-header-btn:hover {
    background: linear-gradient(135deg, #ff6666, #ff3333);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 68, 68, 0.6);
}

/* === FIXED HEADER ALIGNMENT + MOBILE MENU BUTTON === */

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 40px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.2), rgba(0, 0, 0, 0.3));
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 0, 0, 0.4);
}

/* Ensure logo and nav align in one line */
header .logo {
  flex-shrink: 0;
  font-size: 1.8rem;
  color: #ff4444;
}

/* Center nav links properly */
header nav {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Right side (Discord button, etc.) */
.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
}

/* --- MOBILE --- */
@media (max-width: 768px) {}
  header {
    padding: 12px 20px;
  }

  /* Align logo and button in one line */
  header {
    justify-content: space-between;
  }

  .logo {
    font-size: 1.5rem;
  }

/* Mobile menu button - CLEAN VERSION */
.mobile-menu-btn {
    display: none;
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 5px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    border: none;
    z-index: 10003;
}

/* Mobile Discord link - hidden on desktop */
.mobile-discord-link {
    display: none;
}

/* Desktop Discord button - hidden on mobile */
.desktop-discord-btn {
    display: flex;
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
    /* Header layout for mobile */
    header {
        padding: 15px 20px !important;
        height: 70px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    
    /* Logo positioning */
    .logo {
        font-size: 1.5rem;
        position: relative;
        z-index: 10003;
    }
    
    /* Navigation container */
    nav {
        display: flex;
        align-items: center;
        position: relative;
        margin-left: auto; /* Push nav to the right */
    }
    
    /* Mobile menu button - PROPERLY POSITIONED */
    .mobile-menu-btn {
        display: flex !important;
        position: relative;
    }
    
    /* Hide desktop navigation on mobile */
    nav ul {
        display: none;
        position: fixed;
        top: 90px; /* CHANGED: 70px + 20px = 90px to move down 20px */
        left: 0;
        width: 100%;
        height: calc(100vh - 90px); /* CHANGED: Adjusted height to match new top position */
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 30px 20px;
        border-top: 2px solid rgba(255, 0, 0, 0.3);
        z-index: 10002;
        overflow-y: auto;
        flex-direction: column;
        gap: 0;
    }
    
    /* Show mobile navigation when toggled */
    nav ul.show {
        display: flex !important;
    }
    
    /* Mobile menu items */
    nav ul li {
        width: 100%;
        margin-bottom: 10px;
    }
    
    nav ul li a {
        display: block;
        padding: 15px 20px;
        text-align: center;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 0, 0, 0.2);
        font-size: 1.1rem;
    }
    
    nav ul li a:hover {
        background: rgba(255, 0, 0, 0.2);
        transform: translateY(-2px);
    }
    
    /* Mobile Discord link styling */
    .mobile-discord-link {
        display: block;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 0, 0, 0.3);
    }
    
    .mobile-discord-link .discord-header-btn {
        width: 100%;
        justify-content: center;
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    
    /* Hide desktop Discord button and header-right on mobile */
    .header-right {
        display: none !important;
    }
    
    .desktop-discord-btn {
        display: none !important;
    }
    
    /* Adjust header padding for mobile */
    header {
        padding: 10px 15px !important;
    }
}

/* Ensure mobile menu button is hidden on desktop */
@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none !important;
    }
    
    nav ul {
        display: flex !important;
    }
    
    .mobile-discord-link {
        display: none !important;
    }
    
    .desktop-discord-btn {
        display: flex !important;
    }
    
    .header-right {
        display: flex !important;
    }
}
/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 20px 100px;
    position: relative;
    min-height: 80vh;
    background: transparent !important;
    
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

/* Shiny Moving Gradient for Main Title */
.hero-content h1 {
    font-size: 3.3rem;
    margin-bottom: 20px;
    background: linear-gradient(
        90deg,
        #ff0000,
        #ff3333,
        #ff6666,
        #ff9999,
        #ff6666,
        #ff3333,
        #ff0000
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 
        0 0 15px rgba(255, 0, 0, 0.5),
        0 0 30px rgba(255, 0, 0, 0.3);
    animation: shinyGradient 10s ease-in-out infinite;
    font-weight: 800;
    position: relative;
}

@keyframes shinyGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    line-height: 1.6;
    color: #e0e0e0;
}

.divider {
    height: 3px;
    width: 100px;
    background: linear-gradient(90deg, #ff0000, #ff3333);
    margin: 30px auto;
    border-radius: 10px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn, .discord-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-btn {
    background: #ff0000;
    color: white;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.6);
    background: #cc0000;
}

.discord-btn {
    background: transparent;
    color: white;
    border: 2px solid #ff0000;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.2);
}

.discord-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.4);
    background: rgba(255, 0, 0, 0.1);
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.05);
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 10%;
    left: 10%;
    animation: float 15s infinite ease-in-out;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 10%;
    animation: float 18s infinite ease-in-out reverse;
}

.shape-3 {
    width: 70px;
    height: 70px;
    top: 60%;
    left: 80%;
    animation: float 12s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* Features Section */
.features {
    padding: 100px 20px;
    background: transparent !important;
}

.features h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    color: #ff0000;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 0, 0, 0.2);
    text-align: center;
}

.feature:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.2);
}

.feature i {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #ff0000;
}

.feature h3 {
    margin-bottom: 15px;
    color: #ff3333;
    font-size: 1.5rem;
}

.feature p {
    color: #cccccc;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Commands Section */
.commands {
    padding: 100px 20px;
    background: transparent !important;
}

.commands h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    color: #ff0000;
}

.commands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.command-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.command-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.15);
}

/* Premium command cards - GRADIENT BACKGROUND */
.command-card.premium {
    border-color: #ffd700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 0, 0, 0.1)) !important;
}

.command-card.premium:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 0, 0, 0.2)) !important;
    border-color: #ffed4a;
}

.premium-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #ffd700;
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.command-card h3 {
    color: #ff3333;
    margin-bottom: 15px;
    font-family: 'Courier New', monospace;
    font-size: 1.3rem;
}

.command-card p {
    color: #cccccc;
    margin-bottom: 20px;
    line-height: 1.5;
}

.command-params {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.param {
    background: rgba(255, 0, 0, 0.2);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    color: #ff6666;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

/* Premium Section */
.premium {
    padding: 100px 20px;
    background: transparent !important;
}

.premium-container {
    max-width: 1200px;
    margin: 0 auto;
}

.premium h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    color: #ffd700;
}

.premium-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.premium-feature {
    text-align: center;
    padding: 30px 20px;
}

.premium-feature i {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 20px;
}

.premium-feature h3 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.premium-feature p {
    color: #cccccc;
    line-height: 1.5;
}

.pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 0, 0, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    border-color: #ffd700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 0, 0, 0.1));
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffd700;
    color: #000;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.pricing-card h3 {
    color: #ff3333;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    color: #ff0000;
    margin-bottom: 30px;
}

.price span {
    font-size: 1.2rem;
    color: #cccccc;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-card li {
    color: #cccccc;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-card li i.fa-check {
    color: #00ff00;
}

.pricing-card li i.fa-times {
    color: #ff0000;
}

.premium-btn {
    display: inline-block;
    background: #ffd700;
    color: #000;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.premium-btn:hover {
    background: #ffed4a;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

/* Stats Section */
.stats {
    padding: 80px 20px;
    background: transparent !important;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stat {
    padding: 30px 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #ff0000;
    margin-bottom: 10px;
}

.stat-label {
    color: #cccccc;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: transparent !important;
    padding: 50px 20px 20px;
    border-top: none !important;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-section h3 {
    color: #ff0000;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p, .footer-section a {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
}

.footer-section a:hover {
    color: #ff0000;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 0, 0, 0.3);
    color: #888;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        gap: 15px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .features-container,
    .commands-grid,
    .premium-features,
    .pricing,
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
}

/* Red Snow Effect */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1; /* Keep this lower than header */
    overflow: hidden;
}


.snowflake {
    position: absolute;
    top: -10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff0000, #ff4444, #ff6666);
    box-shadow: 
        0 0 5px rgba(255, 0, 0, 0.3),
        0 0 10px rgba(255, 0, 0, 0.2);
    animation: fall linear infinite;
    will-change: transform, opacity;
}

@keyframes fall {
    0% {
        transform: translateY(-10px) rotate(0deg);
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Ensure content stays above snow */
header, .hero, .features, .commands, .premium, .stats, footer {
    position: relative;
    z-index: 2;
}


/* Verify Button Hover Effects */
.cta-btn[style*="background: linear-gradient(135deg, #5865F2, #4752c4)"] {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.cta-btn[style*="background: linear-gradient(135deg, #5865F2, #4752c4)"]:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #4752c4, #3c45a5) !important;
    box-shadow: 
        0 10px 25px rgba(88, 101, 242, 0.6),
        0 0 30px rgba(88, 101, 242, 0.4),
        0 0 50px rgba(88, 101, 242, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Add a glowing ring effect on hover */
.cta-btn[style*="background: linear-gradient(135deg, #5865F2, #4752c4)"]:hover::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #5865F2, #4752c4, #5865F2);
    border-radius: 50px;
    z-index: -1;
    animation: rotate 3s linear infinite;
    opacity: 0.7;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Add a subtle pulse animation */
.cta-btn[style*="background: linear-gradient(135deg, #5865F2, #4752c4)"]:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.02);
    }
}

.cta-btn[style*="background: linear-gradient(135deg, #5865F2, #4752c4)"] {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.4) !important;
}

.cta-btn[style*="background: linear-gradient(135deg, #5865F2, #4752c4)"]:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #4752c4, #3c45a5) !important;
    box-shadow: 
        0 10px 25px rgba(88, 101, 242, 0.6),
        0 0 30px rgba(88, 101, 242, 0.4),
        0 0 50px rgba(88, 101, 242, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.3);
}


/* Custom Right Click Context Menu */
/* Context Menu Fixes */
.context-menu {
    position: fixed;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 10px;
    padding: 8px 0;
    box-shadow: 0 5px 25px rgba(255, 0, 0, 0.2);
    z-index: 10001; /* Increased z-index to be above everything */
    min-width: 180px;
    display: none;
}

.context-menu.visible {
    display: block;
    animation: fadeInUp 0.2s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.context-menu-item {
    padding: 10px 20px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.context-menu-item:hover {
    background: rgba(255, 0, 0, 0.2);
    color: #ff4444;
}

.context-menu-item i {
    width: 16px;
    text-align: center;
}

.context-menu-divider {
    height: 1px;
    background: rgba(255, 0, 0, 0.3);
    margin: 5px 0;
}

/* ===== NEW ENHANCEMENTS ===== */

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #ff0000, #ff4444);
    z-index: 10002;
    transition: width 0.3s ease;
}

/* Loading Animation */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10003;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 0, 0, 0.3);
    border-radius: 50%;
    border-top-color: #ff0000;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Active Navigation State */
nav a.active {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.2);
    border-bottom: 2px solid #ff4444;
}

/* Enhanced Hero Background */
.hero-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.1) 0%, transparent 70%);
    z-index: -1;
}

/* Interactive Feature Cards */
.feature {
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(63, 63, 63, 0.596), transparent);
    transition: left 0.5s ease;
}

.feature:hover::before {
    left: 100%;
}

/* Enhanced Glass Morphism */
.feature, .command-card, .pricing-card {
    background: rgba(255, 255, 255, 0.07) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Quick Stats in Hero */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
    padding: 15px 25px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.hero-stat-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ff4444;
    margin-bottom: 5px;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: #cccccc;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 20px;
    background: transparent !important;
}

.testimonials h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    color: #ff0000;
}

.testimonials-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 0, 0, 0.2);
    text-align: center;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    color: #ff4444;
    font-weight: bold;
}

/* FAQ Section */
.faq {
    padding: 100px 20px;
    background: transparent !important;
}

.faq h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    color: #ff0000;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 0, 0, 0.2);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

/* Achievement Badges */
.achievement-badge {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 0, 0, 0.9);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
    transform: translateX(150%);
    transition: transform 0.5s ease;
    z-index: 10001;
}

.achievement-badge.show {
    transform: translateX(0);
}

/* Enhanced Snowflakes */
.snowflake.sparkle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #fff 0%, transparent 70%);
    animation: sparkle 2s infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* Button Press Animation */
.cta-btn:active, .discord-btn:active, .premium-btn:active {
    transform: scale(0.95) !important;
}

/* Custom Scrollbar - Cross Browser */
* {
    scrollbar-width: thin;
    scrollbar-color: #ff0000 #0a0a0a;
}

/* Webkit Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a0000 100%);
    border-left: 1px solid rgba(255, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff0000 0%, #cc0000 100%);
    border-radius: 6px;
    border: 2px solid #0a0a0a;
    min-height: 40px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ff3333 0%, #ff0000 100%);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, #cc0000 0%, #990000 100%);
}

::-webkit-scrollbar-corner {
    background: #0a0a0a;
}

/* Hide scrollbar buttons */
::-webkit-scrollbar-button {
    display: none;
}


/* ===== CURSOR TRAIL ===== */
#cursor-trail {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #ff0000, transparent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
}

/* ===== 3D CARD FLIP ===== */
.flip-container {
    perspective: 1000px;
    width: 100%;
    height: 100%;
}

.flipper {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.front, .back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 0, 0, 0.1));
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.premium-feature {
    height: 250px;
    cursor: pointer;
    position: relative;
}

/* Premium back card styling */
.premium-detail-icon {
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 15px;
}

.premium-detail-title {
    color: #ffd700;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.premium-detail-text {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 15px;
}

/* ===== FIXED PREMIUM 3D CARDS - CONSISTENT BADGE POSITION ===== */

/* Fixed back card structure */
.back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 0, 0, 0.1));
    border: 1px solid rgba(255, 215, 0, 0.3);
    display: flex;
    flex-direction: column;
    padding: 20px;
    text-align: center;
    position: relative;
    height: 100%;
}

/* Fixed content structure with consistent sections */
.back-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    justify-content: space-between; /* This ensures consistent spacing */
}

/* Fixed icon and title section */
.icon-title-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0; /* Prevent shrinking */
}

/* Fixed text section with consistent height */
.text-section {
    flex: 1; /* Takes available space */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px; /* Fixed minimum height */
    margin: 10px 0;
}

/* Fixed badge section at bottom */
.badge-section {
    flex-shrink: 0; /* Prevent shrinking */
    margin-top: auto; /* Push to bottom */
    padding-top: 1px; /* Consistent spacing from text */
}

/* Fixed badge styling */
.premium-badge-small {
    padding: 8px 15px;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    color: #ffd700;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
}

/* Fixed text styling */
.premium-detail-text {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.premium-detail-title {
    color: #ffd700;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
}

.premium-detail-icon {
    font-size: 2rem;
    color: #ffd700;
    margin: 0;
}

/* Consistent height for all premium features */
.premium-feature {
    height: 280px;
    cursor: pointer;
    position: relative;
}

/* Front side consistency */
.front {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    height: 100%;
}

/* Mobile adjustment */
@media (max-width: 768px) {
    .premium-feature {
        height: 260px;
    }
    
    .premium-detail-text {
        font-size: 0.85rem;
    }
    
    .premium-badge-small {
        font-size: 0.7rem;
        padding: 6px 12px;
    }
    
    .text-section {
        min-height: 70px;
    }
    
    .back, .front {
        padding: 15px;
    }
}


/* Header right container for better alignment */
.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto; /* Push to the right */
}


/* Additional styles for pages */
.private-page {
    padding: 120px 20px 80px;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0000 100%);
}

.private-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px;
    border: 1px solid rgba(255, 0, 0, 0.3);
    box-shadow: 0 10px 40px rgba(255, 0, 0, 0.1);
}

.private-header {
    text-align: center;
    margin-bottom: 40px;
}

.private-header h1 {
    font-size: 3rem;
    background: linear-gradient(90deg, #ff0000, #ff4444);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
}

.last-updated {
    color: #ff6666;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

/* Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.blog-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.2);
}

.blog-date {
    color: #ff6666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.blog-card h2 {
    color: #ff4444;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.blog-meta {
    margin-bottom: 15px;
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 8px;
}

.tag.new { background: #ff0000; color: white; }
.tag.update { background: #ffd700; color: black; }
.tag.research { background: #00ff00; color: black; }
.tag.premium { background: #ff69b4; color: white; }
.tag.guide { background: #4169e1; color: white; }
.tag.database { background: #32cd32; color: white; }
.tag.mobile { background: #9370db; color: white; }

.blog-card ul {
    list-style: none;
    padding-left: 20px;
    margin: 15px 0;
}

.blog-card li {
    margin-bottom: 8px;
    color: #cccccc;
    position: relative;
}

.blog-card li:before {
    content: "•";
    color: #ff0000;
    font-weight: bold;
    position: absolute;
    left: -15px;
}

.read-more {
    color: #ff4444;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: #ff6666;
}

.newsletter {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 0, 0, 0.3);
    text-align: center;
}

.newsletter h3 {
    color: #ff4444;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 400px;
    margin: 20px auto 0;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 10px;
    color: white;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #ff0000;
}

/* Status Page Styles */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.status-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 0, 0, 0.3);
    text-align: center;
}

.status-card.operational {
    border-color: #00ff00;
}

.status-card.degraded {
    border-color: #ffd700;
}

.status-card.outage {
    border-color: #ff0000;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.status-indicator.operational { background: #00ff00; box-shadow: 0 0 10px #00ff00; }
.status-indicator.degraded { background: #ffd700; box-shadow: 0 0 10px #ffd700; }
.status-indicator.outage { background: #ff0000; box-shadow: 0 0 10px #ff0000; }

.status-card h3 {
    color: #ff4444;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.status-card p {
    color: #cccccc;
    margin-bottom: 10px;
}

.uptime-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.uptime-stat {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.uptime-stat .number {
    font-size: 2rem;
    font-weight: bold;
    color: #ff0000;
    margin-bottom: 5px;
}

.uptime-stat .label {
    color: #cccccc;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .private-container {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .private-header h1 {
        font-size: 2.2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .status-grid {
        grid-template-columns: 1fr;
    }
}

.hidden {
    display: none;
}

.product-image, .listing-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

.product-image img, .listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img,
.listing-card:hover .listing-image img {
    transform: scale(1.05);
}
