/* 
   SpyroStudioAI Styles 
   Theme: Dark, Futuristic, Purple/Cyan Neon 
*/

:root {
    --bg-color: #05050a;
    --text-color: #ffffff;
    --text-muted: #a0a0b0;
    --neon-purple: #c74dff;
    --neon-cyan: #22ffff;
    --glass-bg: rgba(255, 255, 255, 0.05); /* Increased opacity for effect */
    --glass-border: rgba(255, 255, 255, 0.15); /* More visible border */
    --glow-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Highlights */
.highlight-cyan {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.highlight-purple {
    color: var(--neon-purple);
    text-shadow: 0 0 10px rgba(176, 38, 255, 0.5);
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px 0 rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(255,255,255,0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.glass-panel:hover {
    box-shadow: 0 20px 45px 0 rgba(0, 0, 0, 0.7), inset 0 0 15px rgba(255,255,255,0.1);
}

/* Neon Borders */
.neon-border-cyan {
    border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 20px var(--neon-cyan), inset 0 0 20px var(--neon-cyan);
}

.neon-border-purple {
    border: 2px solid var(--neon-purple);
    box-shadow: 0 0 20px var(--neon-purple), inset 0 0 20px var(--neon-purple);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 10, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 1px;
}

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

.nav-links li a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-links li a:hover {
    color: var(--neon-cyan);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    outline: none;
    font-family: var(--font-heading);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-cyan));
    color: #000;
    box-shadow: 0 0 25px rgba(199, 77, 255, 0.5);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 40px rgba(34, 255, 255, 0.8), 0 0 20px rgba(199, 77, 255, 0.6);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--neon-cyan);
    color: #fff;
    box-shadow: 0 0 15px rgba(34, 255, 255, 0.4), inset 0 0 15px rgba(34, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 30px rgba(34, 255, 255, 0.8), inset 0 0 20px rgba(255, 255, 255, 0.5);
    transform: translateY(-5px) scale(1.05);
}

.btn-outline {
    background: rgba(0,0,0,0.5);
    border: 2px solid var(--glass-border);
    color: var(--text-color);
    backdrop-filter: blur(10px);
}

.btn-outline.neon-btn:hover {
    border-color: var(--neon-purple);
    color: #fff;
    background: rgba(199, 77, 255, 0.1);
    box-shadow: 0 0 25px rgba(199, 77, 255, 0.6), inset 0 0 15px rgba(199, 77, 255, 0.3);
    transform: translateY(-5px);
}

.snoop-btn {
    background: #000 !important;
    color: #ffffff !important;
    border: 2px solid var(--neon-purple);
    box-shadow: none !important;
    text-shadow: none;
    transition: all 0.3s ease;
}

.snoop-btn:hover {
    box-shadow: 0 0 20px var(--neon-purple), inset 0 0 10px var(--neon-purple) !important;
    transform: scale(1.05);
}

.snoop-btn.snoop-green {
    border-color: #1DB954;
}

.snoop-btn.snoop-green:hover {
    box-shadow: 0 0 20px #1DB954, inset 0 0 10px #1DB954 !important;
}

/* Sections */
.section {
    padding: 150px 0;
}

.section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 80px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #ffffff;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stars-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(176, 38, 255, 0.1) 0%, rgba(5, 5, 10, 1) 70%);
    z-index: -1;
}

/* Animated Global Aurora Background */
.aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -999;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    overflow: hidden;
    pointer-events: none; /* Dba by warstwa tła nigdy nie przeszkadzała w klikaniu */
}

.aurora-bg::before, .aurora-bg::after {
    content: '';
    position: absolute;
    width: 80vw;
    height: 80vh;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15; /* Subtelna przezroczystość by teksty były czytelne */
    animation: aurora-float 20s infinite alternate ease-in-out;
}

.aurora-bg::before {
    background: #8A2BE2; /* fiolet */
    top: -20%;
    left: -10%;
}

.aurora-bg::after {
    background: #00F2FF; /* błękit */
    bottom: -20%;
    right: -10%;
    animation-delay: -10s;
}

@keyframes aurora-float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(15vw, 15vh) scale(1.1); }
    66% { transform: translate(-15vw, 25vh) scale(0.9); }
    100% { transform: translate(10vw, -15vh) scale(1.05); }
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    z-index: 1;
}

.glitch {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    text-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    letter-spacing: 1px;
}

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

/* Mission Section */
.mission-section {
    padding: 60px 0;
}

.mission-banner {
    text-align: center;
    border-left: 5px solid var(--neon-cyan);
    border-right: 5px solid var(--neon-purple);
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(0,0,0,0.4));
    box-shadow: 0 0 40px rgba(0,0,0,0.6);
}

.mission-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.mission-text {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #fff, var(--text-muted));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Video Section */
.video-section .glass-panel {
    text-align: center;
}

.video-section .purple-glow {
    box-shadow: 0 15px 45px rgba(176, 38, 255, 0.4), inset 0 0 20px rgba(176, 38, 255, 0.1);
    border-color: rgba(176, 38, 255, 0.3);
}

.video-section .purple-glow:hover {
    box-shadow: 0 20px 60px rgba(176, 38, 255, 0.6), inset 0 0 30px rgba(176, 38, 255, 0.2);
}

.embedded-info {
    margin-bottom: 30px;
    font-size: 1.2rem;
    color: var(--text-muted);
}

.embedded-info.highlight-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.iframe-wrapper {
    width: 100%;
    margin: 0 auto;
    border-radius: 12px;
}

.yt-link-wrapper {
    margin-top: 30px;
}

/* Audio Section */
.audio-section .glass-panel {
    text-align: center;
}

.spotify-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.8), 0 0 20px rgba(199, 77, 255, 0.2);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--neon-cyan);
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.specializations {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.specializations li {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
}

.specializations li:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
}

.specializations i {
    font-size: 1.5rem;
}

.about-images {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.image-box {
    width: 200px;
    height: 300px;
    border-radius: 20px;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.image-box.shifted {
    transform: translateY(40px);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

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

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
}

.social-icon.youtube:hover {
    background: #ff0000;
    color: #fff;
    box-shadow: 0 0 20px rgba(255,0,0,0.5);
    border-color: #ff0000;
}

.social-icon.spotify:hover {
    background: #1DB954;
    color: #fff;
    box-shadow: 0 0 25px rgba(29, 185, 84, 0.6);
    border-color: #1DB954;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
    background: rgba(0,0,0,0.5);
}

.submit-btn {
    width: 100%;
    margin-top: 10px;
}

/* Footer */
footer {
    background: #020205;
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.footer-socials a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

/* Animations added via JS class */
.fade-in {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-images {
        margin-top: 30px;
    }
    
    .glitch {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: rgba(5, 5, 10, 0.95);
        backdrop-filter: blur(15px);
        width: 100%;
        height: calc(100vh - 80px);
        text-align: center;
        padding-top: 50px;
        transition: left 0.3s ease;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .glitch {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .cta-group {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .specializations {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
