:root {
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --primary: #7c3aed;
    --secondary: #06b6d4;
    --accent: #f59e0b;
    --danger: #ef4444;
    --text: #ffffff;
    --text-muted: #9ca3af;
    --gradient: linear-gradient(135deg, #7c3aed 0%, #06b6d4 50%, #10b981 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

body {
    font-family: "Poppins", sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    min-height: 100vh;
    overflow: hidden;
    background-image:
        radial-gradient(ellipse at 20% 20%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
}

.app-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    height: 100dvh;
    padding: 50px 20px 0;
    max-width: 500px;
    margin: 0 auto;
}

.header {
    text-align: center;
    padding: 20px 0;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 3px;
}

.tagline {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 5px;
}

.stats-bar {
    display: flex;
    gap: 20px;
    background: var(--bg-card);
    padding: 15px 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
    justify-content: center;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary);
}

.death-timer {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.death-value {
    color: var(--accent) !important;
}

.death-timer.critical .death-value {
    color: var(--danger) !important;
    animation: pulse-danger 0.5s ease-in-out infinite;
}

@keyframes pulse-danger {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.clicker-area {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.click-button {
    position: relative;
    width: 220px;
    height: 220px;
    cursor: pointer;
    transition: transform 0.1s ease;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.click-button:active {
    transform: scale(0.95);
}

.button-glow {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: var(--gradient);
    opacity: 0.3;
    filter: blur(30px);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.1); }
}

.button-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gradient);
    padding: 4px;
    box-shadow:
        0 10px 40px rgba(124, 58, 237, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.button-inner::before {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: var(--bg-dark);
}

.button-inner img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 15px;
    z-index: 1;
    filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.5));
    border-radius: 50%;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
}

.click-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    pointer-events: none;
}

.click-ring.animate {
    animation: ringExpand 0.4s ease-out forwards;
}

@keyframes ringExpand {
    0% { transform: scale(1); border-color: rgba(124, 58, 237, 0.8); opacity: 1; }
    100% { transform: scale(1.5); border-color: rgba(124, 58, 237, 0); opacity: 0; }
}

.click-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    pointer-events: none;
    animation: floatUp 1s ease-out forwards;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

@keyframes floatUp {
    0% { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-100px) scale(0.5); }
}

.score-display {
    text-align: center;
    padding: 20px;
}

.score-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    margin-bottom: 5px;
}

.score-value {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer {
    text-align: center;
    padding: 15px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Auto-click Indicator */
.autoclick-indicator {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 20px;
    margin-top: 10px;
}

.autoclick-indicator.active {
    display: flex;
}

.autoclick-icon {
    font-size: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
}

.autoclick-text {
    font-size: 0.9rem;
    color: var(--secondary);
    font-weight: 600;
}

#autoclick-countdown {
    color: var(--accent);
    font-weight: 700;
}

/* Frozen Overlay */
.frozen-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.frozen-content {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #1a0a0a 0%, #2a0a0a 100%);
    border: 2px solid var(--danger);
    border-radius: 20px;
    max-width: 90%;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.frozen-content h2 {
    font-size: 2rem;
    color: var(--danger);
    margin-bottom: 20px;
    animation: pulse-danger 1s ease-in-out infinite;
}

.frozen-message {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 15px;
}

.frozen-timer {
    font-size: 1.5rem;
    color: var(--danger);
    font-weight: 700;
    margin-bottom: 15px;
}

.frozen-warning {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Views */
.view {
    display: none;
    flex-direction: column;
    flex: 1;
    width: 100%;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.view::-webkit-scrollbar {
    display: none;
}

.view.active {
    display: flex;
}

/* Tab Bar (Top Menu) */
.tab-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 8px;
    padding: 8px 15px;
    background: var(--bg-card);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 100;
}

.tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab.active {
    background: rgba(124, 58, 237, 0.2);
}

.tab-icon {
    font-size: 1.4rem;
}

/* Leaderboard */
.leaderboard-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    overflow: hidden;
}

.leaderboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px 15px;
}

.leaderboard-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.refresh-btn {
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 20px;
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: "Poppins", sans-serif;
}

.refresh-btn:active {
    background: rgba(124, 58, 237, 0.2);
    border-color: var(--primary);
}

.leaderboard-list {
    flex: 1;
    overflow-y: auto;
    padding: 0 5px;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: var(--bg-card);
    border-radius: 12px;
    margin-bottom: 8px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.leaderboard-item.top-1 {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.05) 100%);
    border-color: rgba(255, 215, 0, 0.3);
}

