:root {
    --bg-dark: #07070b;
    --bg-darker: #040406;
    --bg-light: #121218;
    --accent-purple: #7c3aed;
    --accent-purple-glow: rgba(124, 58, 237, 0.5);
    --accent-blue: #3b82f6;
    --accent-blue-glow: rgba(59, 130, 246, 0.5);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --font-title: 'Cinzel Decorative', serif;
    --font-body: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, .logo {
    font-family: var(--font-title);
    font-weight: 700;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    color: var(--text-main);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-blue));
}

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

.section {
    padding: 6rem 0;
}

.text-center {
    text-align: center;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    z-index: 100;
    transition: all 0.3s ease;
    background: transparent;
}

.header.scrolled {
    background: rgba(4, 4, 6, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
    padding: 1rem 2rem;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 10px var(--accent-purple-glow));
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-family: var(--font-title);
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-purple);
}

.nav-links a.btn-nav {
    padding: 0.4rem 1.2rem;
    color: var(--text-main);
}

.nav-links a.btn-nav:hover, .nav-links a.btn-nav.active {
    color: var(--text-main);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-purple);
    transition: width 0.3s ease;
}

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

.nav-links a.btn-nav::after {
    display: none;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-main);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: var(--font-title);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent-purple), var(--accent-blue));
    color: white;
    box-shadow: 0 4px 15px var(--accent-purple-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-muted);
}

.btn-secondary:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-purple);
    color: var(--accent-purple);
}

.btn-outline:hover {
    background: var(--accent-purple);
    color: white;
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.2rem;
}

.link-arrow {
    color: var(--accent-blue);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.link-arrow:hover {
    gap: 1rem;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/carasidem_hero_bg.png');
    background-size: cover;
    background-position: center;
    filter: brightness(0.4) contrast(1.2);
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--bg-dark), transparent);
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.glitch {
    font-size: 6rem;
    font-weight: 900;
    letter-spacing: 5px;
    margin-bottom: 0.5rem;
    position: relative;
    text-shadow: 0 0 20px var(--accent-purple-glow);
}

.hero-logo {
    max-width: 90%;
    max-height: 280px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px var(--accent-purple-glow));
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.6;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-family: var(--font-title);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mouse {
    width: 20px;
    height: 30px;
    border: 2px solid var(--text-main);
    border-radius: 10px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    background: var(--accent-blue);
    border-radius: 2px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

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

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

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    z-index: 1;
}

.placeholder-img {
    width: 100%;
    aspect-ratio: 4/5;
    background: #1a1a24;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.placeholder-img::after {
    content: 'BAND PHOTO (PLACEHOLDER)';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-title);
    color: var(--text-muted);
    opacity: 0.5;
    letter-spacing: 2px;
}

.band-img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 4px;
    position: relative;
    z-index: 2;
}

.accent-box {
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent-purple);
    z-index: -1;
    border-radius: 4px;
}

/* Events Section */
.events {
    background-color: var(--bg-light);
    position: relative;
    z-index: 1;
}

.events-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/carasidem_event_bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
    mix-blend-mode: luminosity;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.event-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.event-card {
    display: flex;
    align-items: center;
    background: rgba(7, 7, 11, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.event-card:hover {
    transform: translateX(10px);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: -5px 0 20px rgba(124, 58, 237, 0.1);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-right: 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 120px;
}

.event-date .month {
    font-family: var(--font-title);
    color: var(--accent-purple);
    font-weight: 700;
    text-transform: uppercase;
}

.event-date .day {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-main);
}

.event-date .year {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.event-info {
    flex-grow: 1;
    padding-left: 2rem;
}

.badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent-blue);
    border-radius: 3px;
    margin-bottom: 0.5rem;
}

.badge-alt {
    background: rgba(124, 58, 237, 0.2);
    color: #c4b5fd;
}

.event-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.event-info p {
    color: var(--text-muted);
}

