/* ========================================
   THE SANGRATA SYNDICATE - DARK MAFIA THEME
   ======================================== */

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --gold-primary: #c9a227;
    --gold-light: #e8d48b;
    --gold-dark: #8b7019;
    --red-accent: #8b0000;
    --red-light: #a52a2a;
    --text-primary: #f5f5f5;
    --text-secondary: #b0b0b0;
    --text-muted: #666666;
    --border-color: rgba(201, 162, 39, 0.2);
    --shadow-gold: 0 0 30px rgba(201, 162, 39, 0.3);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-primary) var(--bg-primary);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

body {
    font-family: 'Cormorant Garamond', Georgia, serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
    cursor: none;
}

/* ========================================
   PRELOADER
   ======================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.preloader-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    animation: pulse 2s ease-in-out infinite, float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(201, 162, 39, 0.5));
}

.preloader-text {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--gold-primary);
    margin-top: 20px;
    letter-spacing: 4px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease forwards;
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: var(--bg-tertiary);
    margin: 30px auto 0;
    border-radius: 2px;
    overflow: hidden;
}

.preloader-bar span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-primary), var(--gold-light));
    animation: loading 2s ease-in-out forwards;
}

/* ========================================
   CUSTOM CURSOR
   ======================================== */
.cursor {
    width: 10px;
    height: 10px;
    background: var(--gold-primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gold-primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
    opacity: 0.5;
}

.cursor-follower.hover {
    width: 60px;
    height: 60px;
    border-color: var(--gold-light);
    opacity: 0.8;
}

/* ========================================
   PARTICLE CANVAS
   ======================================== */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: transparent;
    transition: all 0.5s var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 50px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(201, 162, 39, 0.3));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.nav-logo:hover img {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(201, 162, 39, 0.6));
}

.nav-logo span {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gold-primary);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    transition: all 0.4s var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-primary);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.nav-hamburger span {
    width: 30px;
    height: 2px;
    background: var(--gold-primary);
    transition: all 0.3s ease;
}

/* ========================================
   NAVBAR MUSIC PLAYER
   ======================================== */
.nav-music {
    position: relative;
    margin-left: 20px;
}

.music-toggle {
    width: 45px;
    height: 45px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.music-toggle:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.2);
}

.music-toggle svg {
    width: 20px;
    height: 20px;
    color: var(--gold-primary);
    transition: opacity 0.3s ease;
}

.music-visualizer {
    position: absolute;
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-music.playing .music-toggle svg {
    opacity: 0;
}

.nav-music.playing .music-visualizer {
    opacity: 1;
}

.music-visualizer span {
    width: 3px;
    background: var(--gold-primary);
    border-radius: 2px;
    animation: visualizer 0.5s ease-in-out infinite alternate;
}

.music-visualizer span:nth-child(1) { height: 6px; animation-delay: 0s; }
.music-visualizer span:nth-child(2) { height: 12px; animation-delay: 0.15s; }
.music-visualizer span:nth-child(3) { height: 8px; animation-delay: 0.3s; }

.music-dropdown {
    position: absolute;
    top: 60px;
    right: 0;
    width: 320px;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.98), rgba(10, 10, 10, 0.98));
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.4s var(--transition-smooth);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.nav-music.active .music-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    text-align: center;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-title {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: var(--gold-primary);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.now-playing {
    text-align: center;
    margin-bottom: 20px;
}

.now-playing-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.track-name {
    font-size: 1.1rem;
    color: var(--text-primary);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.control-btn {
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.control-btn:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    transform: scale(1.1);
}

.control-btn svg {
    width: 18px;
    height: 18px;
}

.play-btn {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
    border: none;
    color: var(--bg-primary);
}

.play-btn:hover {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    color: var(--bg-primary);
    box-shadow: 0 0 25px rgba(201, 162, 39, 0.4);
}

.play-btn .pause-icon {
    display: none;
}

.nav-music.playing .play-btn .play-icon {
    display: none;
}

.nav-music.playing .play-btn .pause-icon {
    display: block;
}

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

.slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1.5s ease, transform 8s ease;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.85) 0%,
        rgba(10, 10, 10, 0.7) 50%,
        rgba(10, 10, 10, 0.95) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 20px;
}

.hero-logo {
    margin-bottom: 30px;
    animation: fadeInDown 1s ease 0.5s both;
}

.hero-logo img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(201, 162, 39, 0.5));
    animation: float 4s ease-in-out infinite;
}

