/* =========================================
   VARIABLES & DESIGN SYSTEM 
   ========================================= */
:root {
    --bg-color: #0a0a0c;
    --bg-darker: #050506;
    --text-main: #e0e0e0;
    --text-muted: #888899;
    
    /* Neon Accents */
    --accent-purple: #8a2be2;
    --accent-blue: #00ffff;
    --accent-magenta: #ff00ff;
    
    /* Fonts */
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;

    /* Transitions */
    --transition: all 0.3s ease-in-out;
}

/* =========================================
   RESET & BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section__title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    color: #fff;
}

.text-accent {
    color: var(--accent-magenta);
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    outline: none;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: var(--transition);
    background: transparent;
}

.btn--primary {
    background: linear-gradient(45deg, var(--accent-purple), var(--accent-magenta));
    color: #fff;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.4);
}

.btn--primary:hover {
    box-shadow: 0 0 25px rgba(255, 0, 255, 0.7);
    transform: translateY(-2px);
}

.btn--outline {
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue);
    box-shadow: inset 0 0 0 rgba(0, 255, 255, 0), 0 0 10px rgba(0, 255, 255, 0.2);
}

.btn--outline:hover {
    background-color: rgba(0, 255, 255, 0.1);
    box-shadow: inset 0 0 10px rgba(0, 255, 255, 0.5), 0 0 20px rgba(0, 255, 255, 0.5);
    color: #fff;
}

.btn--small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    transition: var(--transition);
    background: transparent;
    padding: 20px 0;
}

.navbar.scrolled {
    background: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(138, 43, 226, 0.2);
    padding: 15px 0;
}

.navbar__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar__logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 3px;
    text-shadow: 0 0 5px var(--accent-purple);
}

.navbar__logo span {
    color: var(--accent-blue);
}

.navbar__menu {
    display: flex;
    gap: 30px;
}

.navbar__link {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.navbar__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-blue);
    transition: var(--transition);
    box-shadow: 0 0 10px var(--accent-blue);
}

.navbar__link:hover {
    color: var(--accent-blue);
}

.navbar__link:hover::after {
    width: 100%;
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.navbar__toggle .bar {
    width: 30px;
    height: 3px;
    background-color: #fff;
    transition: var(--transition);
}

/* =========================================
   HERO & GLITCH EFFECT
   ========================================= */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero__canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, var(--bg-color), transparent);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--accent-blue);
    margin-bottom: 10px;
    letter-spacing: 5px;
}

.hero__title {
    font-size: 5rem;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(138, 43, 226, 0.8);
}

.glitch-wrapper {
    position: relative;
}

.glitch {
    position: relative;
    display: inline-block;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.glitch::before {
    left: 4px;
    text-shadow: -2px 0 var(--accent-magenta);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -4px;
    text-shadow: -2px 0 var(--accent-blue);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(20px, 9999px, 86px, 0); }
    5% { clip: rect(42px, 9999px, 14px, 0); }
    10% { clip: rect(62px, 9999px, 99px, 0); }
    15% { clip: rect(32px, 9999px, 41px, 0); }
    20% { clip: rect(87px, 9999px, 2px, 0); }
    25% { clip: rect(10px, 9999px, 78px, 0); }
    30% { clip: rect(98px, 9999px, 55px, 0); }
    35% { clip: rect(24px, 9999px, 11px, 0); }
    100% { clip: rect(24px, 9999px, 11px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(65px, 9999px, 100px, 0); }
    5% { clip: rect(12px, 9999px, 54px, 0); }
    10% { clip: rect(96px, 9999px, 32px, 0); }
    15% { clip: rect(45px, 9999px, 21px, 0); }
    20% { clip: rect(18px, 9999px, 86px, 0); }
    25% { clip: rect(76px, 9999px, 9px, 0); }
    30% { clip: rect(33px, 9999px, 67px, 0); }
    35% { clip: rect(81px, 9999px, 44px, 0); }
    100% { clip: rect(81px, 9999px, 44px, 0); }
}

.hero__description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--text-muted);
}