.leaderboard-item.top-2 {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.15) 0%, rgba(192, 192, 192, 0.05) 100%);
    border-color: rgba(192, 192, 192, 0.3);
}

.leaderboard-item.top-3 {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.15) 0%, rgba(205, 127, 50, 0.05) 100%);
    border-color: rgba(205, 127, 50, 0.3);
}

.leaderboard-item.is-me {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.3);
}

.rank {
    font-size: 1.2rem;
    font-weight: 800;
    min-width: 35px;
    text-align: center;
}

.top-1 .rank { color: #ffd700; }
.top-2 .rank { color: #c0c0c0; }
.top-3 .rank { color: #cd7f32; }

.rank-medal {
    font-size: 1.4rem;
}

.player-name {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-score {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
}

.loading, .empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 1rem;
}

/* Shop */
.shop-container {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
}

.shop-header {
    text-align: center;
    padding: 0 10px 15px;
}

.shop-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
}

.wallet-balance {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.balance-label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.balance-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
}

.balance-token {
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Wallet Section */
.wallet-section {
    padding: 0 10px 15px;
}

.wallet-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.wallet-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.wallet-label {
    color: var(--text-muted) !important;
    font-size: 0.8rem !important;
    margin-bottom: 5px !important;
}

.wallet-address {
    font-family: monospace;
    font-size: 0.75rem !important;
    color: var(--secondary) !important;
    word-break: break-all;
    background: rgba(0,0,0,0.3);
    padding: 8px;
    border-radius: 8px;
    margin-bottom: 12px !important;
}

.wallet-btn {
    padding: 10px 25px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
    transition: all 0.2s ease;
}

.wallet-btn:active {
    transform: scale(0.95);
}

.wallet-btn.secondary {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.skins-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0 10px 40px;
}

.skin-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 220px;
    transition: all 0.2s ease;
}

.skin-card .skin-preview {
    flex-shrink: 0;
}

.skin-card .skin-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.skin-card .skin-btn {
    flex-shrink: 0;
    margin-top: auto;
}

.skin-card.selected {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
}

.skin-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.skin-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.skin-info {
    text-align: center;
}

.skin-name {
    display: block;
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.skin-power {
    display: block;
    font-size: 0.75rem;
    color: var(--accent);
    margin-top: 4px;
    font-weight: 600;
}

.skin-price {
    display: block;
    font-size: 0.75rem;
    color: var(--secondary);
    margin-top: 2px;
}

.skin-price.free {
    color: var(--text-muted);
}

.skin-btn {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
    background: rgba(124, 58, 237, 0.2);
    color: var(--primary);
    transition: all 0.2s ease;
}

.skin-btn:active {
    transform: scale(0.95);
}

.skin-btn.selected {
    background: var(--primary);
    color: white;
}

/* Anti-Cheat Captcha Popup */
.captcha-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9998;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.captcha-overlay.active {
    display: flex;
}

.captcha-content {
    text-align: center;
    padding: 30px 40px;
    background: var(--bg-card);
    border: 2px solid var(--accent);
    border-radius: 20px;
    max-width: 90%;
}

.captcha-content h2 {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 15px;
}

.captcha-message {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 25px;
}

.captcha-buttons {
    display: flex;
    justify-content: center;
}

.captcha-btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
    transition: all 0.2s ease;
}

.yes-btn {
    background: var(--danger);
    color: white;
}

.yes-btn:active {
    transform: scale(0.95);
}

.no-btn {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    border: 2px solid var(--text-muted);
    color: var(--text-muted);
    padding: 12px 30px;
    font-size: 0.9rem;
}

.no-btn:active {
    border-color: var(--secondary);
    color: var(--secondary);
}

/* Music Player - Large Overlay */
.music-player {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
}

.music-player.active {
    display: block;
}

.music-toggle {
    position: fixed;
    bottom: 15px;
    right: 15px;
    width: 56px;
    height: 56px;
    background: var(--gradient);
    border: none;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 201;
}

.music-toggle:active {
    transform: scale(0.9);
}

.music-toggle.playing {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 20px rgba(124, 58, 237, 0.6); }
    50% { box-shadow: 0 4px 30px rgba(124, 58, 237, 0.9), 0 0 40px rgba(6, 182, 212, 0.4); }
}

.music-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(10, 10, 15, 0.98) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6);
    max-height: 70vh;
    overflow: hidden;
}

