/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Enhanced Neon Colors */
    --primary-red: #ff0000;
    --neon-red: #ff0033;
    --dark-red: #cc0000;
    --bright-red: #ff3333;
    --dark-blue: #0a0a2e;
    --navy-blue: #16213e;
    --electric-blue: #00d9ff;
    --neon-blue: #00ffff;
    --neon-purple: #dd00ff;
    --neon-pink: #ff006e;
    --neon-green: #00ff88;
    --neon-yellow: #ffea00;
    --pure-black: #000000;
    --dark-gray: #0d0d0d;
    --medium-gray: #1a1a1a;
    --light-gray: #333333;
    --text-gray: #e0e0e0;
    --white: #ffffff;

    /* Enhanced Gradients with Animation */
    --gradient-primary: linear-gradient(135deg, #0a0a2e 0%, #000000 50%, #1a0a0a 100%);
    --gradient-accent: linear-gradient(135deg, #ff0033 0%, #ff006e 50%, #dd00ff 100%);
    --gradient-cyber: linear-gradient(90deg, #00d9ff 0%, #ff0033 25%, #dd00ff 50%, #ff006e 75%, #00d9ff 100%);
    --gradient-neon: linear-gradient(45deg, #ff0033, #00d9ff, #dd00ff, #00ff88);
    --gradient-matrix: linear-gradient(180deg, #000000 0%, #0a0a2e 50%, #000000 100%);

    /* Typography - New Modern Fonts */
    --font-display: 'Audiowide', cursive;
    --font-heading: 'Michroma', sans-serif;
    --font-primary: 'Oxanium', cursive;
    --font-secondary: 'Electrolize', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
    --font-condensed: 'Saira Condensed', sans-serif;

    /* Neon Glow Effects */
    --neon-glow-red: 0 0 5px #ff0033, 0 0 10px #ff0033, 0 0 20px #ff0033, 0 0 40px #ff0033;
    --neon-glow-blue: 0 0 5px #00d9ff, 0 0 10px #00d9ff, 0 0 20px #00d9ff, 0 0 40px #00d9ff;
    --neon-glow-purple: 0 0 5px #dd00ff, 0 0 10px #dd00ff, 0 0 20px #dd00ff, 0 0 40px #dd00ff;
    --neon-glow-multi: 0 0 5px #ff0033, 0 0 10px #00d9ff, 0 0 20px #dd00ff, 0 0 40px #ff006e;

    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
}

body {
    font-family: var(--font-secondary);
    background: var(--pure-black);
    color: var(--text-gray);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: clamp(14px, 2vw, 18px);
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 clamp(15px, 3vw, 40px);
    text-align: center;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--pure-black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loading-content {
    text-align: center;
}

.loading-text {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-red);
    text-shadow: 0 0 20px var(--primary-red);
    animation: pulse-glow 2s infinite;
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: var(--dark-gray);
    margin: 20px auto;
    border-radius: 2px;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: var(--gradient-accent);
    width: 0;
    animation: loading-fill 3s ease-in-out;
}

@keyframes pulse-glow {
    0%, 100% { text-shadow: 0 0 20px var(--primary-red); }
    50% { text-shadow: 0 0 40px var(--primary-red), 0 0 60px var(--primary-red); }
}

@keyframes loading-fill {
    0% { width: 0; }
    100% { width: 100%; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px) saturate(180%);
    border-bottom: 2px solid transparent;
    border-image: var(--gradient-cyber) 1;
    box-shadow: 0 0 20px rgba(255, 0, 51, 0.3);
    z-index: 1000;
    transition: all 0.4s ease;
    animation: nav-glow 3s ease-in-out infinite;
}

@keyframes nav-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 0, 51, 0.3); }
    50% { box-shadow: 0 0 40px rgba(0, 217, 255, 0.5), 0 5px 60px rgba(255, 0, 51, 0.3); }
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.logo-text {
    color: var(--white);
    text-shadow: var(--neon-glow-blue);
    animation: logo-pulse 2s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% { text-shadow: var(--neon-glow-blue); }
    50% { text-shadow: var(--neon-glow-red); }
}

.logo-accent {
    color: var(--neon-red);
    text-shadow: var(--neon-glow-red);
    animation: logo-accent-glow 1.5s ease-in-out infinite alternate;
}

@keyframes logo-accent-glow {
    from {
        text-shadow: var(--neon-glow-red);
        color: var(--neon-red);
    }
    to {
        text-shadow: var(--neon-glow-multi);
        color: var(--neon-pink);
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-family: var(--font-condensed);
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    padding: 5px 0;
}

.nav-link:hover {
    color: var(--neon-red);
    text-shadow: var(--neon-glow-red);
    transform: translateY(-2px);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 0, 51, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.4s ease;
    z-index: -1;
}

.nav-link:hover::before {
    width: 150%;
    height: 200%;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-cyber);
    box-shadow: var(--neon-glow-multi);
    transition: width 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: neon-flow 2s linear infinite;
    background-size: 200% 100%;
}

@keyframes neon-flow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-red);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#matrix-canvas {
    width: 100%;
    height: 100%;
}

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

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 8vw, 5rem);
    font-weight: 900;
    margin-bottom: 30px;
    animation: slide-up 1s ease-out, title-glow-cycle 4s ease-in-out infinite;
    letter-spacing: clamp(2px, 1vw, 5px);
    position: relative;
}

