/* ===================================
   YOUTUBE MUSIC PLAYER - MAIN STYLES
   =================================== */

/* ===== CSS VARIABLES ===== */
:root {
    /* Light Mode Colors */
    --primary-color: #667eea;
    --primary-dark: #5568d3;
    --primary-light: #7c94f5;
    --secondary-color: #f093fb;
    --accent-color: #4facfe;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fc;
    --bg-tertiary: #f1f3f9;
    --bg-card: #ffffff;
    
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);
    
    --success-color: #48bb78;
    --warning-color: #ed8936;
    --error-color: #f56565;
    --info-color: #4299e1;
    
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    
    --transition-speed: 0.3s;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 16px;
}

/* Dark Mode Colors */
body.dark-mode {
    --bg-primary: #0f1419;
    --bg-secondary: #1a1f2e;
    --bg-tertiary: #242b3d;
    --bg-card: #1e2433;
    
    --text-primary: #e2e8f0;
    --text-secondary: #a0aec0;
    --text-muted: #718096;
    
    --border-color: #2d3748;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color var(--transition-speed), color var(--transition-speed);
    overflow-x: hidden;
}

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

/* ===== HEADER ===== */
.header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo i {
    color: #ff0000;
    font-size: 2rem;
}

.header-nav {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-icon {
    background: var(--bg-tertiary);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 1.1rem;
    transition: all var(--transition-speed);
}

.btn-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

/* ===== MAIN CONTENT ===== */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* ===== HERO SECTION ===== */
.hero-section {
    text-align: center;
    padding: 3rem 0;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--border-radius-lg);
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-section p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== PLAYER SECTION ===== */
.player-section {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.player-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

/* URL Input Group */
.input-group {
    display: flex;
    gap: 12px;
    margin-bottom: 2rem;
}

.url-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: all var(--transition-speed);
}

.url-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-speed);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Player Container */
.player-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-xl);
}

#player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.player-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity var(--transition-speed);
}

.player-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.player-placeholder {
    text-align: center;
    color: white;
}

.player-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.player-placeholder p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Now Playing */
.now-playing {
    background: var(--bg-tertiary);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.now-playing-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.now-playing-info i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.now-playing-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.now-playing-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Player Controls */
.player-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.control-group {
    display: flex;
    gap: 8px;
}

.btn-control {
    background: var(--bg-tertiary);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 1.2rem;
    transition: all var(--transition-speed);
}

.btn-control:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.btn-control-main {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-control-main:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.btn-control.active {
    background: var(--primary-color);
    color: white;
}

/* Sleep Timer Display */
.sleep-timer-display {
    background: var(--info-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 1rem;
    animation: pulse 2s infinite;
}

.sleep-timer-display i {
    font-size: 1.2rem;
}

.btn-text {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: opacity var(--transition-speed);
}

.btn-text:hover {
    opacity: 0.8;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.9; }
}

/* Queue Info */
.queue-info {
    background: var(--bg-tertiary);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
    text-align: center;
}

.queue-info p {
    margin: 0.25rem 0;
    color: var(--text-secondary);
}

/* ===== FEATURES SECTION ===== */
.features-section {
    margin-bottom: 3rem;
}

.features-section h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all var(--transition-speed);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: var(--shadow-md);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
    background: var(--bg-secondary);
    padding: 3rem 2rem;
    border-radius: var(--border-radius-lg);
    margin-bottom: 3rem;
}

.products-section h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.products-section > p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.product-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-speed);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--bg-tertiary);
}

.product-info {
    padding: 1.25rem;
}

.product-name {
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.3rem;
}

/* Skeleton Loading */
.skeleton {
    animation: skeleton-loading 1.5s infinite;
}

.skeleton-image {
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-secondary) 50%, var(--bg-tertiary) 75%);
    background-size: 200% 100%;
}

.skeleton-text {
    height: 18px;
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-secondary) 50%, var(--bg-tertiary) 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    margin-bottom: 8px;
}