.music-panel.open {
    transform: translateY(0);
}

.music-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(6, 182, 212, 0.1) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.music-drag-handle {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.music-title {
    font-size: 1.1rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.music-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 10px;
    line-height: 1;
    transition: all 0.2s ease;
}

.music-close:active {
    background: rgba(255, 255, 255, 0.2);
}

.music-albums {
    display: flex;
    gap: 10px;
    padding: 16px 20px;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.music-albums::-webkit-scrollbar {
    display: none;
}

.album-btn {
    padding: 12px 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.album-btn.active {
    background: var(--gradient);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.music-embed {
    padding: 0 20px 25px;
}

.music-embed iframe {
    border-radius: 12px;
    width: 100%;
    height: 80px;
}

/* Album Color Themes */

/* Crypto Anthems - Synthwave (pink/purple/cyan neon) */
body.theme-crypto-anthems {
    --bg-dark: #0d0221;
    --bg-card: #1a0a2e;
    --primary: #ff00ff;
    --secondary: #00ffff;
    --accent: #ff6ec7;
    --gradient: linear-gradient(135deg, #ff00ff 0%, #00ffff 50%, #ff6ec7 100%);
    background-image:
        radial-gradient(ellipse at 20% 20%, rgba(255, 0, 255, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 255, 255, 0.15) 0%, transparent 50%);
}

/* Antisocial Netwerking - Muted Rainbow */
body.theme-antisocial {
    --bg-dark: #1a1a2e;
    --bg-card: #252540;
    --primary: #9b59b6;
    --secondary: #3498db;
    --accent: #e67e22;
    --gradient: linear-gradient(135deg, #e74c3c 0%, #9b59b6 25%, #3498db 50%, #2ecc71 75%, #f39c12 100%);
    background-image:
        radial-gradient(ellipse at 20% 20%, rgba(155, 89, 182, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(52, 152, 219, 0.1) 0%, transparent 50%);
}

/* Six-Seven - Black & White */
body.theme-six-seven {
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a1a;
    --primary: #ffffff;
    --secondary: #888888;
    --accent: #cccccc;
    --text: #ffffff;
    --text-muted: #666666;
    --gradient: linear-gradient(135deg, #ffffff 0%, #888888 50%, #444444 100%);
    background-image:
        radial-gradient(ellipse at 20% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
}

/* Six-Seven theme - black text on white buttons */
body.theme-six-seven .skin-btn.selected,
body.theme-six-seven .album-btn.active,
body.theme-six-seven .wallet-btn,
body.theme-six-seven .refresh-btn:active {
    color: #0a0a0a;
}

body.theme-six-seven .tab.active {
    background: rgba(255, 255, 255, 0.2);
}

/* Music View Tab */
.music-container {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
}

.music-view-header {
    text-align: center;
    padding: 0 10px 20px;
}

.music-view-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 5px;
}

.music-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.album-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 15px 20px;
}

.album-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.album-card.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(6, 182, 212, 0.1) 100%);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.album-card:active {
    transform: scale(0.98);
}

.album-art {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.album-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.album-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
}

.album-year {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.music-player-embed {
    padding: 0 15px 20px;
}

.music-player-embed iframe {
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.music-links {
    text-align: center;
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.music-links-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.streaming-platforms {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.platform {
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--secondary);
    font-weight: 600;
}


/* Telegram theme adaptation */
body.tg-theme-dark {
    --bg-dark: var(--tg-theme-bg-color, #0a0a0f);
    --text: var(--tg-theme-text-color, #ffffff);
}
