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

html {
    scroll-behavior: smooth;
    font-size: 18px;
}

body {
    font-family: 'Oxanium', monospace;
    background: #000000;
    color: #f0f0f0;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Animated Background Effects */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(45deg, #000000 0%, #0a0a0a 25%, #000000 50%, #0a0a0a 75%, #000000 100%);
    background-size: 400% 400%;
    animation: matrixGradient 8s ease infinite;
}

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

.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #99ddff, transparent),
        radial-gradient(2px 2px at 40px 70px, #c66cff, transparent),
        radial-gradient(1px 1px at 90px 40px, #b98eee, transparent),
        radial-gradient(1px 1px at 130px 80px, #ae57ff, transparent),
        radial-gradient(2px 2px at 160px 30px, #0099ff, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particleFloat 20s linear infinite;
}

@keyframes particleFloat {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-200px, -100px); }
}

/* Navigation Styles */
.floating-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(25, 22, 44, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid #b98eee;
    border-radius: 50px;
    padding: 10px 30px;
    box-shadow: 0 0 30px rgba(174, 87, 255, 0.3);
    animation: navBreathe 3s ease-in-out infinite;
}

@keyframes navBreathe {
    0%, 100% { box-shadow: 0 0 30px rgba(174, 87, 255, 0.3); }
    50% { box-shadow: 0 0 50px rgba(174, 87, 255, 0.6); }
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
}

.logo-icon {
    color: #c66cff;
    font-size: 1.5rem;
    animation: logoSpin 4s linear infinite;
}

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

.logo-text {
    color: #99ddff;
    text-shadow: 0 0 10px #0099ff;
}

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

.nav-link {
    color: #ccc;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.nav-link:hover {
    color: #c66cff;
    background: rgba(198, 108, 255, 0.1);
    box-shadow: 0 0 15px rgba(198, 108, 255, 0.3);
    text-shadow: 0 0 10px #c66cff;
}

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

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 80px 0 120px;
    position: relative;
}

