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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #000000;
    color: #f0f0f0;
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

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

.matrix-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, #c66cff22 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, #99ddff22 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, #ae57ff22 0%, transparent 50%);
    animation: matrixPulse 8s ease-in-out infinite alternate;
}

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

@keyframes matrixPulse {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.7; transform: scale(1.1); }
}

/* Header Styles */
header {
    text-align: center;
    padding: 3rem 0;
    position: relative;
}

.logo-container {
    position: relative;
    display: inline-block;
}

h1 {
    font-size: 4rem;
    font-weight: 900;
    color: #99ddff;
    text-shadow: 
        0 0 10px #0099ff,
        0 0 20px #0099ff,
        0 0 30px #ae57ff,
        0 0 40px #ae57ff;
    animation: logoGlow 3s ease-in-out infinite alternate;
    position: relative;
    z-index: 2;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, #c66cff33, transparent);
    border-radius: 50%;
    animation: logoAura 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes logoGlow {
    0% { text-shadow: 0 0 10px #0099ff, 0 0 20px #0099ff, 0 0 30px #ae57ff; }
    100% { text-shadow: 0 0 20px #0099ff, 0 0 30px #0099ff, 0 0 40px #ae57ff, 0 0 50px #c66cff; }
}

@keyframes logoAura {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
}

/* Floating Navigation */
.floating-nav {
    position: fixed;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    z-index: 1000;
    background: rgba(25, 22, 44, 0.9);
    border: 1px solid #b98eee;
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 0 0 20px #ae57ff55;
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.nav-link {
    color: #f0f0f0;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    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, #c66cff44, transparent);
    transition: left 0.5s ease;
}

.nav-link:hover {
    color: #c66cff;
    background: rgba(198, 108, 255, 0.1);
    box-shadow: 0 0 15px #c66cff44;
    transform: translateX(-5px);
}

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

/* Main Content */
main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-container {
    margin-bottom: 4rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #444;
    border-radius: 15px;
    box-shadow: 0 0 25px rgba(150, 100, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.section-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #b98eee, #c66cff, #99ddff);
    animation: borderGlow 3s linear infinite;
}

@keyframes borderGlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.section-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(150, 100, 255, 0.15);
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #99ddff;
    text-shadow: 0 0 15px #0099ff;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #99ddff, #c66cff);
    border-radius: 2px;
    box-shadow: 0 0 10px #99ddff;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

p {
    line-height: 1.8;
    color: #ccc;
    font-size: 1.1rem;
    text-align: justify;
}

.section-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(150, 100, 255, 0.3);
    transition: all 0.3s ease;
}

.section-image:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(150, 100, 255, 0.5);
}

/* Mirror Box */
.mirror-box {
    padding: 2rem;
    border: 2px solid #b98eee;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    box-shadow: 0 0 25px #ae57ff88;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.mirror-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, #c66cff11 50%, transparent 70%);
    animation: mirrorShimmer 4s ease-in-out infinite;
}

@keyframes mirrorShimmer {
    0% { transform: translateX(-100%) translateY(-100%); }
    50% { transform: translateX(0%) translateY(0%); }
    100% { transform: translateX(100%) translateY(100%); }
}

.mirror-link {
    color: #b98eee;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.8rem;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.mirror-link:hover {
    color: #c66cff;
    background: rgba(198, 108, 255, 0.1);
    transform: translateX(10px);
    text-shadow: 0 0 10px #c66cff;
}

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

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

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

.gallery-track img {
    flex-shrink: 0;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(150, 100, 255, 0.3);
    transition: all 0.3s ease;
}

.gallery-track img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(150, 100, 255, 0.6);
}

.gallery-prev, .gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(25, 22, 44, 0.9);
    border: 2px solid #b98eee;
    color: #c66cff;
    font-size: 2.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 0 15px #ae57ff88;
    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 25px #ae57ff;
    transform: translateY(-50%) scale(1.1);
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #19162c 0%, #111122 50%, #0a0a0a 100%);
    border-top: 2px solid #c66cff77;
    color: #999;
    font-size: 16px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 -5px 30px #ae57ff55;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.footer-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.footer-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, #c66cff22, transparent);
    animation: footerPulse 6s ease-in-out infinite;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .floating-nav {
        position: static;
        transform: none;
        margin: 2rem auto;
        width: fit-content;
    }
    
    .nav-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .section-container {
        padding: 2rem;
        margin-bottom: 3rem;
    }
    
    main {
        padding: 1rem;
    }
    
    .nav-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .gallery-prev, .gallery-next {
        font-size: 2rem;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .site-footer {
        font-size: 14px;
        padding: 2rem 1rem;
    }
    
    .mirror-box {
        padding: 1.5rem;
    }
    
    .section-container {
        padding: 1.5rem;
    }
}

/* Additional Breathing Effects */
@keyframes breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.section-container {
    animation: breathe 8s ease-in-out infinite;
}

.mirror-box {
    animation: breathe 6s ease-in-out infinite;
}


