/* ===================================
   MLBB TOURNAMENT WEBSITE - MAIN STYLES
   Tema: Dark dengan aksen Gold & Blue (MLBB Style)
   =================================== */

/* CSS Variables / Root */
:root {
    --primary-gold: #f5a623;
    --primary-blue: #00d4ff;
    --dark-bg: #0a0a0f;
    --dark-card: #12121a;
    --dark-card-hover: #1a1a25;
    --dark-border: #2a2a3a;
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --text-light: #e0e0e0;
    --gradient-gold: linear-gradient(135deg, #f5a623 0%, #f7c56e 50%, #f5a623 100%);
    --gradient-blue: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0f 0%, #15151f 100%);
    --shadow-gold: 0 0 30px rgba(245, 166, 35, 0.3);
    --shadow-blue: 0 0 30px rgba(0, 212, 255, 0.3);
    --font-main: 'Poppins', sans-serif;
    --font-title: 'Orbitron', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--dark-border);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-logo img {
    height: 45px;
    width: auto;
}

.nav-logo h1 {
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 35px;
}

.nav-menu a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-light);
    position: relative;
    padding: 5px 0;
}

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

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

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

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: var(--gradient-dark);
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/images/logo.png') center/cover no-repeat;
    opacity: 0.3;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, var(--dark-bg) 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-badge {
    display: inline-block;
    background: rgba(245, 166, 35, 0.15);
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.4);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(245, 166, 35, 0);
    }
}

.hero h1 {
    font-family: var(--font-title);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero h1 .highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.hero-date {
    font-size: 1.1rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--dark-bg);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(245, 166, 35, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--dark-bg);
    box-shadow: var(--shadow-blue);
}

/* ===================================
   SECTION STYLES
   =================================== */
.section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-header h2 .highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   INFO CARDS
   =================================== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.info-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-gold);
}

.info-card .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(245, 166, 35, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.info-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-gold);
}

.info-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* ===================================
   PRIZE SECTION
   =================================== */
.prize-section {
    background: linear-gradient(180deg, var(--dark-bg) 0%, #0d0d15 100%);
}

.prize-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: end;
}

.prize-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.prize-card.first {
    transform: scale(1.1);
    border-color: var(--primary-gold);
    background: linear-gradient(180deg, rgba(245, 166, 35, 0.1) 0%, var(--dark-card) 100%);
}

.prize-card .rank {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.prize-card.first .rank {
    color: var(--primary-gold);
}

.prize-card.second .rank {
    color: #c0c0c0;
}

.prize-card.third .rank {
    color: #cd7f32;
}

.prize-card .prize-label {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.prize-card .prize-amount {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-white);
}

.prize-card.first .prize-amount {
    color: var(--primary-gold);
}

/* ===================================
   TIMELINE
   =================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--dark-border);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 50px;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--primary-gold);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: var(--shadow-gold);
}

.timeline-content {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 15px;
    padding: 25px;
    max-width: 350px;
    margin-right: 40px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 0;
    margin-left: 40px;
}

.timeline-content .date {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ===================================
   FORM STYLES
   =================================== */
.form-container {
    max-width: 850px;
    margin: 0 auto;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 25px;
    padding: 50px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-light);
}

.form-group label .required {
    color: #ff4757;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    color: var(--text-white);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.1);
}

.form-control::placeholder {
    color: var(--text-gray);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23a0a0a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
}

/* File Upload */
.file-upload {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
    background: var(--dark-bg);
    border: 2px dashed var(--dark-border);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload:hover {
    border-color: var(--primary-gold);
}

.file-upload input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload .upload-icon {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 15px;
}

.file-upload p {
    color: var(--text-gray);
    text-align: center;
}

.file-upload .file-name {
    margin-top: 10px;
    color: var(--primary-gold);
    font-weight: 600;
}

/* Player Fields */
.players-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--dark-border);
}

.players-section h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--primary-gold);
}

.player-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 15px;
    align-items: center;
    margin-bottom: 15px;
}

.player-row .form-control {
    min-width: 0;
}

.player-number {
    width: 40px;
    height: 40px;
    background: var(--primary-gold);
    color: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* ===================================
   BRACKET STYLES
   =================================== */
.bracket-container {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    padding: 40px;
    overflow-x: auto;
}

.bracket-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.bracket {
    display: flex;
    gap: 60px;
    min-width: max-content;
    padding: 20px 0;
}

.bracket-round {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 250px;
}

.round-title {
    font-family: var(--font-title);
    font-size: 1rem;
    color: var(--primary-gold);
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.bracket-match {
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    overflow: hidden;
}

.bracket-team {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--dark-border);
}

.bracket-team:last-child {
    border-bottom: none;
}

.bracket-team:hover {
    background: var(--dark-card-hover);
}

.bracket-team.winner {
    background: rgba(245, 166, 35, 0.15);
}

.bracket-team.winner .team-name {
    color: var(--primary-gold);
    font-weight: 600;
}

.bracket-team .team-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--dark-border);
    object-fit: cover;
}

.bracket-team .team-name {
    flex: 1;
    font-size: 0.9rem;
}

.bracket-team .team-score {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-gray);
    min-width: 30px;
    text-align: center;
}

.bracket-team.winner .team-score {
    color: var(--primary-gold);
}

/* Empty slot */
.bracket-team.empty {
    opacity: 0.5;
}

.bracket-team.empty .team-name {
    color: var(--text-gray);
    font-style: italic;
}