/* Store Preview Section */
.store-preview {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-darker) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.store-desc {
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background-color: var(--bg-darker);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(124, 58, 237, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h2 {
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.footer-brand p {
    color: var(--accent-purple);
    font-family: var(--font-title);
}

.footer h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-blue);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text-muted);
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-icons a:hover {
    background: var(--accent-purple);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.label-link {
    color: var(--accent-blue);
}

.label-link:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 101;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(4, 4, 6, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .glitch {
        font-size: 3.5rem;
    }
    
    .about-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .event-card {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .event-date {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-right: 0;
        padding-bottom: 1.5rem;
        width: 100%;
    }
    
    .event-info {
        padding-left: 0;
    }
}

/* ABOUT PAGE STYLES */
.hero-small {
    height: 40vh;
    min-height: 350px;
}

.bio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.bio-text p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    border-radius: 8px;
    z-index: 1;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

.member-card {
    background: rgba(7, 7, 11, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.member-card:hover {
    transform: translateY(-10px);
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.1);
}

.member-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: grayscale(100%) contrast(1.2);
}

.member-card:hover .member-img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(124, 58, 237, 0.5) 100%);
    opacity: 0.5;
    mix-blend-mode: color;
    transition: opacity 0.3s ease;
}

.member-card:hover .member-overlay {
    opacity: 1;
}

.member-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
    letter-spacing: 2px;
}

.member-info .role {
    color: var(--accent-blue);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.masonry-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(80%);
    transition: all 0.4s ease;
}

.gallery-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .members-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .bio-grid {
        grid-template-columns: 1fr;
    }
    
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .members-grid {
        grid-template-columns: 1fr;
    }
}

/* TOUR PAGE STYLES */
.tour-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.tour-card {
    display: flex;
    align-items: center;
    background: rgba(18, 18, 24, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem 2rem;
    transition: all 0.3s ease;
}

.tour-card.upcoming {
    border-left: 4px solid var(--accent-blue);
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.1) 0%, rgba(18, 18, 24, 0.8) 100%);
}

.tour-card.past {
    opacity: 0.6;
    border-left: 4px solid rgba(255, 255, 255, 0.1);
}

.tour-card.past:hover {
    opacity: 0.9;
}

.tour-card:hover {
    transform: translateY(-3px);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.tour-date-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 140px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 1.5rem;
}

.tour-date-box .day {
    font-size: 3rem;
    font-weight: 900;
    font-family: var(--font-title);
    line-height: 1;
    color: var(--text-main);
}

.tour-date-box .month-year {
    display: flex;
    flex-direction: column;
}

.tour-date-box .month {
    text-transform: uppercase;
    font-weight: 700;
    color: var(--accent-purple);
    font-family: var(--font-title);
}

.tour-date-box .year {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.tour-details {
    flex-grow: 1;
    padding-left: 2rem;
}

.tour-details h3 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.tour-details p {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tour-details p i {
    color: var(--accent-blue);
}

.tour-action {
    padding-left: 1rem;
}

.btn-disabled {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: not-allowed;
    text-transform: uppercase;
    pointer-events: none;
}

@media (max-width: 768px) {
    .tour-card {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .tour-date-box {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-right: 0;
        padding-bottom: 1.5rem;
        justify-content: center;
        width: 100%;
    }
    
    .tour-details {
        padding-left: 0;
    }

    .btn-nav {
        margin-left: 0;
        margin-top: 1rem;
        display: inline-block;
    }
}

/* LINKTREE PAGE STYLES */
.links-page {
    background-color: var(--bg-dark);
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 3rem 1rem;
}

.links-container {
    width: 100%;
    max-width: 680px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.links-header {
    text-align: center;
}

.links-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: contain;
    border: 3px solid var(--accent-purple);
    box-shadow: 0 0 25px var(--accent-purple-glow);
    margin-bottom: 1.5rem;
    background-color: var(--bg-darker);
    padding: 10px;
}

.links-header h1 {
    font-size: 2rem;
    margin-bottom: 0.2rem;
    color: var(--text-main);
    letter-spacing: 1px;
}

.links-header p {
    color: var(--accent-blue);
    font-size: 1.1rem;
    font-weight: 400;
}

.links-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(18, 18, 24, 0.6);
    border: 1px solid rgba(124, 58, 237, 0.2);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.links-group h2 {
    font-size: 1.1rem;
    font-family: var(--font-body);
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.link-btn i {
    font-size: 1.3rem;
    color: var(--accent-purple);
    transition: color 0.3s ease;
}

.link-btn:hover {
    background: rgba(124, 58, 237, 0.1);
    border-color: var(--accent-purple);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.15);
}

.link-btn:hover i {
    color: var(--text-main);
}

.link-btn-primary {
    background: linear-gradient(45deg, var(--accent-purple), var(--accent-blue));
    border: none;
    color: white;
}

.link-btn-primary i {
    color: white;
}

.link-btn-primary:hover {
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
    border-color: transparent;
    box-shadow: 0 5px 20px var(--accent-purple-glow);
}

.link-btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-purple);
    color: var(--accent-purple);
}

.link-btn-secondary:hover {
    background: var(--accent-purple);
    color: white;
}

.embed-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}
