:root {
    /* Brand Colors for BEREM (Grayscale, Black & White) */
    --primary: #ffffff; /* White */
    --primary-dim: rgba(255, 255, 255, 0.15);
    --secondary: #999999; /* Medium Gray */
    --bg-color: #000000; /* Pure Black */
    --surface-color: #0a0a0a; /* Very dark gray */
    --text-color: #ffffff;
    --text-muted: #888888;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, .btn-primary {
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

/* Background Effects */
.bg-orbs {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -2;
    overflow: hidden;
    background: radial-gradient(circle at center, var(--surface-color) 0%, var(--bg-color) 100%);
    pointer-events: none;
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    animation: float 25s infinite alternate ease-in-out;
}
.orb-1 {
    width: 60vw; height: 60vw;
    background: #2a2a2a; /* Dark gray orb */
    top: -20%; left: -20%;
}
.orb-2 {
    width: 50vw; height: 50vw;
    background: #1a1a1a;
    bottom: -10%; right: -20%;
    animation-delay: -5s;
}
.orb-3 {
    width: 40vw; height: 40vw;
    background: #3a3a3a;
    top: 40%; left: 30%;
    animation-delay: -15s;
    filter: blur(120px);
    opacity: 0.15;
}
@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(5vw, 15vh) scale(1.1); }
    100% { transform: translate(-10vw, 5vh) scale(0.9); }
}

/* Preloader */
.loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s cubic-bezier(0.8, 0, 0.2, 1);
}
.loader.hidden {
    opacity: 0;
    pointer-events: none;
}
.spinner {
    width: 60px; height: 60px;
    border: 3px solid rgba(255,255,255,0.05);
    border-radius: 50%;
    border-top-color: var(--primary);
    border-right-color: var(--secondary);
    animation: spin 1.2s cubic-bezier(0.6, 0.2, 0.4, 0.8) infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
}
.hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transform: scale(1.05);
    filter: grayscale(100%);
    animation: heroBreathe 20s ease-out forwards;
}
@keyframes heroBreathe {
    0% { transform: scale(1.2); filter: grayscale(100%) brightness(0.6); }
    100% { transform: scale(1.05); filter: grayscale(100%) brightness(0.9); }
}
.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(
        to bottom, 
        rgba(0, 0, 0, 0.4) 0%, 
        rgba(0, 0, 0, 0.7) 50%,
        var(--bg-color) 100%
    );
}

.hero-content {
    z-index: 1;
    padding: 0 20px;
    margin-top: 50px;
    animation: fadeUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(40px);
}
@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--primary-dim);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-content h1 {
    font-size: clamp(4rem, 15vw, 9rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 20px;
    color: var(--primary);
    text-shadow: 0 0 40px rgba(255,255,255,0.2);
}

.hero-content .subtitle {
    font-size: clamp(1rem, 4vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    background: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.btn-primary:hover {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 10px 30px var(--primary-dim);
    transform: translateY(-4px);
}
.btn-primary svg {
    transition: transform 0.3s ease;
}
.btn-primary:hover svg {
    transform: translateX(4px);
}

/* General Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 50px;
    text-align: center;
}
.section-title {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 600;
    color: #fff;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.section-title span {
    color: var(--text-muted);
    font-weight: 300;
}
.divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #fff, #555);
    margin: 20px auto 0;
    border-radius: 2px;
}

/* Sections */
.music-section {
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

.platforms {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Glass Cards */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255,255,255,0.08);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}
.card-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.platform-logo {
    height: 30px;
    object-fit: contain;
}

.iframe-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.05); /* Slight contrast */
    display: flex;
}
.iframe-container iframe {
    width: 100%;
    flex-grow: 1;
}

/* Specific Card adjustments for Tidal which is kinda tricky */
.tidal-card .iframe-container {
    min-height: 275px;
}

/* Gallery / Visuals */
.gallery-section {
    padding: 60px 0 120px;
    position: relative;
    z-index: 10;
}
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.gallery-item {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/5;
}
.image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hover-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-item:hover .image-wrapper img {
    transform: scale(1.08);
}
.gallery-item:hover .hover-overlay {
    opacity: 1;
}

/* Footer */
.footer {
    padding: 60px 0 40px;
    background: #020202;
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 10;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}
.footer-logo {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, #fff, #555);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 4px;
}
.social-links {
    display: flex;
    gap: 20px;
}
.social-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 14px;
    border-radius: 20px;
    background: var(--glass-bg);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}
.social-links a:hover {
    background: var(--primary-dim);
    border-color: var(--primary);
    transform: translateY(-3px);
}
.copyright {
    text-align: center;
    color: #555;
    font-size: 0.85rem;
}

/* Reveal classes for JS */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive (Desktop approach) --- */
@media (min-width: 768px) {
    .platforms {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .glass-card {
        width: calc(50% - 15px);
    }
    
    .apple-card { width: calc(50% - 15px); }
    .spotify-card { width: calc(50% - 15px); }
    .tidal-card { width: 100%; max-width: 800px; margin: 0 auto; }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-item {
        aspect-ratio: 1/1;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .platforms {
        flex-wrap: nowrap;
    }
    .glass-card { width: calc(33.333% - 20px); }
    .tidal-card { width: calc(33.333% - 20px); max-width: none; }
}