@keyframes title-glow-cycle {
    0%, 100% {
        filter: brightness(1) contrast(1);
    }
    25% {
        filter: brightness(1.3) contrast(1.2) drop-shadow(0 0 30px rgba(255, 0, 51, 0.8));
    }
    50% {
        filter: brightness(1.5) contrast(1.4) drop-shadow(0 0 40px rgba(0, 217, 255, 0.8));
    }
    75% {
        filter: brightness(1.3) contrast(1.2) drop-shadow(0 0 30px rgba(221, 0, 255, 0.8));
    }
}

.title-main {
    color: var(--white);
    display: block;
    text-shadow: var(--neon-glow-blue);
    animation: text-flicker 3s ease-in-out infinite;
}

@keyframes text-flicker {
    0%, 100% { opacity: 1; text-shadow: var(--neon-glow-blue); }
    2%, 8%, 12%, 20%, 40%, 60%, 80%, 90% { opacity: 1; }
    5%, 15%, 35%, 55%, 75%, 85% { opacity: 0.8; }
    10%, 30%, 50%, 70% { opacity: 0.9; }
}

.title-accent {
    color: var(--neon-red);
    text-shadow: var(--neon-glow-red);
    display: block;
    animation: neon-pulse 2s ease-in-out infinite, gradient-text 3s ease infinite;
    background: var(--gradient-cyber);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

@keyframes neon-pulse {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 20px rgba(255, 0, 51, 0.8));
    }
    50% {
        filter: brightness(1.5) drop-shadow(0 0 60px rgba(255, 0, 51, 1)) drop-shadow(0 0 80px rgba(221, 0, 255, 0.6));
    }
}

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

.title-sub {
    color: var(--electric-blue);
    font-family: var(--font-heading);
    font-size: clamp(1rem, 4vw, 2.2rem);
    display: block;
    margin-top: 15px;
    text-shadow: var(--neon-glow-blue);
    letter-spacing: clamp(3px, 1.5vw, 8px);
    animation: sub-glow 2.5s ease-in-out infinite alternate;
}

@keyframes sub-glow {
    from {
        text-shadow: var(--neon-glow-blue);
        letter-spacing: 8px;
    }
    to {
        text-shadow: var(--neon-glow-purple);
        letter-spacing: 12px;
    }
}

.hero-subtitle {
    font-family: var(--font-secondary);
    font-size: clamp(1rem, 3vw, 1.6rem);
    color: var(--neon-blue);
    margin-bottom: 35px;
    animation: slide-up 1s ease-out 0.2s both;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.6);
    letter-spacing: clamp(1px, 0.5vw, 2px);
}

.hero-description {
    font-family: var(--font-primary);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.9;
    margin-bottom: 50px;
    animation: slide-up 1s ease-out 0.4s both;
    padding: 0 clamp(10px, 5vw, 40px);
    text-align: center;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    animation: slide-up 1s ease-out 0.6s both;
}

.btn {
    padding: clamp(12px, 3vw, 18px) clamp(25px, 5vw, 40px);
    text-decoration: none;
    border-radius: 8px;
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    text-transform: uppercase;
    letter-spacing: clamp(1px, 0.5vw, 2px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 300%;
    height: 300%;
}

.btn-primary {
    background: var(--gradient-accent);
    background-size: 200% auto;
    color: var(--white);
    border: 3px solid transparent;
    border-image: var(--gradient-cyber) 1;
    box-shadow: var(--neon-glow-red);
    animation: gradient-shift 3s ease infinite;
}

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

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--neon-glow-multi), 0 15px 40px rgba(255, 0, 51, 0.5);
    filter: brightness(1.3);
}