/* =========================================
   ABOUT & HOLOGRAFIC EFFECT
   ========================================= */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about__text p {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.about__members {
    display: flex;
    gap: 30px;
}

.member-card {
    text-align: center;
    flex: 1;
}

.member-card__image {
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid var(--accent-purple);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.2);
}

/* Голографический эффект */
.holo-effect img {
    filter: sepia(0.5) hue-rotate(200deg) saturate(200%);
    opacity: 0.8;
    transition: var(--transition);
}

.holo-effect::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(transparent 50%, rgba(0, 255, 255, 0.1) 50%);
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 2;
}

.holo-effect:hover img {
    filter: none;
    opacity: 1;
    transform: scale(1.05);
}

.member-card__name {
    color: var(--accent-blue);
    margin-bottom: 5px;
}

.member-card__role {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* =========================================
   MUSIC PLAYER
   ========================================= */
.music {
    background-color: var(--bg-darker);
}

.music__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: rgba(255,255,255,0.02);
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.audio-player {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.audio-player__cover img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.2);
}

.audio-player__track {
    font-size: 1.5rem;
    color: #fff;
}

.audio-player__album {
    color: var(--accent-blue);
    margin-bottom: 20px;
}

.audio-player__controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ctrl-btn {
    background: transparent;
    border: none;
    color: var(--accent-magenta);
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: var(--transition);
}

.ctrl-btn:hover {
    color: #fff;
    transform: scale(1.1);
}

.progress-bar {
    flex-grow: 1;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

.progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30%; /* Для демо */
    background: var(--accent-blue);
    border-radius: 3px;
    box-shadow: 0 0 10px var(--accent-blue);
}

.tracklist {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tracklist__item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(255,255,255,0.02);
    cursor: pointer;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.tracklist__item:hover, .tracklist__item.active {
    background: rgba(255,255,255,0.05);
    border-left-color: var(--accent-purple);
}

.tracklist__num {
    color: var(--text-muted);
    margin-right: 15px;
    font-family: var(--font-heading);
}

.tracklist__name {
    flex-grow: 1;
    color: #fff;
}

.tracklist__item.active .tracklist__name {
    color: var(--accent-blue);
}

/* =========================================
   TOUR
   ========================================= */
.tour__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tour__item {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr auto;
    align-items: center;
    padding: 25px 30px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.tour__item:hover {
    background: rgba(138, 43, 226, 0.1);
    border-color: var(--accent-purple);
    transform: translateX(10px);
}

.tour__date {
    font-family: var(--font-heading);
    color: var(--accent-magenta);
    font-size: 1.2rem;
}

.tour__venue {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 600;
}

/* =========================================
   MERCH
   ========================================= */
.merch {
    background-color: var(--bg-darker);
}

.merch__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.merch-card {
    background: var(--bg-color);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.merch-card:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1);
    transform: translateY(-5px);
}

.merch-card__image {
    margin-bottom: 20px;
}

.merch-card__info h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.merch-card .price {
    color: var(--accent-magenta);
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* =========================================
   CONTACT & FOOTER
   ========================================= */
.footer {
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-input:focus, .form-textarea:focus {
    border-color: var(--accent-purple);
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
}

.footer__socials p {
    font-family: var(--font-heading);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    color: var(--text-main);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.social-link:hover {
    background: var(--accent-purple);
    color: #fff;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.5);
    transform: translateY(-5px);
}

.footer__bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
}

/* =========================================
   ANIMATIONS UTILS (JS triggers)
   ========================================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   RESPONSIVE DESIGN (Mobile)
   ========================================= */
@media screen and (max-width: 900px) {
    .tour__item {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    .navbar__toggle {
        display: flex;
    }

    .navbar__menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(10, 10, 12, 0.98);
        width: 100%;
        text-align: center;
        padding: 40px 0;
        transition: 0.4s ease-in-out;
        gap: 20px;
        border-bottom: 1px solid var(--accent-purple);
    }

    .navbar__menu.active {
        left: 0;
    }

    .hero__title {
        font-size: 3rem;
    }

    .about__grid, .music__content, .footer__content {
        grid-template-columns: 1fr;
    }

    .about__members {
        flex-direction: column;
    }
    
    .section {
        padding: 60px 0;
    }
}