.hero-title {
    margin-bottom: 20px;
}

.title-line {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 400;
    font-style: italic;
    color: var(--text-secondary);
    letter-spacing: 8px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease 0.7s both;
}

.title-main {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    color: var(--gold-primary);
    letter-spacing: 8px;
    text-transform: uppercase;
    text-shadow: 0 0 40px rgba(201, 162, 39, 0.4);
    animation: fadeInUp 1s ease 0.9s both, glow 3s ease-in-out infinite;
}

.hero-tagline {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: var(--red-light);
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 1.1s both;
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    animation: fadeIn 1s ease 1.3s both;
}

.hero-divider span {
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.hero-divider .diamond {
    width: 10px;
    height: 10px;
    background: var(--gold-primary);
    transform: rotate(45deg);
    box-shadow: var(--shadow-gold);
}

.hero-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-secondary);
    letter-spacing: 4px;
    animation: fadeInUp 1s ease 1.5s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: fadeIn 1s ease 2s both;
}

.scroll-indicator span {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, var(--gold-primary), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* ========================================
   SECTIONS COMMON
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    color: var(--gold-primary);
    letter-spacing: 4px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 6px;
    text-transform: uppercase;
}

.title-underline {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    margin: 20px auto 0;
    position: relative;
}

.title-underline::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--gold-primary);
    border-radius: 50%;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    position: relative;
    padding: 150px 0;
    background: var(--bg-secondary);
    overflow: hidden;
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(201, 162, 39, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(139, 0, 0, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    padding: 30px;
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    transition: all 0.5s ease;
}

.image-frame::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid var(--gold-dark);
    opacity: 0.5;
    transition: all 0.5s ease;
}

.image-frame:hover::before {
    top: -15px;
    left: -15px;
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(20%);
    transition: filter 0.5s ease;
}

.image-frame:hover img {
    filter: grayscale(0%);
}

.image-decoration {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    border-right: 2px solid var(--gold-primary);
    border-bottom: 2px solid var(--gold-primary);
    opacity: 0.3;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 2;
}

.about-text .lead {
    font-size: 1.3rem;
    color: var(--text-primary);
    font-style: italic;
}

.about-text .signature {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: var(--gold-primary);
    letter-spacing: 2px;
    margin-top: 40px;
}

/* ========================================
   CODE SECTION
   ======================================== */
.code-section {
    padding: 150px 0;
    background: var(--bg-primary);
    position: relative;
}

.code-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.code-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.code-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
}

.code-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-primary), var(--gold-dark));
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.code-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-dark);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.code-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg {
    width: 40px;
    height: 40px;
    color: var(--gold-primary);
    transition: transform 0.15s ease;
}

.code-card:hover .card-icon svg {
    transform: scale(1.2);
}

.code-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: var(--text-primary);
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.code-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========================================
   GALLERY SECTION
   ======================================== */
.gallery {
    padding: 150px 0;
    background: var(--bg-secondary);
}

/* Video Player Section */
.video-player-section {
    margin-bottom: 50px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
}

.video-player-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16/9;
}

.video-player-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.video-player-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.video-player-slide video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

/* Play Overlay */
.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.video-player-slide.playing .video-play-overlay {
    opacity: 0;
    pointer-events: none;
}

.video-play-btn {
    width: 80px;
    height: 80px;
    background: rgba(201, 162, 39, 0.9);
    border: none;
    border-radius: 50%;
    color: var(--bg-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(201, 162, 39, 0.4);
}

.video-play-btn:hover {
    transform: scale(1.1);
    background: var(--gold-primary);
    box-shadow: 0 0 50px rgba(201, 162, 39, 0.6);
}

.video-play-btn svg {
    width: 35px;
    height: 35px;
    margin-left: 5px;
}

/* Custom Video Controls */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-player-slide:hover .video-controls,
.video-player-slide.playing .video-controls {
    opacity: 1;
}

.video-controls button {
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.video-controls button:hover {
    color: var(--gold-primary);
}

.video-controls button svg {
    width: 22px;
    height: 22px;
}

.vc-play-pause .vc-pause-icon { display: none; }
.video-player-slide.playing .vc-play-pause .vc-play-icon { display: none; }
.video-player-slide.playing .vc-play-pause .vc-pause-icon { display: block; }

/* Progress Bar */
.vc-progress-container {
    flex: 1;
    height: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.vc-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    position: relative;
    transition: height 0.2s ease;
}

.vc-progress-container:hover .vc-progress-bar {
    height: 6px;
}

.vc-progress-filled {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-primary));
    border-radius: 2px;
    width: 0%;
    position: relative;
}