.btn-primary:active {
    transform: translateY(-2px) scale(1.02);
}

.btn-secondary {
    background: transparent;
    color: var(--electric-blue);
    border: 3px solid var(--electric-blue);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
    position: relative;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-cyber);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    border-radius: 8px;
}

.btn-secondary:hover {
    color: var(--white);
    border-color: transparent;
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--neon-glow-blue), 0 15px 40px rgba(0, 217, 255, 0.5);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

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

.btn-secondary:active {
    transform: translateY(-2px) scale(1.02);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    animation: slide-up 1s ease-out 0.8s both;
}

.stat-item {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-cyber);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.stat-item:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--neon-red);
    box-shadow: var(--neon-glow-multi);
}

.stat-item:hover::before {
    opacity: 0.1;
}

.stat-number {
    display: block;
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--neon-red);
    text-shadow: var(--neon-glow-red);
    position: relative;
    z-index: 1;
    animation: counter-glow 2s ease-in-out infinite;
}

@keyframes counter-glow {
    0%, 100% {
        text-shadow: var(--neon-glow-red);
        transform: scale(1);
    }
    50% {
        text-shadow: var(--neon-glow-multi);
        transform: scale(1.1);
    }
}

.stat-label {
    font-family: var(--font-condensed);
    font-size: 1rem;
    color: var(--electric-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    margin-top: 10px;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
section {
    padding: var(--section-padding);
    position: relative;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 6vw, 3.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: clamp(30px, 8vw, 70px);
    color: var(--white);
    text-shadow: var(--neon-glow-blue);
    position: relative;
    letter-spacing: clamp(1px, 0.5vw, 3px);
    text-transform: uppercase;
    animation: title-float 3s ease-in-out infinite;
}

@keyframes title-float {
    0%, 100% {
        transform: translateY(0);
        text-shadow: var(--neon-glow-blue);
    }
    50% {
        transform: translateY(-10px);
        text-shadow: var(--neon-glow-purple);
    }
}

.section-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.1), transparent);
    z-index: -1;
    animation: title-pulse 2s ease-in-out infinite;
}

@keyframes title-pulse {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: var(--gradient-cyber);
    background-size: 200% auto;
    box-shadow: var(--neon-glow-multi);
    animation: neon-flow 3s linear infinite;
    border-radius: 2px;
}

/* Onion Links Section */
.onion-links {
    background: var(--dark-gray);
    border-top: 1px solid var(--primary-red);
    border-bottom: 1px solid var(--primary-red);
}

.links-warning {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid var(--primary-red);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.warning-icon {
    font-size: 2rem;
    animation: pulse 2s infinite;
}

.links-container {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
}

.links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin: 40px 0;
}

.link-item {
    background: linear-gradient(135deg, rgba(10, 10, 46, 0.8), rgba(0, 0, 0, 0.9));
    border: 2px solid var(--neon-blue);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(0, 217, 255, 0.1),
        rgba(255, 0, 51, 0.1),
        transparent
    );
    transition: left 0.6s ease;
}

.link-item:hover::before {
    left: 100%;
}

.link-item:hover {
    border-color: var(--neon-red);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
    transform: translateY(-5px);
}

.link-status {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid #00ff00;
    border-radius: 20px;
    animation: pulse 2s infinite;
    align-self: flex-start;
}

.link-status.online {
    background: rgba(0, 255, 0, 0.1);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.link-info {
    flex: 1;
    width: 100%;
}

.link-url {
    display: block;
    font-family: var(--font-mono);
    font-size: clamp(0.85rem, 2vw, 1rem);
    color: var(--neon-red);
    margin-bottom: 5px;
    word-break: break-all;
    user-select: text;
    cursor: text;
}

.link-label {
    color: var(--electric-blue);
    font-size: clamp(0.95rem, 2.5vw, 1.2rem);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.copy-btn {
    background: var(--gradient-accent);
    background-size: 200% auto;
    color: var(--white);
    border: 2px solid var(--neon-red);
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    align-self: center;
}

.copy-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.5);
    background-position: right center;
}

.verification-info {
    background: var(--navy-blue);
    border-radius: 10px;
    padding: 30px;
}

