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

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* Typography & Colors Variables */
:root {
    --brand-color: #140D4F;
    /* Main Brand Color: Deep Blue/Purple */
    --accent-color: #140D4F;
    /* Replaces Neon Green */

    --nav-height: 70px;
    /* Slightly tighter nav */

    /* OpenRoles uses Inter */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Deep Black Theme */
    --bg-primary: #050505;
    --bg-secondary: #0A0A0A;
    --bg-card: #0A0A0A;

    --text-primary: #EDEDED;
    --text-secondary: #888888;

    --border-color: #262626;
    --input-border: #333333;
    --input-active: #EDEDED;

    /* High Contrast Buttons */
    --btn-bg: #FFFFFF;
    --btn-text: #000000;
    --btn-hover-bg: #CCCCCC;
    --btn-hover-text: #000000;

    --btn-radius: 9999px;
    /* Pill */
}

/* Light Mode Overrides (Optional updates if needed, keeping standard) */
body.light-mode {
    --bg-primary: #ffffff;
    --bg-secondary: #F0F4F8;
    /* Light Chalk */
    --bg-card: #ffffff;
    --text-primary: #1C1E22;
    --text-secondary: #555555;
    --border-color: #eeeeee;
    --input-border: #cccccc;
    --input-active: #140D4F;
    --btn-bg: #140D4F;
    --btn-text: #ffffff;
    --btn-hover-bg: #F5F7FA;
    --btn-hover-text: #140D4F;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    letter-spacing: -0.02em;
    line-height: 1.5;
}

/* Top Announcement Bar - REMOVED */
.top-bar {
    display: none;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--nav-height);
    padding: 0 40px;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
    margin: 0 15px;
    text-transform: uppercase;
    transition: opacity 0.2s;
}

nav a:hover,
nav a.active {
    opacity: 0.7;
    color: var(--text-primary);
}

/* Just override color for visibility */
/* Removed: body:not(.light-mode) nav a:hover {
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
} */

/* ... (Logo and Icon styles unchanged) ... */

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
}

.moon-icon {
    font-size: 20px;
    line-height: 1;
    margin-right: 20px;
    cursor: pointer;
    transition: transform 0.3s;
    display: inline-block;
    vertical-align: middle;
}

.moon-icon:hover {
    transform: rotate(15deg);
}

.logo span {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.mobile-only {
    display: none;
}

/* ... (Hero styles unchanged generally, but using vars) ... */

/* Main Container */
.container {
    padding: 60px 40px;
    max-width: 1800px;
    /* Increased max-width for 5 columns */
    margin: 0 auto;
}

/* ... (Section Header styles) ... */
.section-header {
    margin-bottom: 40px;
    text-align: center;
}

.section-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: var(--text-primary);
}

.filter-toggles span {
    display: inline-block;
    cursor: pointer;
    margin: 0 12px;
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
    transition: color 0.2s;
}

.filter-toggles span:hover,
.filter-toggles span.active {
    color: var(--text-primary);
    border-bottom: 2px solid var(--text-primary);
}

/* Dark mode fix for accent visibility */
/* Removed: body:not(.light-mode) .filter-toggles span:hover,
body:not(.light-mode) .filter-toggles span.active {
    color: #fff;
    border-color: #fff;
} */

/* Grid System - Updated to Flex/Grid 5 columns */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    /* Removed column-count */
}

@media (max-width: 1600px) {
    .masonry-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

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

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

    /* Mobile adjustments... */
    .carousel-content h2 {
        font-size: 2.5rem;
    }

    .carousel-content {
        bottom: 30px;
        left: 20px;
        right: 20px;
    }
}

/* Artist Card */
.artist-card {
    break-inside: avoid;
    background: var(--bg-card);
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    transition: border-color 0.2s, transform 0.2s;
    border-radius: 8px;
    /* Slight rounding for cards */
    overflow: hidden;
}

.artist-card:hover {
    transform: translateY(-2px);
    border-color: #555;
}