.skeleton-text.short {
    width: 60%;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Products CTA */
.products-cta {
    text-align: center;
    margin-top: 2rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--border-color);
    transition: all var(--transition-speed);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== COMMUNITY SECTION ===== */
.community-section {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.community-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.community-section > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.community-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-social {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    color: white;
    transition: all var(--transition-speed);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0c63d4 100%);
}

.btn-zalo {
    background: linear-gradient(135deg, #0068ff 0%, #0052cc 100%);
}

.btn-share {
    background: var(--gradient-accent);
}

.btn-social:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    text-align: center;
    color: var(--text-secondary);
}

.footer-content p {
    margin: 0.5rem 0;
}

.footer-content i {
    color: #ff0000;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.3s;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-speed);
}

.modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.modal-body {
    padding: 1.5rem;
}

.timer-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.timer-option {
    padding: 1.25rem;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    color: var(--text-primary);
    transition: all var(--transition-speed);
}

.timer-option:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.custom-timer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.custom-timer label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.custom-timer input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.custom-timer input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Install PWA Prompt */
.install-prompt {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    z-index: 999;
    max-width: 500px;
    width: 90%;
    animation: slideUp 0.5s;
    border: 1px solid var(--border-color);
}

.install-prompt-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
}

.install-prompt-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.install-prompt-text {
    flex: 1;
}

.install-prompt-text strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.install-prompt-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.install-prompt-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .player-section {
        padding: 1.5rem;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .btn-primary {
        width: 100%;
        justify-content: center;
    }
    
    .player-controls {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .community-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo span {
        font-size: 1.2rem;
    }
    
    .hero-section {
        padding: 2rem 1rem;
    }
    
    .player-section h2,
    .features-section h2,
    .products-section h2,
    .community-section h2 {
        font-size: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* ===== POPUP MODAL ===== */
.popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.popup-content {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    z-index: 10001;
    animation: slideUp 0.3s;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed);
    z-index: 10002;
}

.popup-close:hover {
    background: rgba(255, 0, 0, 0.8);
    transform: scale(1.1);
}

.popup-body {
    padding: 2rem;
    min-width: 300px;
}

/* Popup - Text Content */
.popup-body.popup-text {
    max-width: 600px;
}

.popup-body.popup-text h2 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.popup-body.popup-text p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Popup - Image Content */
.popup-body.popup-image {
    padding: 0;
    max-width: 800px;
}

.popup-body.popup-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-lg);
}

/* Popup - Video Content */
.popup-body.popup-video {
    padding: 0;
    max-width: 800px;
}

.popup-body.popup-video iframe,
.popup-body.popup-video video {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    border-radius: var(--border-radius-lg);
}

/* ===== BANNER ADS ===== */
.banner-ad {
    position: fixed;
    z-index: 999;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    overflow: hidden;
    animation: slideIn 0.5s;
}

.banner-ad a {
    display: block;
    width: 100%;
    height: 100%;
}

.banner-ad img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-speed);
    z-index: 1000;
}

.banner-close:hover {
    background: rgba(255, 0, 0, 0.9);
    transform: scale(1.1);
}

/* Left Banner - 160x600 (Wide Skyscraper) */
.banner-left {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    height: 600px;
}

/* Right Banner - 160x600 (Wide Skyscraper) */
.banner-right {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    height: 600px;
}

/* Bottom Banner - 728x90 (Leaderboard) */
.banner-bottom {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 728px;
    height: 90px;
}

/* Banner Responsive */
@media (max-width: 1200px) {
    .banner-left,
    .banner-right {
        width: 120px;
        height: 600px;
    }
}

@media (max-width: 968px) {
    .banner-left,
    .banner-right {
        display: none !important;
    }
    
    .banner-bottom {
        width: 100%;
        max-width: 728px;
        height: 90px;
    }
}

@media (max-width: 768px) {
    .banner-bottom {
        width: 100%;
        height: 50px;
    }
    
    .popup-content {
        max-width: 95%;
    }
    
    .popup-body {
        padding: 1.5rem;
    }
}

/* Animation for banners */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-bottom {
    animation: slideInBottom 0.5s;
}

@keyframes slideInBottom {
    from {
        opacity: 0;
        transform: translate(-50%, 100%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}