/* General Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

:root {
    --fener-navy: #002D72;
    --fener-yellow: #FBBE11;
    --dark-bg: #030a1e;
    --glass-bg: rgba(0, 45, 114, 0.4);
    --glass-border: rgba(251, 190, 17, 0.3);
    --text-primary: #fcfcfc;
    --text-secondary: #a0aec0;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Intro Overlay */
#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 1.2s cubic-bezier(0.86, 0, 0.07, 1), opacity 1s ease;
}

#intro-overlay.fade-out {
    opacity: 0;
    transform: scale(1.1);
    pointer-events: none;
}

.intro-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/kayseri-victory.png') no-repeat center center/cover;
    filter: brightness(0.4);
    z-index: 1;
    transform: scale(1.1);
    animation: slowZoom 20s infinite alternate linear;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.2);
    }
}

.intro-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 20px;
    animation: fadeInIntro 0.8s ease-out forwards;
}

@keyframes fadeInIntro {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.victory-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, var(--fener-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(251, 190, 17, 0.4);
    text-transform: uppercase;
}

.victory-subtitle {
    font-size: 1.6rem;
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.intro-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.intro-btn {
    padding: 20px 45px;
    font-size: 1.2rem;
    letter-spacing: 2px;
    border-radius: 16px;
    animation: pulseBtn 2s infinite ease-in-out;
}

.goal-btn {
    border: 2px solid var(--fener-yellow) !important;
    background: linear-gradient(135deg, rgba(251, 190, 17, 0.2), transparent) !important;
    font-weight: 800;
    position: relative;
    overflow: hidden;
}

.goal-btn::after {
    content: 'LIVE';
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 0.5rem;
    background: #ff0000;
    /* Minimal red only for LIVE badge is standard */
    padding: 2px 5px;
    border-radius: 4px;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.highlights-btn {
    border: 2px solid var(--fener-yellow);
    background: rgba(255, 255, 255, 0.05);
    /* Cinematic Score Typography (Floating Monument) */
}

.cinematic-score {
    margin-bottom: 3.5rem;
    animation: floatMonument 4s ease-in-out infinite;
    text-shadow: 0 10px 50px rgba(0, 0, 0, 0.8);
}

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

.score-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    font-family: 'Inter', sans-serif;
}

.big-num {
    font-size: 10rem;
    font-weight: 900;
    line-height: 1;
    color: #fff;
    background: linear-gradient(180deg, #fff 40%, var(--fener-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(251, 190, 17, 0.4));
}

.score-dash {
    color: var(--fener-yellow);
    font-size: 4rem;
    opacity: 0.6;
    font-weight: 300;
}

.team-initials {
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    letter-spacing: 5px;
    background: rgba(0, 45, 114, 0.6);
    padding: 10px 20px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(251, 190, 17, 0.3);
}

.score-meta {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.match-minute, .goal-author {
    font-size: 1rem;
    font-weight: 800;
    color: var(--fener-yellow);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.goal-author {
    color: #fff;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .big-num { font-size: 6rem; }
    .score-dash { font-size: 2.5rem; }
    .team-initials { font-size: 1rem; padding: 6px 12px; }
    .cinematic-score { margin-bottom: 2.5rem; }
}

@keyframes powerGlow {
    0% {
        box-shadow: 0 0 40px rgba(251, 190, 17, 0.3);
    }

    100% {
        box-shadow: 0 0 70px rgba(251, 190, 17, 0.6);
    }
}

.victory-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, var(--fener-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(251, 190, 17, 0.4);
    text-transform: uppercase;
}

.victory-subtitle {
    font-size: 1.6rem;
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.intro-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.intro-btn {
    padding: 20px 45px;
    font-size: 1.2rem;
    letter-spacing: 2px;
    border-radius: 16px;
    animation: pulseBtn 2s infinite ease-in-out;
}

.goal-btn {
    border: 2px solid var(--fener-yellow) !important;
    background: linear-gradient(135deg, rgba(251, 190, 17, 0.2), transparent) !important;
    font-weight: 800;
    position: relative;
    overflow: hidden;
}

.goal-btn::after {
    content: 'LIVE';
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 0.5rem;
    background: #ff0000;
    /* Minimal red only for LIVE badge is standard */
    padding: 2px 5px;
    border-radius: 4px;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.highlights-btn {
    border: 2px solid var(--fener-yellow);
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

/* Floating Match Card */
.match-card-floating {
    position: absolute;
    top: 15vh;
    right: 5%;
    width: 320px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 25px;
    z-index: 10;
    animation: slideInRight 1.2s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.match-card-floating .card-label {
    font-size: 0.7rem;
    color: var(--fener-yellow);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    margin-bottom: 15px;
    display: block;
    text-align: left;
}

.match-card-floating .mini-score {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.mini-score .team-name {
    font-weight: 800;
    font-size: 1.1rem;
    color: white;
}

.mini-score .score {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--fener-yellow);
}

.match-card-floating .scorers-list {
    font-size: 0.8rem;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    text-align: left;
    line-height: 1.4;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 768px) {
    .match-card-floating {
        display: none; /* Mobilde son maç sonucu kısmı olmasın */
    }
}

.highlights-btn:hover {
    background: rgba(251, 190, 17, 0.2);
    box-shadow: 0 10px 40px rgba(251, 190, 17, 0.3);
}

@keyframes pulseBtn {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 992px) {
    .intro-main-flex {
        gap: 30px;
    }

    .scorer-card {
        width: 240px;
    }

    .victory-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .intro-main-flex {
        flex-direction: column;
        gap: 40px;
    }

    .stylish-scoreboard {
        display: none !important;
    }

    .victory-title {
        font-size: 2.2rem;
    }

    .victory-subtitle {
        font-size: 1.1rem;
    }

    .intro-btn {
        width: 100%;
        justify-content: center;
    }
}




body {
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('assets/hero-bg.png') no-repeat center center/cover;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(3, 10, 30, 0.2) 0%,
            rgba(3, 10, 30, 0.6) 50%,
            var(--dark-bg) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 40px;
    animation: fadeIn 1s ease-out;
}

.brand-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--fener-yellow);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h1 {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to bottom, #fff, var(--fener-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero p {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Glass Buttons */
.cta-group {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.btn {
    padding: 18px 40px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    border: none;
}

.btn-primary {
    background: var(--fener-yellow);
    color: var(--fener-navy);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(251, 190, 17, 0.4);
}

.btn-secondary {
    background: var(--glass-bg);
    color: white;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(251, 190, 17, 0.1);
    border-color: var(--fener-yellow);
    transform: translateY(-5px);
}

/* Full-Width Audio Player Bar */
.audio-player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(3, 10, 30, 0.75);
    backdrop-filter: blur(40px);
    border-top: 1px solid var(--glass-border);
    z-index: 50;
    padding: 15px 40px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.audio-player-bar.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.player-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    height: 70px;
}

.track-section {
    min-width: 300px;
}

.track-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 0 10px rgba(251, 190, 17, 0.2);
}

.track-subtitle {
    font-size: 0.75rem;
    color: var(--fener-yellow);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.control-btn {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: white;
    transition: var(--transition);
}

.control-btn:hover {
    background: var(--fener-yellow);
    color: var(--fener-navy);
    border-color: var(--fener-yellow);
    box-shadow: 0 0 15px rgba(251, 190, 17, 0.4);
}

.play-toggle {
    width: auto;
    padding: 0 25px;
    border-radius: 30px;
    gap: 10px;
    background: var(--fener-yellow);
    color: var(--fener-navy);
    font-weight: 800;
}

.progress-section {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.progress-wrapper {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: var(--fener-yellow);
    box-shadow: 0 0 15px var(--fener-yellow);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.share-actions {
    display: flex;
    gap: 12px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-btn:hover {
    color: var(--fener-yellow);
    border-color: var(--fener-yellow);
}

/* Playlist Sidebar */
.playlist-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: rgba(3, 10, 30, 0.85);
    backdrop-filter: blur(30px);
    border-left: 1px solid var(--glass-border);
    z-index: 100;
    padding: 60px 40px;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.5);
}

.playlist-sidebar.active {
    right: 0;
}

.playlist-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#trackList {
    list-style: none;
    margin-top: 30px;
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 10px;
}

/* Custom Scrollbar for Playlist */
#trackList::-webkit-scrollbar {
    width: 6px;
}

#trackList::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

#trackList::-webkit-scrollbar-thumb {
    background: var(--fener-yellow);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(251, 190, 17, 0.3);
}

#trackList li {
    padding: 15px 20px;
    border-radius: 16px;
    cursor: pointer;
    margin-bottom: 12px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

#trackList li:hover {
    background: rgba(251, 190, 17, 0.08);
    border-color: var(--fener-yellow);
    transform: translateX(10px);
}

.track-id {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--fener-yellow);
    opacity: 0.6;
}

.track-meta {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.track-title {
    font-weight: 600;
    font-size: 1rem;
    color: white;
}

.track-artist {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-icon {
    font-size: 1.4rem;
    color: var(--fener-yellow);
    opacity: 0;
    transition: var(--transition);
}

#trackList li:hover .status-icon {
    opacity: 1;
}

#trackList li.playing {
    background: linear-gradient(90deg, rgba(251, 190, 17, 0.15), transparent);
    border-color: var(--fener-yellow);
    box-shadow: 0 0 20px rgba(251, 190, 17, 0.1);
}

#trackList li.playing .track-title {
    color: var(--fener-yellow);
}

#trackList li.playing .status-icon {
    opacity: 1;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive Styles */
@media (max-width: 992px) {
    .player-container {
        gap: 20px;
        padding: 0 20px;
    }

    .track-section {
        min-width: 150px;
    }

    .share-actions {
        display: none;
        /* Hide shares on medium screens to save space */
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 3.2rem;
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 20px 250px; /* Alttan daha fazla boşluk (player için) */
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow-y: auto;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2.5rem; /* Reduced margin for mobile */
    }

    .hero-content {
        padding: 0 20px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cta-group {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 14px 20px;
        font-size: 1rem;
    }

    .audio-player-bar {
        padding: 10px 15px;
        height: auto;
    }

    .player-container {
        flex-direction: column;
        gap: 15px;
        height: auto;
        padding-bottom: 5px;
    }

    .track-section {
        min-width: 100%;
        text-align: center;
    }

    .track-section h4 {
        font-size: 1rem;
    }

    .player-controls {
        width: 100%;
        justify-content: center;
        order: 2;
    }

    .progress-section {
        width: 100%;
        order: 1;
    }

    .playlist-sidebar {
        width: 100%;
        right: -100%;
    }
}

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

    .brand-badge {
        font-size: 0.7rem;
    }
}