.card-image-placeholder {
    width: 100%;
    height: 300px;
    background-color: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.card-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-details {
    padding: 20px;
}

.card-details h3 {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

.card-details p {
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    line-height: 1.4;
    text-transform: uppercase;
}

.card-details strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* Form Section */
.profile-creation {
    margin-top: 100px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
}

.form-wrapper {
    width: 100%;
    max-width: 600px;
    text-align: center;
}

.form-wrapper h3 {
    text-transform: uppercase;
    margin-bottom: 30px;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
}

input,
textarea {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid var(--input-border);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    background: transparent;
    color: var(--text-primary);
    transition: border 0.3s;
}

input:focus,
textarea:focus {
    border-bottom: 1px solid var(--input-active);
}

button[type="submit"] {
    margin-top: 20px;
    width: 100%;
    background: var(--btn-bg);
    color: var(--btn-text);
    padding: 16px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    font-size: 12px;
    letter-spacing: 1px;
}

button[type="submit"]:hover {
    background: var(--btn-hover-bg);
    color: var(--btn-hover-text);
}

/* Footer */
footer {
    padding: 40px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-links a {
    color: var(--text-primary);
    text-decoration: none;
    margin: 0 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.copy {
    color: #aaa;
    font-size: 10px;
}

/* ... (Existing CSS content) ... */

/* Carousel Section */
.hero-carousel {
    width: 100%;
    height: 60vh;
    /* Reduced height as requested */
    position: relative;
    overflow: hidden;
    background: #000;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    /* Darken for text readability */
}

.carousel-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 20px;
}

.carousel-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    color: var(--neon-green);
    text-transform: uppercase;
}

.carousel-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 600;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    color: #fff;
}

.carousel-btn {
    background: var(--neon-green);
    color: #000;
    padding: 12px 30px;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 1px;
}

.carousel-btn:hover {
    background: #fff;
}

/* 5 Column Grid */
.masonry-grid {
    column-count: 5;
    column-gap: 20px;
}

@media (max-width: 1400px) {
    .masonry-grid {
        column-count: 4;
    }
}

@media (max-width: 1100px) {
    .masonry-grid {
        column-count: 3;
    }
}

@media (max-width: 800px) {
    .masonry-grid {
        column-count: 2;
    }
}

@media (max-width: 500px) {
    .masonry-grid {
        column-count: 1;
    }
}

/* Profile Page Styles */
.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    background: var(--bg-secondary);
    text-align: center;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--neon-green);
}

.profile-info h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: var(--text-primary);
}

.profile-bio {
    max-width: 600px;
    margin: 0 auto 20px;
    color: var(--text-secondary);
    font-style: italic;
}

.social-links a {
    margin: 0 10px;
    color: var(--text-primary);
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
}

.profile-sections {
    display: flex;
    flex-wrap: wrap;
    padding: 40px;
    gap: 40px;
}

.profile-section-half {
    flex: 1;
    min-width: 300px;
}

.profile-section-half h2 {
    border-bottom: 2px solid var(--neon-green);
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--text-primary);
}

.item-card {
    background: var(--bg-card);
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--neon-green);
    color: var(--text-primary);
}

.edit-btn-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--neon-green);
    color: #000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 100;
}

/* Carousel Section with Bottom-Left Gradient Overlay and Text */
.hero-carousel {
    width: 100%;
    height: 75vh;
    position: relative;
    overflow: hidden;
    background: #000;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    cursor: pointer;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

/* Gradient Overlay: Dark Bottom-Left -> Lighter Top */
.carousel-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dark at bottom (0.9 opacity), lighter towards top right */
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.9) 0%, rgba(20, 13, 79, 0.2) 100%);
    pointer-events: none;
}

.carousel-content {
    position: absolute;
    bottom: 60px;
    left: 60px;
    z-index: 2;
    text-align: left;
    color: #fff;
    max-width: 600px;
    pointer-events: none;
}

.carousel-content h2 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #fff;
    text-transform: uppercase;
    line-height: 1;
}

.carousel-content p {
    font-size: 1.2rem;
    margin-bottom: 0px;
    font-weight: 500;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hide Buttons in Carousel as requested */
.carousel-btn {
    display: none;
}

/* Global Form/Button Updates */
input,
textarea,
select {
    border-bottom: 1px solid var(--input-border);
    color: var(--text-primary);
}

input:focus,
textarea:focus,
select:focus {
    border-bottom: 1px solid var(--brand-color);
}

button,
.btn {
    border-radius: var(--btn-radius);
    padding: 14px 30px;
}

/* Landing Page Specifics */
.cta-button {
    background: #fff;
    color: #000;
    padding: 20px 50px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 0.2s, background 0.2s;
    display: inline-block;
}

.cta-button:hover {
    transform: scale(1.05);
    background: #ccc;
}

.step-card {
    transition: transform 0.3s, background 0.3s;
    border: 1px solid var(--border-color);
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--text-primary);
}