.vc-progress-handle {
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--gold-primary);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s ease;
    box-shadow: 0 0 10px rgba(201, 162, 39, 0.5);
}

.vc-progress-container:hover .vc-progress-handle {
    opacity: 1;
}

/* Time Display */
.vc-time {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.9rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.vc-separator {
    margin: 0 3px;
    opacity: 0.5;
}

/* Volume Control */
.vc-volume {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vc-mute .vc-mute-icon { display: none; }
.vc-mute.muted .vc-vol-icon { display: none; }
.vc-mute.muted .vc-mute-icon { display: block; }

.vc-volume-slider {
    width: 70px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
}

.vc-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: var(--gold-primary);
    border-radius: 50%;
    cursor: pointer;
}

.vc-volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: var(--gold-primary);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* Fullscreen Button */
.vc-fullscreen svg {
    width: 20px;
    height: 20px;
}

/* Video Title in Controls */
.vc-title {
    position: absolute;
    top: -40px;
    left: 20px;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: var(--gold-primary);
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-player-slide:hover .vc-title,
.video-player-slide.playing .vc-title {
    opacity: 1;
}

/* Video Navigation */
.video-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 15px;
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
}

.video-nav-btn {
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-nav-btn:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.video-nav-btn svg {
    width: 20px;
    height: 20px;
}

.video-dots {
    display: flex;
    gap: 10px;
}

.video-dot {
    width: 10px;
    height: 10px;
    background: var(--border-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-dot:hover {
    background: var(--gold-dark);
}

.video-dot.active {
    background: var(--gold-primary);
    transform: scale(1.2);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--transition-smooth), filter 0.5s ease;
    filter: grayscale(30%);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 10, 0.9) 100%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: var(--gold-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

.gallery-overlay .expand-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 50px;
    height: 50px;
    color: var(--gold-primary);
    opacity: 0;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(201, 162, 39, 0.5));
}

.gallery-item:hover .gallery-overlay .expand-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.gallery-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    padding: 60px 20px;
}

/* Image Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    transform: rotate(90deg);
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content img {
    transform: scale(1);
}

.lightbox-caption {
    margin-top: 20px;
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: var(--gold-primary);
    letter-spacing: 2px;
    text-align: center;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    padding: 150px 0;
    background: var(--bg-primary);
    text-align: center;
}

.contact-intro {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 2;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

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

.contact-label {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    color: var(--gold-primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.contact-value {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 45px;
    background: transparent;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--transition-smooth);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold-primary);
    transition: left 0.5s var(--transition-smooth);
    z-index: -1;
}

.cta-button:hover {
    color: var(--bg-primary);
}

.cta-button:hover::before {
    left: 0;
}

.cta-button svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(5px);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

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

.footer-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: grayscale(50%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.footer-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-secondary);
    margin: 25px 0;
}

.footer-divider {
    width: 60px;
    height: 1px;
    background: var(--gold-dark);
    margin: 30px auto;
}

.footer-copyright {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.footer-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.6;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes loading {
    0% { width: 0; }
    100% { width: 100%; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 40px rgba(201, 162, 39, 0.4); }
    50% { text-shadow: 0 0 60px rgba(201, 162, 39, 0.6); }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; height: 60px; }
    50% { opacity: 0.5; height: 40px; }
}

/* ========================================
   REVEAL ANIMATIONS
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s var(--transition-smooth);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s var(--transition-smooth);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s var(--transition-smooth);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 25px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.5s var(--transition-smooth);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .nav-hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .nav-hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .nav-music {
        margin-left: auto;
        margin-right: 15px;
    }
    
    .music-dropdown {
        width: 290px;
        right: -50px;
    }
    
    .hero-logo img {
        width: 100px;
        height: 100px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 30px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item.large {
        grid-column: span 1;
    }
    
    .cursor, .cursor-follower {
        display: none;
    }
    
    body {
        cursor: auto;
    }
}

@media (max-width: 480px) {
    .section-title {
        letter-spacing: 3px;
    }
    
    .code-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 0.8rem;
    }
}

/* ========================================
   MUSIC PLAYER
   ======================================== */
.music-player {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.player-toggle {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    border: 1px solid var(--gold-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.player-toggle:hover {
    transform: scale(1.1);
    border-color: var(--gold-primary);
    box-shadow: 0 5px 30px rgba(201, 162, 39, 0.3);
}

.player-toggle svg {
    width: 24px;
    height: 24px;
    color: var(--gold-primary);
}

.player-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 300px;
    background: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s var(--transition-smooth);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.music-player.active .player-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.player-title {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    color: var(--gold-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.player-visualizer {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 20px;
}

.player-visualizer span {
    width: 3px;
    background: var(--gold-primary);
    border-radius: 2px;
    animation: none;
}

.music-player.playing .player-visualizer span {
    animation: visualizer 0.5s ease-in-out infinite alternate;
}

.player-visualizer span:nth-child(1) { height: 8px; animation-delay: 0s; }
.player-visualizer span:nth-child(2) { height: 15px; animation-delay: 0.1s; }
.player-visualizer span:nth-child(3) { height: 10px; animation-delay: 0.2s; }
.player-visualizer span:nth-child(4) { height: 18px; animation-delay: 0.3s; }
.player-visualizer span:nth-child(5) { height: 12px; animation-delay: 0.4s; }

@keyframes visualizer {
    0% { height: 5px; }
    100% { height: 20px; }
}

.progress-container {
    width: 100%;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    cursor: pointer;
    margin-bottom: 8px;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-primary));
    border-radius: 2px;
    transition: width 0.1s linear;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.volume-icon {
    width: 18px;
    height: 18px;
    color: var(--text-secondary);
}

.volume-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: var(--gold-primary);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: var(--gold-primary);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.playlist {
    max-height: 150px;
    overflow-y: auto;
}

.playlist-header {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    color: var(--gold-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.playlist-items {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.playlist-item {
    padding: 10px 12px;
    background: var(--bg-tertiary);
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.playlist-item:hover {
    border-color: var(--border-color);
    background: rgba(201, 162, 39, 0.05);
}

.playlist-item.active {
    border-color: var(--gold-dark);
    background: rgba(201, 162, 39, 0.1);
}

.playlist-item .track-number {
    font-size: 0.75rem;
    color: var(--text-muted);
    width: 20px;
}

.playlist-item .track-title {
    flex: 1;
    font-size: 0.85rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.playlist-item.active .track-title {
    color: var(--gold-primary);
}

.playlist-item .playing-indicator {
    display: none;
    width: 12px;
    height: 12px;
}

.playlist-item.active .playing-indicator {
    display: flex;
    align-items: flex-end;
    gap: 2px;
}

.playlist-item .playing-indicator span {
    width: 2px;
    background: var(--gold-primary);
    animation: visualizer 0.4s ease-in-out infinite alternate;
}

.playlist-item .playing-indicator span:nth-child(1) { height: 4px; animation-delay: 0s; }
.playlist-item .playing-indicator span:nth-child(2) { height: 8px; animation-delay: 0.15s; }
.playlist-item .playing-indicator span:nth-child(3) { height: 6px; animation-delay: 0.3s; }

.playlist::-webkit-scrollbar {
    width: 4px;
}

.playlist::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 2px;
}

.playlist::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 2px;
}

/* ========================================
   EVENTS SECTION
   ======================================== */
.events {
    padding: 150px 0;
    background: var(--bg-primary);
    position: relative;
}

.events::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.event-card {
    display: block;
    text-decoration: none;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s ease;
    cursor: pointer;
}

.event-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-dark);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.event-screenshot {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.event-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-screenshot img {
    transform: scale(1.05);
}

.event-date-banner {
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
}

.event-calendar {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.event-day {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--bg-primary);
    line-height: 1;
}

.event-month {
    font-size: 0.7rem;
    color: var(--bg-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

.event-datetime {
    flex: 1;
}

.event-weekday {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.event-time {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-time svg {
    width: 16px;
    height: 16px;
}

.event-content {
    padding: 25px;
}

.event-title {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: var(--text-primary);
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.event-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.events-empty {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    font-style: italic;
    padding: 60px 0;
}

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

/* Inner Circle Link (footer) */
.inner-circle-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 0.75rem;
    color: var(--gold-dark) !important;
    text-decoration: none;
    opacity: 0.3;
    transition: all 0.3s ease;
    letter-spacing: 2px;
}

.inner-circle-link:hover {
    opacity: 1;
    color: var(--gold-primary) !important;
    text-shadow: 0 0 10px rgba(201, 162, 39, 0.3);
}
