/* Security: Prevent unauthorized access */
@supports not (display: grid) {
    body::before {
        content: "Access Denied";
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #0a0e27;
        color: #dc2626;
        z-index: 999999;
        text-align: center;
        padding-top: 50vh;
        font-size: 2rem;
        font-weight: bold;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --christmas-gradient: linear-gradient(135deg, #dc2626 0%, #16a34a 50%, #fbbf24 100%);
    --christmas-red: #dc2626;
    --christmas-green: #16a34a;
    --christmas-gold: #fbbf24;
    --dark-bg: #0a0e27;
    --dark-surface: rgba(255, 255, 255, 0.05);
    --dark-surface-hover: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-tertiary: rgba(255, 255, 255, 0.5);
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 16px 64px rgba(102, 126, 234, 0.3);
    --christmas-shadow: 0 8px 32px rgba(220, 38, 38, 0.4);
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    top: -250px;
    left: -250px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    bottom: -200px;
    right: -200px;
    animation-delay: 7s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-icon {
    flex-shrink: 0;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.brand-accent {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-nav {
    padding: 10px 24px;
    background: var(--primary-gradient);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 20px 80px;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--dark-surface);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-badge svg {
    color: #fbbf24;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-hero-primary {
    background: var(--primary-gradient);
    color: white;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-hero-secondary {
    background: var(--dark-surface);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-hero-secondary:hover {
    background: var(--dark-surface-hover);
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: var(--dark-surface);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    width: 280px;
    animation: floatCard 6s infinite ease-in-out;
}

.card-1 {
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.card-2 {
    top: 150px;
    right: 0;
    animation-delay: 2s;
}

.card-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 4s;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.card-icon {
    font-size: 2rem;
}

.card-info {
    flex: 1;
}

.card-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.card-status {
    font-size: 0.875rem;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
}

.card-status.active {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.card-status.secure {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.card-stats {
    margin-top: 12px;
}

.stat-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.stat-fill {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.stat-fill.secure {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.stat-text {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

/* Section Styles */
section {
    padding: 80px 20px;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--dark-surface);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--dark-surface);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: var(--shadow-lg);
}

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon {
    font-size: 2rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    color: var(--text-tertiary);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4ade80;
    font-weight: 600;
}

/* Plugins Section */
.plugins {
    background: rgba(0, 0, 0, 0.2);
}

.plugins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.plugin-card {
    background: var(--dark-surface);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.plugin-card:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: var(--shadow-lg);
}

.plugin-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.plugin-badge.premium {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #000;
}

.plugin-badge.active {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.plugin-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.plugin-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.plugin-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.plugin-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.plugin-tag {
    padding: 4px 12px;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 6px;
    font-size: 0.75rem;
    color: #a5b4fc;
}

.plugin-stats {
    display: flex;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.plugin-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

.stat-icon {
    font-size: 1rem;
}

/* Download Section */
.download-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.download-content {
    max-width: 600px;
}

.system-requirements {
    margin-top: 3rem;
}

.system-requirements h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--dark-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.req-icon {
    font-size: 1.5rem;
}

.req-text {
    color: var(--text-secondary);
}

.download-card {
    background: var(--dark-surface);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    position: sticky;
    top: 100px;
}

.download-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.download-icon {
    font-size: 3rem;
}

.download-card-header h3 {
    flex: 1;
    font-size: 1.5rem;
    font-weight: 600;
}

.version-badge {
    padding: 6px 12px;
    background: var(--primary-gradient);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
}

.download-info {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--text-secondary);
}

.info-value {
    font-weight: 600;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-download.primary {
    background: var(--primary-gradient);
    color: white;
}

.btn-download.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-feature {
    padding: 2rem;
    background: var(--dark-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.about-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.about-feature p {
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--border-color);
    padding: 4rem 20px 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
}

.footer-brand-name {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-brand-tagline {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--text-primary);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-surface);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    padding: 1.5rem;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-icon {
    font-size: 2rem;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.cookie-text p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-cookie.accept {
    background: var(--primary-gradient);
    color: white;
}

.btn-cookie.decline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-cookie.settings {
    background: var(--dark-surface-hover);
    color: var(--text-primary);
}

.btn-cookie:hover {
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        border-top: 1px solid var(--border-color);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-actions {
        margin-top: 1rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-visual {
        height: 400px;
    }

    .download-wrapper {
        grid-template-columns: 1fr;
    }

    .download-card {
        position: static;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid,
    .plugins-grid {
        grid-template-columns: 1fr;
    }

    .requirements-grid {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }

    .btn-cookie {
        flex: 1;
        min-width: 120px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: rgba(102, 126, 234, 0.3);
    color: var(--text-primary);
}

/* Christmas Theme Styles */
.christmas-gradient {
    background: var(--christmas-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: christmasShimmer 3s ease-in-out infinite;
}

@keyframes christmasShimmer {
    0%, 100% {
        filter: hue-rotate(0deg);
    }
    50% {
        filter: hue-rotate(20deg);
    }
}

.christmas-badge {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2), rgba(22, 163, 74, 0.2));
    border: 1px solid rgba(251, 191, 36, 0.3);
    animation: christmasPulse 2s ease-in-out infinite;
}

.christmas-badge-section {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2), rgba(22, 163, 74, 0.2));
    border: 1px solid rgba(251, 191, 36, 0.3);
}

@keyframes christmasPulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(220, 38, 38, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
    }
}

/* Snow Canvas */
.snow-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Christmas Countdown */
.christmas-countdown {
    position: fixed;
    top: 100px;
    right: 20px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.95), rgba(22, 163, 74, 0.95));
    backdrop-filter: blur(10px);
    border: 2px solid var(--christmas-gold);
    border-radius: 16px;
    padding: 1.5rem;
    z-index: 1000;
    box-shadow: var(--christmas-shadow);
    animation: countdownFloat 3s ease-in-out infinite;
    max-width: 320px;
}

.christmas-countdown.hidden {
    display: none;
}

@keyframes countdownFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.countdown-content {
    position: relative;
}

.countdown-icon {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 0.5rem;
    animation: rotateStar 2s linear infinite;
}

@keyframes rotateStar {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.countdown-text {
    text-align: center;
}

.countdown-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.countdown-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.75rem;
    border-radius: 8px;
    min-width: 50px;
}

.countdown-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--christmas-gold);
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.countdown-label-small {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.countdown-separator {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--christmas-gold);
    animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.countdown-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--christmas-red);
    border: 2px solid var(--christmas-gold);
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.countdown-close:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.6);
}

/* Christmas Decoration Stars */
.christmas-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.christmas-star {
    position: absolute;
    font-size: 2rem;
    animation: twinkle 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.8));
}

.star-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.star-2 {
    top: 20%;
    right: 15%;
    animation-delay: 0.5s;
}

.star-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 1s;
}

.star-4 {
    bottom: 20%;
    right: 10%;
    animation-delay: 1.5s;
}

.star-5 {
    top: 50%;
    left: 50%;
    animation-delay: 0.75s;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
    }
}

/* Christmas Theme Buttons */
.btn-hero-primary {
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-hero-primary:hover::before {
    left: 100%;
}

/* Christmas Theme Cards */
.feature-card:hover,
.plugin-card:hover {
    border-color: rgba(251, 191, 36, 0.5);
    box-shadow: 0 8px 32px rgba(220, 38, 38, 0.3);
}

/* Christmas Toggle Button */
.christmas-toggle {
    padding: 10px 16px;
    margin-right: 10px;
    background: var(--christmas-gradient);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.christmas-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: var(--christmas-shadow);
}

.christmas-toggle.active {
    animation: christmasPulse 1s ease-in-out infinite;
}

/* Christmas Mode Effects */
body.christmas-mode .feature-card,
body.christmas-mode .plugin-card {
    border: 2px solid transparent;
    background: linear-gradient(var(--dark-surface), var(--dark-surface)) padding-box,
                var(--christmas-gradient) border-box;
}

body.christmas-mode .btn-hero-primary,
body.christmas-mode .btn-download.primary {
    background: var(--christmas-gradient);
}

body.christmas-mode .btn-hero-primary:hover,
body.christmas-mode .btn-download.primary:hover {
    box-shadow: var(--christmas-shadow);
}

/* Responsive Christmas Elements */
@media (max-width: 768px) {
    .christmas-countdown {
        top: 80px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .countdown-timer {
        gap: 0.25rem;
    }
    
    .countdown-item {
        min-width: 40px;
        padding: 0.5rem;
    }
    
    .countdown-number {
        font-size: 1.25rem;
    }
    
    .christmas-star {
        font-size: 1.5rem;
    }
    
    .christmas-toggle {
        padding: 8px 12px;
        font-size: 1rem;
    }
}

