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

:root {
    /* Color Palette - Red, Dark Blue, Black, Gray */
    --primary-red: #ff0000;
    --dark-red: #cc0000;
    --bright-red: #ff3333;
    --dark-blue: #0a0a2e;
    --navy-blue: #16213e;
    --electric-blue: #0066ff;
    --pure-black: #000000;
    --dark-gray: #1a1a1a;
    --medium-gray: #333333;
    --light-gray: #666666;
    --text-gray: #cccccc;
    --white: #ffffff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--dark-blue), var(--pure-black));
    --gradient-accent: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    --gradient-cyber: linear-gradient(45deg, var(--electric-blue), var(--primary-red));
    
    /* Typography */
    --font-primary: 'Orbitron', monospace;
    --font-secondary: 'Rajdhani', sans-serif;
    
    /* 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;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* 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(10px);
    border-bottom: 1px solid var(--primary-red);
    z-index: 1000;
    transition: all 0.3s ease;
}

.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-primary);
    font-size: 1.5rem;
    font-weight: 900;
}

.logo-text {
    color: var(--white);
}

.logo-accent {
    color: var(--primary-red);
    text-shadow: 0 0 10px var(--primary-red);
}

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

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-red);
    text-shadow: 0 0 10px var(--primary-red);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

.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-primary);
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    animation: slide-up 1s ease-out;
}

.title-main {
    color: var(--white);
    display: block;
}

.title-accent {
    color: var(--primary-red);
    text-shadow: 0 0 30px var(--primary-red);
    display: block;
}

.title-sub {
    color: var(--electric-blue);
    font-size: 2rem;
    display: block;
    margin-top: 10px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 30px;
    animation: slide-up 1s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    animation: slide-up 1s ease-out 0.4s both;
}

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

.btn {
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    border: 2px solid var(--primary-red);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--electric-blue);
    border: 2px solid var(--electric-blue);
}

.btn-secondary:hover {
    background: var(--electric-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.3);
}

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

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-red);
    text-shadow: 0 0 20px var(--primary-red);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@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-primary);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--white);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gradient-accent);
}

/* 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;
}

.link-item {
    background: var(--medium-gray);
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.link-item:hover {
    border-color: var(--primary-red);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.2);
    transform: translateY(-2px);
}

.link-status {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.link-status.online {
    background: #00ff00;
    box-shadow: 0 0 10px #00ff00;
}

.link-info {
    flex: 1;
}

.link-url {
    display: block;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: var(--electric-blue);
    margin-bottom: 5px;
}

.link-label {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.copy-btn {
    background: var(--gradient-accent);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.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: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.8;
}

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

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    animation: float 3s ease-in-out infinite;
}

.feature-item h3 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.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: var(--medium-gray);
    border: 1px solid var(--light-gray);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.security-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 0, 0, 0.2);
}

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

.card-icon {
    font-size: 2rem;
    animation: rotate 10s linear infinite;
}

.card-header h3 {
    color: var(--white);
    font-size: 1.3rem;
}

.card-content ul {
    list-style: none;
    margin-top: 20px;
}

.card-content li {
    padding: 8px 0;
    color: var(--text-gray);
    position: relative;
    padding-left: 20px;
}

.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-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;
    }
}

