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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    line-height: 1.6;
    color: #ccfaff;
    background: radial-gradient(circle at top left, #0f1115, #06070a);
    background-size: 400% 400%;
    animation: gradientMove 20s ease-in-out infinite;
    overflow-x: hidden;
    position: relative;
}

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

/* Animated Background Elements */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 204, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 204, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 30s linear infinite;
    z-index: -2;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-particles::before,
.floating-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00ffcc;
    border-radius: 50%;
    box-shadow: 
        0 0 10px #00ffcc,
        0 0 20px #00ffcc,
        0 0 30px #00ffcc;
    animation: float 15s infinite linear;
}

.floating-particles::before {
    top: 10%;
    left: 20%;
    animation-delay: -5s;
}

.floating-particles::after {
    top: 60%;
    right: 30%;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

/* Floating Navigation */
.nav-float {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1000;
}

.nav-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #000000ee, #1a1a1a);
    border: 2px solid #00ffcc;
    color: #00ffcc;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 20px rgba(0, 255, 204, 0.3),
        inset 0 0 20px rgba(0, 255, 204, 0.1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { 
        box-shadow: 
            0 0 20px rgba(0, 255, 204, 0.3),
            inset 0 0 20px rgba(0, 255, 204, 0.1);
    }
    50% { 
        box-shadow: 
            0 0 30px rgba(0, 255, 204, 0.6),
            inset 0 0 30px rgba(0, 255, 204, 0.2);
    }
}

.nav-toggle:hover {
    transform: scale(1.1);
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
}

.nav-dropdown {
    position: absolute;
    top: 70px;
    right: 0;
    background: #000000ee;
    border: 1px solid #00ffcc44;
    border-radius: 10px;
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-link {
    display: block;
    padding: 12px 20px;
    color: #ccfaff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-link:hover {
    background: rgba(0, 255, 204, 0.1);
    color: #00ffe1;
    border-left-color: #00ffcc;
    text-shadow: 0 0 10px #00ffe1;
}

/* Header Styles */
.hero-section {
    text-align: center;
    padding: 100px 20px 80px;
    position: relative;
}

.logo-container {
    margin-bottom: 30px;
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% { filter: drop-shadow(0 0 10px #00ffcc); }
    100% { filter: drop-shadow(0 0 30px #00ffcc); }
}

.logo {
    max-width: 250px;
    height: auto;
    border-radius: 10px;
}

.main-title {
    font-size: 4rem;
    font-weight: bold;
    color: #00ffe1;
    text-shadow: 
        0 0 10px #00ffe1,
        0 0 20px #00ffe1,
        0 0 30px #00ffe1;
    margin-bottom: 20px;
    animation: titleFlicker 4s ease-in-out infinite;
}

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

.hero-subtitle {
    font-size: 1.2rem;
    color: #ccfaff;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cyber-border {
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ffcc, transparent);
    margin: 0 auto;
    animation: borderPulse 2s ease-in-out infinite;
}

@keyframes borderPulse {
    0%, 100% { opacity: 0.5; transform: scaleX(1); }
    50% { opacity: 1; transform: scaleX(1.2); }
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-section {
    margin-bottom: 80px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 204, 0.2);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ffcc, transparent);
    animation: scanLine 3s linear infinite;
}

@keyframes scanLine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.section-title {
    font-size: 2.5rem;
    color: #00ffe1;
    margin-bottom: 30px;
    text-shadow: 0 0 15px #00ffe1;
    position: relative;
}

.section-content {
    font-size: 18px;
    line-height: 1.8;
    color: #ccfaff;
    text-align: justify;
}

.onion-links-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    align-items: start;
}
.onion-links-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 10px 0 20px 0;
}

.onion-link-item {
    display: block;
    width: 100%;
    padding: 15px 18px;
    background: #10151b;
    color: #00ffcc;
    font-family: 'Courier New', monospace;
    font-size: 1.08rem;
    border: 1.5px solid #00ffcc55;
    border-radius: 7px;
    text-decoration: none;
    letter-spacing: 1.2px;
    transition: background 0.19s, border 0.19s, color 0.19s, box-shadow 0.19s;
    word-break: break-all;
    box-shadow: 0 0 8px #00ffcc1a;
}

.onion-link-item:hover,
.onion-link-item:focus {
    background: #061c1c;
    border-color: #00ffcc;
    color: #0ff;
    box-shadow: 0 0 18px #00ffcc66, 0 2px 10px #00555555;
    outline: none;
}

.php-block {
    background: #0a0a0a;
    border: 1px solid #00ffcc;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    padding: 18px 16px;
    max-width: 100%;
    min-width: 0;
}

.code-header {
    color: #00ffcc;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.code-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    word-break: break-all;
    white-space: pre-wrap;
}

.code-content a {
    color: #00ffcc;
    text-decoration: none;
    font-size: 1.1rem;
    background: #15191a;
    padding: 8px 10px;
    border-radius: 4px;
    transition: background 0.2s;
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.code-content a:hover {
    background: #102a28;
    color: #fff;
}


.code-header {
    background: #00ffcc;
    color: #000;
    padding: 10px 15px;
    font-weight: bold;
    font-size: 14px;
}

.code-content {
    padding: 20px;
    color: #00ffcc;
    font-size: 14px;
    line-height: 1.6;
    white-space: pre-wrap;
}

/* Gallery Styles */
.gallery-container {
    position: relative;
    margin: 30px 0;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
}

.gallery-track::-webkit-scrollbar {
    height: 8px;
}

.gallery-track::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.gallery-track::-webkit-scrollbar-thumb {
    background: #00ffcc;
    border-radius: 4px;
}

.gallery-image {
    min-width: 400px;
    height: auto;
    border-radius: 8px;
    border: 2px solid rgba(0, 255, 204, 0.3);
    transition: all 0.3s ease;
}

.gallery-image:hover {
    border-color: #00ffcc;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.5);
    transform: scale(1.02);
}

.gallery-prev, .gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #00000088;
    border: 1px solid #00ffcc44;
    color: #00ffcc;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
}

.gallery-prev {
    left: 10px;
}

.gallery-next {
    right: 10px;
}

.gallery-prev:hover, .gallery-next:hover {
    background: #00ffcc22;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.5);
}

/* Warning Section */
.warning-section {
    border-color: #ff4a33;
    background: rgba(255, 74, 51, 0.1);
}

.warning-section::before {
    background: linear-gradient(90deg, transparent, #ff4a33, transparent);
}

.warning-section .section-title {
    color: #ff4a33;
    text-shadow: 0 0 15px #ff4a33;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
    border-top: 1px solid rgba(0, 255, 204, 0.2);
}

.footer-content p {
    color: #ccfaff;
    opacity: 0.7;
    margin-bottom: 20px;
}

.cyber-line {
    width: 100px;
    height: 1px;
    background: #00ffcc;
    margin: 0 auto;
    animation: lineGlow 2s ease-in-out infinite alternate;
}

@keyframes lineGlow {
    0% { box-shadow: 0 0 5px #00ffcc; }
    100% { box-shadow: 0 0 15px #00ffcc; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 20px;
        margin-bottom: 40px;
    }
    
    .onion-links-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .nav-float {
        top: 20px;
        right: 20px;
    }
    
    .nav-toggle {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .gallery-image {
        min-width: 300px;
    }
    
    .gallery-prev, .gallery-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 60px 20px 40px;
    }
    
    .content-section {
        padding: 15px;
    }
    
    .gallery-image {
        min-width: 250px;
    }
}

