@import url('https://fonts.googleapis.com/css2?family=Cherry+Bomb+One&family=Gaegu:wght@300&display=swap'); 
 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            color: black;
        }

        body {
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            background-image: url('asset/imgs/bg.jpg');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            background-repeat: no-repeat;
            font-family: "Gaegu", sans-serif;
            font-weight: 300;
            font-style: normal;
            padding: 20px;
            cursor: url("cursor.png") 8 8, auto;
            }

        /* Pointer cursor for clickable elements */
        button,
        .progress-bar,
        .playlist-dot,
        a {
            cursor: url("asset/imgs/pointer.png") 8 8, pointer;
        }
        .container {
            width: 100%;
            max-width: 900px;
            
        }

        .player {
            width: 100%;
            background: rgba(255, 255, 255, 0.18);
            border-radius: 16px;
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
            backdrop-filter: blur(2.7px);
            -webkit-backdrop-filter: blur(2.7px);
            border: 1px solid rgba(255, 255, 255, 0.5);
            padding: 30px;
            display: flex;
            flex-direction: column;
            gap: 30px;
            color: white;
            cursor: url("asset/imgs/pointer.png") 8 8, pointer;
        }

        .album-art {
            width: 100%;
            aspect-ratio: 1;
            max-width: 400px;
            margin: 0 auto;
            position: relative;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.5);
            border: 1px solid rgba(255, 255, 255, 0.3);
            background: rgba(255, 255, 255, 0.05);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .album-art img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease, opacity 0.4s ease;
            opacity: 0;
        }

        .album-art img.active {
            opacity: 1;
            animation: fadeInScale 0.6s ease forwards;
        }

        @keyframes fadeInScale {
            from {
                opacity: 0;
                transform: scale(0.95);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .song-info {
            text-align: center;
            color: white;
        }

        .song-title {
            font-size: clamp(24px, 5vw, 36px);
            font-weight: 700;
            margin-bottom: 10px;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        }

        .song-artist {
            font-size: clamp(14px, 3vw, 18px);
            font-weight: 300;
            opacity: 0.9;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }

        /* Player Info Button */
        .info-btn {
            position: fixed;
            top: 20px;
            left: 20px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            border: none;
            background: rgba(255, 255, 255, 0.2);
            color: white;
            font-size: 24px;
            cursor: pointer;
            z-index: 999;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .info-btn:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: scale(1.1);
        }

        .info-btn:active {
            transform: scale(0.95);
        }

        /* Player Exit Button */
        .exit-btn-player {
            position: fixed;
            top: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            border: none;
            background: rgba(255, 255, 255, 0.2);
            color: white;
            font-size: 24px;
            cursor: pointer;
            z-index: 999;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .exit-btn-player:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: scale(1.1);
        }

        .exit-btn-player:active {
            transform: scale(0.95);
        }

        /* Player Info Modal */
        .player-info-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        .player-info-modal.active {
            opacity: 1;
            visibility: visible;
        }

        .player-info-content {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 40px;
            max-width: 500px;
            width: 80%;
            text-align: center;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.3);
            color: #333;
            cursor: pointer;
            animation: slideIn 0.3s ease forwards;
        }

        .player-info-content h2 {
            font-size: 28px;
            margin-bottom: 15px;
            color: #B67162;
        }

        .player-info-content p {
            font-size: 16px;
            line-height: 1.6;
            margin-bottom: 30px;
            font-weight: 300;
        }

        .close-modal-btn {
            background: linear-gradient(135deg, #E2BCB7 0%, #B67162 100%);
            color: white;
            border: none;
            padding: 12px 30px;
            font-size: 16px;
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(182, 113, 98, 0.3);
        }

        .close-modal-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 20px rgba(182, 113, 98, 0.5);
        }

        .close-modal-btn:active {
            transform: scale(0.95);
        }

        .progress-container {
            width: 100%;
        }

        .progress-bar {
            width: 100%;
            height: 6px;
            background: #FFDDD2;
            border-radius: 10px;
            cursor: pointer;
            overflow: hidden;
            margin-bottom: 10px;
        }

        .progress {
            height: 100%;
            background: linear-gradient(90deg, #FFDDD2 0%, #B67162 100%);
            border-radius: 10px;
            width: 0%;
            transition: width 0.1s linear;
        }

        .time-display {
            display: flex;
            justify-content: space-between;
            font-size: clamp(12px, 2vw, 14px);
            opacity: 0.8;
        }

        .controls {
            display: flex;
            gap: clamp(15px, 3vw, 25px);
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
        }

        button {
            width: clamp(45px, 10vw, 60px);
            height: clamp(45px, 10vw, 60px);
            border: none;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            color: white;
            cursor: pointer;
            font-size: clamp(18px, 4vw, 24px);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        button:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: scale(1.1);
        }

        button:active {
            transform: scale(0.95);
        }

        .play-btn {
            width: clamp(60px, 12vw, 80px);
            height: clamp(60px, 12vw, 80px);
            font-size: clamp(24px, 5vw, 32px);
            background: linear-gradient(135deg, #E2BCB7 0%, #B67162 100%);
            border: 2px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
        }

        .play-btn:hover {
            box-shadow: 0 8px 35px rgb(226, 188, 183);
        }

        .playlist {
            display: flex;
            gap: 12px;
            justify-content: center;
            margin-top: 20px;
        }

        .playlist-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid rgba(255, 255, 255, 0.5);
        }

        .playlist-dot:hover {
            background: rgba(255, 255, 255, 0.5);
        }

        .playlist-dot.active {
            background: white;
            transform: scale(1.3);
        }

        /* Desktop Landscape Layout */
        @media (min-width: 768px) and (orientation: landscape) {
            .player {
                flex-direction: row;
                align-items: center;
                padding: 40px;
                gap: 40px;
            }

            .album-art {
                flex: 0 0 35%;
                aspect-ratio: auto;
                height: 400px;
                max-width: none;
            }

            .player-content {
                flex: 1;
                display: flex;
                flex-direction: column;
                justify-content: center;
                gap: 20px;
            }

            .song-info {
                text-align: left;
            }

            .song-title {
                font-size: 36px;
            }

            .song-artist {
                font-size: 18px;
            }
        }

        .starpagebtn {
            width: 120px;
            height: 120px;
            border: none;
            background: none;
            padding: 0;
            cursor: pointer;
            transition: transform 0.3s ease, opacity 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 1000;
        }

        .starpagebtn img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .starpagebtn:hover {
            transform: translate(-50%, -50%) scale(1.05);
            opacity: 0.9;
        }

        .starpagebtn:active {
            transform: translate(-50%, -50%) scale(0.95);
        }

        /* Startpage Styles */
        .startpage {
            width: 100%;
            height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 160px;
            text-align: center;
            color: white;
            padding: 40px 20px;
        }

        .startpage h1 {
            font-family: "Cherry Bomb One", system-ui;
            font-weight: 500;
            font-style: normal;
            color: #740A03;            
            font-size: 50px;
            -webkit-text-stroke: 2px #E2BCB7;
            font-size: clamp(32px, 8vw, 56px);
            font-weight: 700;
            text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
            margin: 0;
            animation: fadeInDown 0.8s ease forwards;

        }

        .startpage p {
            font-size: clamp(16px, 4vw, 24px);
            font-weight: 400;
            color: #740A03;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
            margin: 0;
            max-width: 500px;
            animation: fadeInUp 0.8s ease 0.2s forwards;
            opacity: 0;
        }

        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Mobile */
        @media (max-width: 767px) {
            .player {
                padding: 20px;
                gap: 20px;
            }

            .album-art {
                max-width: 300px;
            }
        }