        :root {
            --primary-green: #00ff87;
            --accent-green-glow: rgba(0, 255, 135, 0.4);
            --dark-bg: #090d10;
            --card-bg: rgba(18, 24, 32, 0.85);
            --card-border: rgba(255, 255, 255, 0.08);
            --text-main: #ffffff;
            --text-sub: #9aa8a1;
            --ad-bg: rgba(0, 0, 0, 0.4);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Prompt', sans-serif;
        }

        body {
            background-color: var(--dark-bg);
            color: var(--text-main);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow-x: hidden;
            background-image: 
                radial-gradient(circle at 50% 20%, rgba(0, 255, 135, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 10% 10%, rgba(0, 255, 135, 0.04) 0%, transparent 40%);
        }
		

        .app-container {
            width: 100vw;
            min-height: 100vh;
            padding: 1.5rem 2rem;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            gap: 1.5rem;
        }

        /* --- Header Navigation --- */
        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-bottom: 0.5rem;
            width: 100%;
        }

        .brand-logo-img {
            max-height: 55px;
            width: auto;
            object-fit: contain;
            display: block;
            margin-left: 100px;
        }

        /* สไตล์สำหรับไอคอน Facebook ขวาบน */
        .fb-top-link {
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.2s ease, filter 0.2s ease;
        }

        .fb-top-link:hover {
            transform: scale(1.1);
            filter: drop-shadow(0 0 8px rgba(24, 119, 242, 0.6));
        }

        .fb-top-icon {
            width: 40px;
            height: 40px;
            object-fit: contain;
            border-radius: 50%;
        }

        /* --- Main Content Section --- */
        main {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.2rem;
            width: 100%;
            flex: 1;
            justify-content: center;
        }

        /* Banner Group Grid 70:30 */
        .banner-group {
            display: grid;
			grid-template-columns: 80% 27%;
            gap: 1rem;
            width: 100%;
            max-width: 1000px;
            margin: 0 auto;
            align-items: center;
        }

        .banner-item {
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .banner-item img {
            width: 100%;
            height: auto;
            object-fit: contain;
            display: block;
            filter: drop-shadow(0 0 10px rgba(0, 255, 135, 0.2));
            border-radius: 12px;
        }

		.col-66{
			width:66.666%;
			}
		.col-33{
			width:33.333%;
			}
        /* Player Card: ปรับเป็น Grid 30:70 */
        .player-card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: 20px;
            padding: 2.5rem;
            width: 100%;
            backdrop-filter: blur(20px);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
            display: grid;
            grid-template-columns: 30% 70%;
            gap: 1.8rem;
            align-items: center;
            justify-content: center;
            flex: 1;
        }

        /* ฝั่งซ้าย 30% (Cover Container) */
        .cover-wrapper {
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        /* สไตล์สำหรับ iframe cover */
        .cover-frame {
            width: 100%;
            max-width: 280px;
            aspect-ratio: 1 / 1;
            border-radius: 16px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 10px 25px rgba(0,0,0,0.6);
            overflow: hidden;
            background: rgba(0, 0, 0, 0.3);
        }

        /* ฝั่งขวา 70% (Track Details Container) */
        .track-details {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            gap: 0.3rem;
            width: 100%;
            max-width: 100%;
            overflow: hidden;
        }

        .label {
            font-size: 0.85rem;
            color: var(--primary-green);
            text-transform: uppercase;
            letter-spacing: 1.5px;
            font-weight: 600;
        }

        /* ศิลปิน และ ชื่อเพลง */
        .artist-name {
            font-size: clamp(1.8rem, 4vw, 4rem);
            font-weight: 800;
            line-height: 1.1;
            color: var(--text-main);
            letter-spacing: -0.5px;
            margin-top: 10px;
            width: 100%;
            max-width: 100%;
            word-wrap: break-word;
            overflow-wrap: break-word;
            hyphens: auto;
        }

        .song-title {
            font-size: clamp(1.2rem, 2.5vw, 2.4rem);
            color: #ececec;
            font-weight: 600;
            line-height: 1.2;
            margin-bottom: 0.2rem;
            width: 100%;
            max-width: 100%;
            word-wrap: break-word;
            overflow-wrap: break-word;
            hyphens: auto;
        }

        /* สถานะการสตรีม Live Text */
        .status-text {
            font-size: clamp(0.85rem, 1.2vw, 1.1rem);
            color: var(--text-sub);
            margin-bottom: 0.6rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%;
            max-width: 100%;
        }

        /* จุดกระพริบ Live Indicator */
        .live-dot {
            width: 10px;
            height: 10px;
            background-color: var(--primary-green);
            border-radius: 50%;
            display: inline-block;
            box-shadow: 0 0 10px var(--primary-green);
            animation: pulse-green 1.5s infinite;
            flex-shrink: 0;
        }

        @keyframes pulse-green {
            0% { transform: scale(0.95); opacity: 0.8; }
            50% { transform: scale(1.2); opacity: 1; }
            100% { transform: scale(0.95); opacity: 0.8; }
        }

        /* Visualizer */
        .visualizer {
            display: flex;
            align-items: flex-end;
            justify-content: center;
            gap: 6px;
            height: 36px;
            margin: 0.6rem 0 1rem 0;
            width: 100%;
            max-width: 600px;
        }

        .bar {
            flex: 1;
            max-width: 8px;
            background: linear-gradient(to top, var(--primary-green), #00d2ff);
            border-radius: 4px;
            height: 20%;
            transition: height 0.3s ease;
        }

        .playing .bar {
            animation: bounce 1.2s infinite ease-in-out alternate;
        }

        .playing .bar:nth-child(2n) { animation-delay: 0.2s; }
        .playing .bar:nth-child(3n) { animation-delay: 0.4s; }
        .playing .bar:nth-child(4n) { animation-delay: 0.1s; }
        .playing .bar:nth-child(5n) { animation-delay: 0.5s; }

        @keyframes bounce {
            0% { height: 10%; }
            100% { height: 100%; }
        }

        /* Controls Area */
        .controls {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
        }

        .buttons {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 28px;
        }

        .play-btn {
            background: transparent;
            border: none;
            outline: none;
            cursor: pointer;
            color: var(--primary-green);
            font-size: 3.5rem;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .play-btn:hover {
            transform: scale(1.1);
            filter: drop-shadow(0 0 15px var(--primary-green));
        }

        /* --- Footer (Banner โฆษณา & Copyright) --- */
        footer {
            width: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 1rem;
            padding-top: 0.5rem;
        }

        .ad-banner {
            width: 100%;
            min-height: 90px;
            background: var(--ad-bg);
            border: 1px dashed rgba(0, 255, 135, 0.4);
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0.8rem 2rem;
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 20px rgba(0,0,0,0.3);
        }

        .ad-badge {
            position: absolute;
            top: 6px;
            right: 16px;
            font-size: 0.65rem;
            text-transform: uppercase;
            background: rgba(255, 255, 255, 0.15);
            padding: 2px 6px;
            border-radius: 4px;
            color: #aaa;
            letter-spacing: 1px;
            z-index: 2;
        }

        .ad-content {
            display: flex;
            align-items: center;
            justify-content: center;
            flex: 1;
            padding-right: 1rem;
        }

        .ad-banner-img {
            max-width: 100%;
            max-height: 70px;
            height: auto;
            object-fit: contain;
            display: block;
        }

        .ad-btn {
            background: var(--primary-green);
            color: #000;
            font-weight: 700;
            padding: 0.7rem 1.8rem;
            border-radius: 25px;
            text-decoration: none;
            font-size: 0.95rem;
            transition: all 0.3s;
            white-space: nowrap;
            z-index: 2;
        }

        .ad-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px var(--accent-green-glow);
        }

        /* Copyright Footer */
        .player-footer {
            text-align: center;
            color: var(--text-sub);
            font-size: 0.85rem;
            padding: 0.5rem 0;
        }

        /* RESPONSIVE MEDIA QUERIES */
        @media (max-width: 868px) {
            .app-container { padding: 1.2rem 1.5rem; }
            .brand-logo-img { margin-left: 20px; }
            .player-card { grid-template-columns: 35% 65%; padding: 1.8rem; gap: 1.2rem; }
            .ad-banner { padding: 0.8rem 1.5rem; }
        }

        @media (max-width: 650px) {
            header { justify-content: space-between; }
            .brand-logo-img { margin-left: 0; max-height: 45px; }
            .fb-top-icon { width: 32px; height: 32px; }
            
            .player-card { 
                grid-template-columns: 1fr; 
                padding: 1.5rem 1.2rem; 
                gap: 1.2rem; 
            }
            .cover-frame { max-width: 200px; }
            
            /* ปรับให้ Banner Grid ซ้อนกันบนมือถือ */
            .banner-group {
                grid-template-columns: 1fr;
                gap: 0.8rem;
            }

            .controls { gap: 1.2rem; }
            .ad-banner { flex-direction: column; text-align: center; gap: 0.8rem; padding: 1.5rem 1rem; }
            .ad-content { padding-right: 0; }
            .ad-banner-img { max-height: 50px; }
            .ad-badge { top: 6px; right: 50%; transform: translateX(50%); }
        }