.verification-info h3 {
    color: var(--primary-red);
    margin-bottom: 20px;
}

.verification-info ul {
    list-style: none;
}

.verification-info li {
    padding: 10px 0;
    border-bottom: 1px solid var(--medium-gray);
    position: relative;
    padding-left: 20px;
}

.verification-info li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-red);
}

/* About Section */
.about {
    background: var(--gradient-primary);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-description {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: clamp(20px, 5vw, 40px);
    line-height: 1.8;
    text-align: center;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-item {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--neon-blue);
    border-radius: 15px;
    padding: 35px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        var(--neon-red),
        transparent 30%
    );
    animation: rotate-border 4s linear infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
}

@keyframes rotate-border {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-item::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: var(--dark-gray);
    border-radius: 13px;
    z-index: 0;
}

.feature-item > * {
    position: relative;
    z-index: 1;
}

.feature-item:hover {
    border-color: transparent;
    transform: translateY(-15px) scale(1.05);
    box-shadow: var(--neon-glow-multi), 0 20px 40px rgba(255, 0, 51, 0.4);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite, icon-glow 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.6));
}

@keyframes icon-glow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(255, 0, 51, 0.8));
    }
}

.feature-item h3 {
    color: var(--white);
    font-family: var(--font-heading);
    margin-bottom: 15px;
    font-size: 1.4rem;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.about-visual {
    position: relative;
    height: 400px;
}

.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.grid-line {
    position: absolute;
    background: var(--gradient-cyber);
    opacity: 0.3;
    animation: grid-pulse 4s ease-in-out infinite;
}

.grid-line:nth-child(1) {
    top: 25%;
    left: 0;
    width: 100%;
    height: 2px;
    animation-delay: 0s;
}

.grid-line:nth-child(2) {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    animation-delay: 1s;
}

.grid-line:nth-child(3) {
    top: 0;
    left: 25%;
    width: 2px;
    height: 100%;
    animation-delay: 2s;
}

.grid-line:nth-child(4) {
    top: 0;
    left: 75%;
    width: 2px;
    height: 100%;
    animation-delay: 3s;
}

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

@keyframes grid-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Security Section */
.security {
    background: var(--dark-gray);
}

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

.security-card {
    background: linear-gradient(135deg, rgba(10, 10, 46, 0.8), rgba(0, 0, 0, 0.9));
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 40px;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

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

.security-card:hover::before {
    left: 100%;
}

.security-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: var(--gradient-cyber);
    background-size: 400% 400%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: gradient-rotate 4s ease infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.security-card:hover::after {
    opacity: 1;
}

.security-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--neon-glow-multi), 0 25px 50px rgba(255, 0, 51, 0.3);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.card-icon {
    font-size: 3rem;
    animation: rotate 10s linear infinite, icon-neon-pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(0, 217, 255, 0.8));
}

@keyframes icon-neon-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 15px rgba(0, 217, 255, 0.8));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(255, 0, 51, 1));
    }
}

.card-header h3 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    letter-spacing: clamp(0.5px, 0.3vw, 1px);
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
    position: relative;
    z-index: 1;
}

.card-content {
    text-align: center;
}

.card-content p {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.7;
    text-align: center;
}

.card-content ul {
    list-style: none;
    margin-top: 20px;
    text-align: left;
    display: inline-block;
}

.card-content li {
    padding: 8px 0;
    color: var(--text-gray);
    position: relative;
    padding-left: 20px;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.card-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

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

/* Registration Section */
.registration {
    background: var(--gradient-primary);
}

.registration-steps {
    display: grid;
    gap: 40px;
}

.step-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid var(--light-gray);
    transition: all 0.3s ease;
}

.step-item:hover {
    border-color: var(--primary-red);
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.1);
}

.step-number {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-red);
    text-shadow: 0 0 20px var(--primary-red);
    min-width: 60px;
}

.step-content h3 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.step-content p {
    line-height: 1.8;
}

/* Gallery Section */
.gallery {
    background: var(--dark-gray);
}

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

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 0, 0, 0.3);
}

.gallery-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: var(--gradient-cyber);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    color: var(--white);
    margin-bottom: 10px;
}

/* Footer */
.footer {
    background: var(--pure-black);
    border-top: 1px solid var(--primary-red);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--primary-red);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

.footer-section li {
    padding: 5px 0;
    color: var(--text-gray);
    transition: color 0.3s ease;
}