/* Connector lines */
.bracket-round:not(:last-child) .bracket-match {
    position: relative;
}

/* ===================================
   ADMIN PANEL (Bracket Management)
   =================================== */
.admin-panel {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
}

.admin-panel h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-gold);
}

.team-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.team-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--dark-bg);
    padding: 12px 15px;
    border-radius: 10px;
    border: 1px solid var(--dark-border);
}

.team-item img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.team-item .team-info {
    flex: 1;
}

.team-item .team-info h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.team-item .team-info p {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.team-item .btn-remove {
    background: rgba(255, 71, 87, 0.2);
    color: #ff4757;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.team-item .btn-remove:hover {
    background: #ff4757;
    color: white;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: #080810;
    border-top: 1px solid var(--dark-border);
    padding: 60px 0 30px;
    /* bikin shadow ke atas */
    box-shadow: 0 -2px 10px rgba(245, 166, 35, 0.3);

}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: 15px;
}

.footer-brand p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-white);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-gray);
}

.footer-links ul li a:hover {
    color: var(--primary-gold);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: var(--dark-bg);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--dark-border);
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ===================================
   ALERTS & NOTIFICATIONS
   =================================== */
.alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.alert-success {
    background: rgba(46, 213, 115, 0.15);
    border: 1px solid #2ed573;
    color: #2ed573;
}

.alert-error {
    background: rgba(255, 71, 87, 0.15);
    border: 1px solid #ff4757;
    color: #ff4757;
}

.alert-info {
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
}

/* ===================================
   LOADING SPINNER
   =================================== */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--dark-border);
    border-top-color: var(--primary-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===================================
   MODAL
   =================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-gold);
}

.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .prize-grid {
        grid-template-columns: 1fr;
    }

    .prize-card.first {
        transform: scale(1);
        order: -1;
    }
}

@media (max-width: 768px) {

    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 75px;
        left: 0;
        width: 100%;
        background: var(--dark-bg);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-toggle {
        display: flex;
    }

    /* Hero */
    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Sections */
    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    /* Timeline */
    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 60px;
        padding-right: 0;
        justify-content: flex-start;
    }

    .timeline-item::before {
        left: 20px;
        transform: translateX(-50%);
    }

    .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin: 0;
        max-width: 100%;
    }

    /* Form */
    .form-container {
        padding: 30px 20px;
    }

    .player-row {
        grid-template-columns: auto 1fr;
        gap: 10px 12px;
        align-items: start;
    }

    .player-number {
        grid-row: 1 / span 3;
        align-self: start;
    }

    .player-row .form-control {
        grid-column: 2;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .info-card {
        padding: 30px 20px;
    }
}


/* image hero */
.imgHero {
    width: 100%;
    padding-bottom: 45px;
    padding-top: 45px;
    filter: drop-shadow(2px 12px 12px var(--primary-gold));
    -webkit-filter: drop-shadow(2px 12px 12px var(--primary-gold));
    animation: flicker 1.5s infinite alternate;
}


.imgNav {
    filter: drop-shadow(1px 2px 2px var(--primary-gold));
    -webkit-filter: drop-shadow(1px 2px 2px var(--primary-gold));
}


@keyframes flicker {

    0%,
    18%,
    22%,
    25%,
    53%,
    57%,
    100% {
        filter: drop-shadow(0 0 4px rgba(245, 166, 35, 0.4)) drop-shadow(0 0 11px rgba(245, 166, 35, 0.3)) drop-shadow(0 0 19px rgba(245, 166, 35, 0.2)) drop-shadow(0 0 40px rgba(245, 166, 35, 0.15)) drop-shadow(0 0 80px rgba(245, 166, 35, 0.1));
    }

    20%,
    24%,
    55% {
        filter: drop-shadow(0 0 0px transparent);
        -webkit-filter: drop-shadow(0 0 0px transparent);
    }
}

/* ===================================
   MUSIC NOTIFICATION PLAYER
   =================================== */
#musicNotification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    animation: musicSlideIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

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

.music-notif-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 18px 8px 8px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50px;
    min-width: 240px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: box-shadow 0.3s ease;
}

.music-notif-inner:hover {
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Disc */
.music-disc-wrapper {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
}

.music-disc {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        #333 0deg,
        #555 40deg,
        #222 80deg,
        #444 120deg,
        #1a1a1a 160deg,
        #555 200deg,
        #333 240deg,
        #444 280deg,
        #222 320deg,
        #555 360deg
    );
    display: flex;
    align-items: center;
    justify-content: center;
    animation: discSpin 3s linear infinite;
    border: 2px solid rgba(255, 255, 255, 0.7);
    position: relative;
}

.music-disc::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: repeating-radial-gradient(
        circle at center,
        transparent 0px,
        transparent 3px,
        rgba(255, 255, 255, 0.05) 3px,
        rgba(255, 255, 255, 0.05) 4px
    );
}

.music-disc.paused {
    animation-play-state: paused;
}

.music-disc-inner {
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
}

.music-disc-inner i {
    font-size: 7px;
    color: #222;
}

@keyframes discSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Info */
.music-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    flex: 1;
}

.music-title {
    font-family: var(--font-title);
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.5px;
}

.music-artist {
    font-family: var(--font-main);
    font-size: 9px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive */
@media (max-width: 480px) {
    #musicNotification {
        bottom: 16px;
        right: 12px;
        left: 12px;
    }

    .music-notif-inner {
        min-width: unset;
        width: 100%;
    }
}