.main-title {
    font-size: 4rem;
    font-weight: 800;
    color: #99ddff;
    text-shadow: 0 0 30px #0099ff;
    margin-bottom: 20px;
    animation: titlePulse 2s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% { text-shadow: 0 0 30px #0099ff; }
    50% { text-shadow: 0 0 50px #0099ff, 0 0 80px #0099ff; }
}

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

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-family: 'Oxanium', monospace;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: linear-gradient(45deg, #c66cff, #ae57ff);
    color: #fff;
    box-shadow: 0 0 20px rgba(198, 108, 255, 0.4);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 30px rgba(198, 108, 255, 0.6);
}

.cta-button.secondary {
    background: transparent;
    color: #99ddff;
    border: 2px solid #99ddff;
    box-shadow: 0 0 15px rgba(153, 221, 255, 0.3);
}

.cta-button.secondary:hover {
    background: rgba(153, 221, 255, 0.1);
    box-shadow: 0 0 25px rgba(153, 221, 255, 0.5);
}

/* Section Styles */
.section {
    margin-bottom: 80px;
    padding: 60px 0;
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(185, 142, 238, 0.2);
    box-shadow: 0 0 30px rgba(150, 100, 255, 0.05);
    animation: sectionBreathe 4s ease-in-out infinite;
}

@keyframes sectionBreathe {
    0%, 100% { box-shadow: 0 0 30px rgba(150, 100, 255, 0.05); }
    50% { box-shadow: 0 0 50px rgba(150, 100, 255, 0.1); }
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #99ddff;
    text-shadow: 0 0 20px #0099ff;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c66cff, transparent);
    animation: underlineGlow 2s ease-in-out infinite;
}

@keyframes underlineGlow {
    0%, 100% { box-shadow: 0 0 10px #c66cff; }
    50% { box-shadow: 0 0 20px #c66cff, 0 0 30px #c66cff; }
}

.section-content {
    padding: 0 40px;
    margin-bottom: 40px;
}

.section-content p {
    color: #ccc;
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.8;
}

/* Mirror Box Styles */
.mirror-box {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #b98eee;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 40px;
    box-shadow: 0 0 40px rgba(185, 142, 238, 0.3);
    animation: mirrorGlow 3s ease-in-out infinite;
}

@keyframes mirrorGlow {
    0%, 100% { box-shadow: 0 0 40px rgba(185, 142, 238, 0.3); }
    50% { box-shadow: 0 0 60px rgba(185, 142, 238, 0.5); }
}

.mirror-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #444;
}

.mirror-status {
    color: #00ff88;
    font-weight: 600;
    text-shadow: 0 0 10px #00ff88;
}

.mirror-count {
    color: #999;
    font-size: 0.9rem;
}

.mirror-link {
    display: block;
    color: #b98eee;
    text-decoration: none;
    padding: 10px 15px;
    margin: 5px 0;
    background: rgba(185, 142, 238, 0.1);
    border-radius: 8px;
    border-left: 3px solid #c66cff;
    transition: all 0.3s ease;
    font-family: monospace;
}

.mirror-link:hover {
    background: rgba(185, 142, 238, 0.2);
    color: #c66cff;
    box-shadow: 0 0 15px rgba(198, 108, 255, 0.3);
    transform: translateX(5px);
}

/* Gallery Styles */
.gallery-container {
    position: relative;
    margin: 40px;
    overflow: hidden;
    border-radius: 15px;
    background: rgba(25, 22, 44, 0.5);
    border: 1px solid #b98eee;
    box-shadow: 0 0 25px rgba(174, 87, 255, 0.2);
}

.gallery-track {
    display: flex;
    gap: 20px;
    padding: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

.gallery-track img {
    border-radius: 10px;
    border: 2px solid #c66cff;
    box-shadow: 0 0 20px rgba(198, 108, 255, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.gallery-track img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(198, 108, 255, 0.5);
}

.gallery-prev, .gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(25, 22, 44, 0.9);
    border: 1px solid #b98eee;
    color: #c66cff;
    font-size: 2.2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 0 12px rgba(174, 87, 255, 0.5);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-prev {
    left: 10px;
}

.gallery-next {
    right: 10px;
}

.gallery-prev:hover, .gallery-next:hover {
    background: rgba(198, 108, 255, 0.2);
    box-shadow: 0 0 20px rgba(174, 87, 255, 0.7);
    transform: translateY(-50%) scale(1.1);
}

/* Footer Styles */
.site-footer {
    background: linear-gradient(90deg, #19162c 30%, #111122 100%);
    border-top: 1.5px solid rgba(198, 108, 255, 0.5);
    color: #999;
    font-size: 16px;
    padding: 30px 12px 22px 12px;
    text-align: center;
    box-shadow: 0 -2px 20px rgba(174, 87, 255, 0.3);
    margin-top: 40px;
    animation: footerGlow 4s ease-in-out infinite;
}

@keyframes footerGlow {
    0%, 100% { box-shadow: 0 -2px 20px rgba(174, 87, 255, 0.3); }
    50% { box-shadow: 0 -2px 30px rgba(174, 87, 255, 0.5); }
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    html {
        font-size: 16px;
    }
    
    .floating-nav {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        margin: 20px;
        border-radius: 15px;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .main-content {
        padding-top: 20px;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding: 40px 0 60px;
    }
    
    .section {
        margin-bottom: 40px;
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-content {
        padding: 0 20px;
    }
    
    .mirror-box {
        margin: 20px;
        padding: 20px;
    }
    
    .gallery-container {
        margin: 20px 0;
    }
    
    .gallery-prev, .gallery-next {
        width: 40px;
        height: 40px;
        font-size: 1.8rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
    
    .site-footer {
        font-size: 14px;
        padding: 18px 5px 15px 5px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .nav-links {
        gap: 5px;
    }
    
    .nav-link {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .mirror-box {
        padding: 15px;
    }
    
    .mirror-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* Special Effects for Enhanced Visual Appeal */
.section:nth-child(even) {
    background: rgba(25, 22, 44, 0.3);
}

.section:nth-child(odd) {
    background: rgba(17, 17, 34, 0.3);
}

/* Smooth scrolling enhancement */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .section {
        border: 2px solid #c66cff;
    }
    
    .nav-link {
        border: 1px solid #999;
    }
}