.footer-section li:hover {
    color: var(--primary-red);
}

.footer-section a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-red);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid var(--medium-gray);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
    }

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

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

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

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

    .step-item {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}

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

    .section-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }
}


/* Cryptocurrency Prices Widget */
.crypto-prices {
    background: var(--gradient-matrix);
    padding: 80px 0;
    border-top: 2px solid var(--neon-blue);
    border-bottom: 2px solid var(--neon-red);
}

.crypto-widget {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.crypto-card {
    background: linear-gradient(135deg, rgba(10, 10, 46, 0.9), rgba(0, 0, 0, 0.95));
    border: 2px solid var(--neon-blue);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.crypto-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        var(--neon-blue),
        transparent 30%
    );
    animation: rotate-border 4s linear infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.crypto-card:hover::before {
    opacity: 0.3;
}

.crypto-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--neon-red);
    box-shadow: var(--neon-glow-multi);
}

.crypto-card h3 {
    font-family: var(--font-heading);
    color: var(--electric-blue);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
    position: relative;
    z-index: 1;
}

.crypto-card .price {
    font-family: var(--font-primary);
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 800;
    color: var(--white);
    margin: 15px 0;
    text-shadow: var(--neon-glow-blue);
    position: relative;
    z-index: 1;
}

.crypto-card .change {
    font-family: var(--font-mono);
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 600;
    margin: 10px 0;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.crypto-card .change.positive {
    color: var(--neon-green);
    background: rgba(0, 255, 136, 0.1);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.crypto-card .change.negative {
    color: var(--neon-red);
    background: rgba(255, 0, 51, 0.1);
    box-shadow: 0 0 10px rgba(255, 0, 51, 0.3);
}

.crypto-card .volume,
.crypto-card .timestamp {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 8px 0;
    position: relative;
    z-index: 1;
}

.api-note {
    font-family: var(--font-secondary);
}

.api-note a {
    color: var(--electric-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

.api-note a:hover {
    color: var(--neon-red);
    text-shadow: 0 0 10px var(--neon-red);
}

/* Security Resources & Tools Section */
.resources {
    background: var(--dark-gray);
    padding: 80px 0;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin: 40px 0;
}

.resource-category {
    background: linear-gradient(135deg, rgba(10, 10, 46, 0.6), rgba(0, 0, 0, 0.8));
    border: 2px solid var(--electric-blue);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.4s ease;
}

.resource-category:hover {
    transform: translateY(-5px);
    border-color: var(--neon-red);
    box-shadow: var(--neon-glow-blue);
}

.resource-category h3 {
    font-family: var(--font-heading);
    color: var(--electric-blue);
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
    border-bottom: 2px solid var(--electric-blue);
    padding-bottom: 10px;
}

.resource-links {
    list-style: none;
}

.resource-links li {
    margin-bottom: 20px;
    padding-left: 0;
    transition: all 0.3s ease;
}

.resource-links li:hover {
    transform: translateX(10px);
}

.resource-links a {
    font-family: var(--font-secondary);
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.resource-links a:hover {
    color: var(--neon-red);
    text-shadow: 0 0 10px var(--neon-red);
}

.resource-links span {
    font-family: var(--font-primary);
    color: var(--text-gray);
    font-size: 0.9rem;
    display: block;
    padding-left: 10px;
}

.resources-disclaimer {
    font-family: var(--font-secondary);
}

.resources-disclaimer strong {
    color: var(--neon-red);
}

/* ============================================
   ICON AND ILLUSTRATION STYLES
   ============================================ */

/* Icon Box Container */
.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(10, 10, 46, 0.4), rgba(0, 0, 0, 0.6));
    border: 2px solid var(--electric-blue);
    border-radius: 15px;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.icon-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 217, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: icon-shine 3s linear infinite;
}

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

.icon-box:hover {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--neon-red);
    box-shadow: var(--neon-glow-blue);
}

.icon-box svg {
    width: 45px;
    height: 45px;
    fill: var(--electric-blue);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.icon-box:hover svg {
    fill: var(--neon-red);
    filter: drop-shadow(0 0 10px var(--neon-red));
}

/* Feature Icon - Larger Icons for Features Page */
.feature-icon {
    width: 100px;
    height: 100px;
    border: 3px solid var(--neon-purple);
    background: linear-gradient(135deg, rgba(221, 0, 255, 0.1), rgba(0, 0, 0, 0.7));
}

.feature-icon svg {
    width: 55px;
    height: 55px;
    fill: var(--neon-purple);
}

.feature-icon:hover {
    border-color: var(--neon-green);
    box-shadow: var(--neon-glow-purple);
}

.feature-icon:hover svg {
    fill: var(--neon-green);
    filter: drop-shadow(0 0 15px var(--neon-green));
}

/* Security Icon - Red Theme for Security Page */
.security-icon {
    border: 2px solid var(--neon-red);
    background: linear-gradient(135deg, rgba(255, 0, 51, 0.1), rgba(0, 0, 0, 0.7));
}

.security-icon svg {
    fill: var(--neon-red);
}

.security-icon:hover {
    border-color: var(--neon-yellow);
    box-shadow: var(--neon-glow-red);
}

.security-icon:hover svg {
    fill: var(--neon-yellow);
}

/* Info Icon - For About and FAQ Pages */
.info-icon {
    width: 70px;
    height: 70px;
    border: 2px solid var(--neon-green);
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 0, 0, 0.7));
}

.info-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--neon-green);
}

.info-icon:hover {
    border-color: var(--electric-blue);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.info-icon:hover svg {
    fill: var(--electric-blue);
}

/* Icon Grid Layout */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin: 60px 0;
    padding: 0 20px;
}

.icon-grid-item {
    background: linear-gradient(135deg, rgba(10, 10, 46, 0.3), rgba(0, 0, 0, 0.5));
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.icon-grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.icon-grid-item:hover::before {
    left: 100%;
}

.icon-grid-item:hover {
    transform: translateY(-10px);
    border-color: var(--neon-red);
    box-shadow: 0 10px 40px rgba(255, 0, 51, 0.3);
    background: linear-gradient(135deg, rgba(255, 0, 51, 0.15), rgba(0, 0, 0, 0.7));
}

.icon-grid-item h3 {
    font-family: var(--font-heading);
    color: var(--electric-blue);
    font-size: 1.3rem;
    margin: 25px 0 15px;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.icon-grid-item p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.8;
}

/* Illustration Container */
.illustration-container {
    margin: 50px 0;
    padding: 40px;
    background: linear-gradient(135deg, rgba(10, 10, 46, 0.4), rgba(0, 0, 0, 0.6));
    border: 2px solid transparent;
    border-image: var(--gradient-cyber) 1;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.illustration-container::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.1) 0%, transparent 70%);
    animation: illustration-pulse 4s ease-in-out infinite;
}

@keyframes illustration-pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.illustration {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Hero Illustration */
.hero-illustration {
    width: 100%;
    max-width: 600px;
    margin: 40px auto;
    filter: drop-shadow(0 0 30px rgba(255, 0, 51, 0.4));
    animation: float-illustration 6s ease-in-out infinite;
}

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

/* Section Divider with Icon */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 60px 0;
    position: relative;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--electric-blue), transparent);
}

.section-divider-icon {
    width: 50px;
    height: 50px;
    margin: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 0, 51, 0.2), rgba(0, 217, 255, 0.2));
    border: 2px solid var(--electric-blue);
    border-radius: 50%;
    animation: divider-rotate 8s linear infinite;
}

@keyframes divider-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.section-divider-icon svg {
    width: 25px;
    height: 25px;
    fill: var(--electric-blue);
}

/* Badge with Icon */
.badge-icon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(221, 0, 255, 0.1));
    border: 2px solid var(--neon-purple);
    border-radius: 25px;
    padding: 10px 20px;
    margin: 10px 5px;
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    transition: all 0.3s ease;
}

.badge-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--neon-purple);
}

.badge-icon:hover {
    transform: scale(1.05);
    border-color: var(--neon-red);
    box-shadow: 0 0 20px rgba(221, 0, 255, 0.5);
    background: linear-gradient(135deg, rgba(255, 0, 51, 0.2), rgba(221, 0, 255, 0.2));
}

.badge-icon:hover svg {
    fill: var(--neon-red);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .icon-box {
        width: 70px;
        height: 70px;
    }

    .icon-box svg {
        width: 40px;
        height: 40px;
    }

    .feature-icon {
        width: 85px;
        height: 85px;
    }

    .feature-icon svg {
        width: 48px;
        height: 48px;
    }

    .icon-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .illustration-container {
        padding: 20px;
    }
}
