/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Variables para temas dinámicos */
:root {
    /* Tema por defecto */
    --bg-primary: #1a365d;
    --bg-secondary: rgba(0, 0, 0, 0.2);
    --accent-primary: #63b3ed;
    --accent-secondary: #4ade80;
    --accent-highlight: #fbbf24;
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --shadow-glow: rgba(99, 179, 237, 0.5);
    --border-color: rgba(255, 255, 255, 0.15);
    --button-gradient-from: #3b82f6;
    --button-gradient-to: #1e40af;
    --button-shadow: rgba(59, 130, 246, 0.4);
}

/* Tema Otoño */
body.theme-autumn {
    --bg-primary: #2d1b0e;
    --bg-secondary: rgba(139, 69, 19, 0.3);
    --accent-primary: #f97316;
    --accent-secondary: #ea580c;
    --accent-highlight: #fbbf24;
    --text-primary: #fff7ed;
    --text-secondary: #fed7aa;
    --shadow-glow: rgba(249, 115, 22, 0.5);
    --border-color: rgba(255, 247, 237, 0.2);
    --button-gradient-from: #ea580c;
    --button-gradient-to: #9a3412;
    --button-shadow: rgba(234, 88, 12, 0.5);
}

/* Tema Navidad */
body.theme-christmas {
    --bg-primary: #0f172a;
    --bg-secondary: rgba(15, 23, 42, 0.4);
    --accent-primary: #ef4444;
    --accent-secondary: #22c55e;
    --accent-highlight: #fbbf24;
    --text-primary: #ffffff;
    --text-secondary: #fecaca;
    --shadow-glow: rgba(239, 68, 68, 0.6);
    --border-color: rgba(255, 255, 255, 0.15);
    --button-gradient-from: #dc2626;
    --button-gradient-to: #15803d;
    --button-shadow: rgba(220, 38, 38, 0.5);
}

/* Tema Primavera */
body.theme-spring {
    --bg-primary: #14532d;
    --bg-secondary: rgba(34, 197, 94, 0.15);
    --accent-primary: #4ade80;
    --accent-secondary: #fb923c;
    --accent-highlight: #fef08a;
    --text-primary: #f0fdf4;
    --text-secondary: #d1fae5;
    --shadow-glow: rgba(74, 222, 128, 0.5);
    --border-color: rgba(240, 253, 244, 0.2);
    --button-gradient-from: #16a34a;
    --button-gradient-to: #15803d;
    --button-shadow: rgba(22, 163, 74, 0.5);
}

/* Tema Verano */
body.theme-summer {
    --bg-primary: #7dd3fc;
    --bg-secondary: rgba(186, 230, 253, 0.4);
    --accent-primary: #f59e0b;
    --accent-secondary: #ef4444;
    --accent-highlight: #fbbf24;
    --text-primary: #0c4a6e;
    --text-secondary: #075985;
    --shadow-glow: rgba(251, 191, 36, 0.7);
    --border-color: rgba(12, 74, 110, 0.25);
    --button-gradient-from: #ea580c;
    --button-gradient-to: #c2410c;
    --button-shadow: rgba(234, 88, 12, 0.5);
}

/* Tema Invierno */
body.theme-winter {
    --bg-primary: #1e293b;
    --bg-secondary: rgba(148, 163, 184, 0.2);
    --accent-primary: #60a5fa;
    --accent-secondary: #94a3b8;
    --accent-highlight: #e0f2fe;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --shadow-glow: rgba(96, 165, 250, 0.5);
    --border-color: rgba(241, 245, 249, 0.15);
    --button-gradient-from: #2563eb;
    --button-gradient-to: #1e40af;
    --button-shadow: rgba(37, 99, 235, 0.5);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow: hidden;
    height: 100vh;
    transition: background-color 1s ease;
    position: relative;
}

/* Transición suave para cambio automático de temas */
body.theme-transitioning {
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-width: 100%;
    position: relative;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-icon {
    font-size: 3rem;
    color: var(--accent-primary);
    transition: color 0.5s ease;
}

.header-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.header-text p {
    font-size: 1.1rem;
    opacity: 0.8;
    font-weight: 300;
}

.time-weather-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.current-time {
    text-align: right;
}

.current-time div:first-child {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.current-time div:last-child {
    font-size: 1rem;
    opacity: 0.8;
}

.current-weather {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-primary);
    transition: color 0.5s ease;
}

.current-weather i {
    font-size: 1.8rem;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 50px;
}


/* Slides Container */
.slides-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 50px;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-content {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 80px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    width: 100%;
    max-width: none;
}

.slide-content h3 {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.slide-content h3 i {
    color: var(--accent-primary);
    font-size: 3rem;
    transition: color 0.5s ease;
}

.phone-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 50px;
    font-size: 2.5rem;
    font-weight: 600;
}

.phone-main i {
    color: var(--accent-secondary);
    font-size: 3rem;
    transition: color 0.5s ease;
}

.internals {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    max-width: 960px;
    margin: 0 auto;
}

.internal-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.internal-item strong {
    font-size: 2rem;
    color: var(--text-secondary);
    transition: color 0.5s ease;
}

.internal-item span {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    transition: color 0.5s ease;
}

.internal-item small {
    font-size: 2rem;
    opacity: 0.9;
    color: var(--text-secondary);
    text-align: center;
    transition: color 0.5s ease;
    max-width: 350px;
    overflow-wrap: break-word;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.internal-item small strong {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.5s ease;
}

.divider {
    font-size: 2.5rem;
    color: var(--text-secondary);
    opacity: 0.4;
    font-weight: 300;
    transition: color 0.5s ease;
}

/* Notice Slide */
.notice-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

.notice-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 900px;
    width: 100%;
}

.notice-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.notice-section p {
    font-size: 2.2rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.notice-direction {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.notice-direction p {
    font-size: 2rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.notice-content strong {
    color: var(--accent-highlight);
    font-weight: 600;
    transition: color 0.5s ease;
}

.notice-content .office-name {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-top: 0;
    margin-bottom: 0;
    padding: 20px 40px;
    background: rgba(99, 179, 237, 0.1);
    border-radius: 15px;
    border: 2px solid var(--accent-primary);
    transition: all 0.5s ease;
}

/* Slide Indicators */
.slide-indicators {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
}

.indicator {
    width: 50px;
    height: 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--accent-primary);
    box-shadow: 0 0 20px var(--shadow-glow);
    transition: all 0.5s ease;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Zoom Controls */
.zoom-controls {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
    display: flex;
    gap: 10px;
}

.zoom-button {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #1a365d;
    font-size: 1.2rem;
}

.zoom-button:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

/* Doorbell Button */
.doorbell-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.doorbell-button {
    background: linear-gradient(135deg, var(--button-gradient-from), var(--button-gradient-to));
    border: none;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.5s ease;
    box-shadow: 0 8px 25px var(--button-shadow);
    color: white;
    font-family: inherit;
    animation: pulse-glow 2s infinite;
    padding: 10px;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.doorbell-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px var(--button-shadow);
    filter: brightness(1.1);
}

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

.doorbell-button:focus {
    outline: none;
}

.doorbell-button i {
    font-size: 2.2rem;
}

.doorbell-button span {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1;
    text-align: center;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 8px 25px var(--button-shadow);
    }
    50% {
        box-shadow: 0 8px 30px var(--button-shadow);
        filter: brightness(1.05);
    }
}

/* QR Slide */
.qr-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.qr-main {
    display: flex;
    align-items: center;
    gap: 60px;
}

.qr-slide-image {
    width: 300px;
    height: 300px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.qr-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.qr-info h4 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 10px;
    transition: color 0.5s ease;
}

.qr-info p {
    font-size: 1.8rem;
    margin-bottom: 5px;
    opacity: 0.9;
}

.qr-contact {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.qr-contact p {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Footer */
.footer {
    padding: 20px 50px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-content {
    font-size: 1rem;
    opacity: 0.8;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .header {
        padding: 20px 30px;
    }
    
    .header-text h1 {
        font-size: 2rem;
    }
    
    .main-content {
        padding: 30px;
    }
    
    .slide {
        padding: 0 30px;
    }
    
    .slide-content {
        padding: 50px;
    }
    
    .slide-content h3 {
        font-size: 2.5rem;
    }
    
    .slide-content h3 i {
        font-size: 2.2rem;
    }
    
    .phone-main {
        font-size: 2rem;
    }
    
    .phone-main i {
        font-size: 2.5rem;
    }
    
    .internal-item strong {
        font-size: 1.5rem;
    }
    
    .internal-item span {
        font-size: 2.5rem;
    }
    
    .notice-content h3 {
        font-size: 2.5rem;
    }
    
    .notice-content {
        gap: 25px;
    }
    
    .notice-section {
        gap: 15px;
    }
    
    .notice-section p {
        font-size: 1.4rem;
        line-height: 1.3;
    }
    
    .notice-direction {
        gap: 12px;
    }
    
    .notice-direction p {
        font-size: 1.3rem;
        line-height: 1.3;
    }
    
    .notice-content .office-name {
        font-size: 1.6rem;
        padding: 12px 20px;
        margin-top: 0;
    }
    
    .doorbell-button {
        width: 100px;
        height: 100px;
    }
    
    .doorbell-button i {
        font-size: 1.8rem;
    }
    
    .doorbell-button span {
        font-size: 0.6rem;
    }
    
    .zoom-controls {
        bottom: 20px;
        left: 20px;
    }
    
    .zoom-button {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .qr-slide {
        gap: 20px;
    }
    
    .qr-main {
        flex-direction: column;
        gap: 25px;
    }
    
    .qr-slide-image {
        width: 180px;
        height: 180px;
    }
    
    .qr-info {
        gap: 15px;
    }
    
    .qr-info h4 {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }
    
    .qr-info p {
        font-size: 1.2rem;
        margin-bottom: 3px;
    }
    
    .qr-contact {
        margin-top: 15px;
        padding-top: 15px;
    }
    
    .qr-contact p {
        font-size: 1rem;
        margin-bottom: 8px;
    }
}

@media screen and (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    
    .slide {
        padding: 0 20px;
    }
    
    .slide-content {
        padding: 30px;
    }
    
    .slide-content h3 {
        font-size: 2rem;
    }
    
    .slide-content h3 i {
        font-size: 1.8rem;
    }
    
    .phone-main {
        font-size: 1.5rem;
    }
    
    .phone-main i {
        font-size: 2rem;
    }
    
    .internals {
        flex-direction: column;
        gap: 30px;
    }
    
    .internal-item strong {
        font-size: 1.3rem;
    }
    
    .internal-item span {
        font-size: 2rem;
    }
    
    .divider {
        display: none;
    }
    
    .notice-slide {
        gap: 25px;
    }
    
    .notice-section p {
        font-size: 1.4rem;
    }
    
    .notice-direction p {
        font-size: 1.2rem;
    }
    
    .notice-content .office-name {
        font-size: 1.6rem;
        padding: 12px 20px;
    }
    
    .zoom-controls {
        bottom: 15px;
        left: 15px;
    }
    
    .zoom-button {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .doorbell-container {
        bottom: 20px;
        right: 20px;
    }
    
    .doorbell-button {
        width: 80px;
        height: 80px;
    }
    
    .doorbell-button i {
        font-size: 1.5rem;
    }
    
    .doorbell-button span {
        font-size: 0.5rem;
    }
    
    .qr-main {
        flex-direction: column;
        gap: 20px;
    }
    
    .qr-slide-image {
        width: 150px;
        height: 150px;
    }
    
    .qr-info h4 {
        font-size: 1.5rem;
    }
    
    .qr-info p {
        font-size: 1.1rem;
    }
    
    .qr-contact p {
        font-size: 0.9rem;
    }
}

/* Decoraciones temáticas */
.theme-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Hojas de otoño */
.autumn-leaf {
    position: absolute;
    top: -50px;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    opacity: 0.6;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.6;
    }
    100% {
        transform: translateY(calc(100vh + 50px)) rotate(360deg);
        opacity: 0;
    }
}

.autumn-leaf:nth-child(1) { left: 10%; animation-duration: 12s; animation-delay: 0s; }
.autumn-leaf:nth-child(2) { left: 30%; animation-duration: 15s; animation-delay: 2s; }
.autumn-leaf:nth-child(3) { left: 50%; animation-duration: 10s; animation-delay: 4s; }
.autumn-leaf:nth-child(4) { left: 70%; animation-duration: 13s; animation-delay: 1s; }
.autumn-leaf:nth-child(5) { left: 90%; animation-duration: 11s; animation-delay: 3s; }

/* Copos de nieve */
.snowflake {
    position: absolute;
    top: -20px;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
    animation: snowfall linear infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes snowfall {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0.8;
    }
    100% {
        transform: translateY(calc(100vh + 20px)) translateX(50px);
        opacity: 0;
    }
}

.snowflake:nth-child(1) { left: 5%; animation-duration: 10s; animation-delay: 0s; width: 8px; height: 8px; }
.snowflake:nth-child(2) { left: 15%; animation-duration: 12s; animation-delay: 1s; width: 6px; height: 6px; }
.snowflake:nth-child(3) { left: 25%; animation-duration: 8s; animation-delay: 2s; width: 10px; height: 10px; }
.snowflake:nth-child(4) { left: 35%; animation-duration: 14s; animation-delay: 0.5s; width: 7px; height: 7px; }
.snowflake:nth-child(5) { left: 45%; animation-duration: 11s; animation-delay: 1.5s; width: 9px; height: 9px; }
.snowflake:nth-child(6) { left: 55%; animation-duration: 9s; animation-delay: 2.5s; width: 8px; height: 8px; }
.snowflake:nth-child(7) { left: 65%; animation-duration: 13s; animation-delay: 0.8s; width: 6px; height: 6px; }
.snowflake:nth-child(8) { left: 75%; animation-duration: 10s; animation-delay: 1.8s; width: 10px; height: 10px; }
.snowflake:nth-child(9) { left: 85%; animation-duration: 12s; animation-delay: 2.2s; width: 7px; height: 7px; }
.snowflake:nth-child(10) { left: 95%; animation-duration: 11s; animation-delay: 0.3s; width: 9px; height: 9px; }

/* Flores de primavera */
.spring-flower {
    position: absolute;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #fef08a 30%, #4ade80 100%);
    border-radius: 50%;
    opacity: 0.7;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.spring-flower:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.spring-flower:nth-child(2) { top: 40%; left: 85%; animation-delay: 1s; }
.spring-flower:nth-child(3) { top: 60%; left: 15%; animation-delay: 2s; }
.spring-flower:nth-child(4) { top: 80%; left: 90%; animation-delay: 0.5s; }

/* Estrellas brillantes para Navidad */
.christmas-star {
    position: absolute;
    width: 15px;
    height: 15px;
    background: #fbbf24;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: twinkle 2s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(0.8);
    }
}

/* Posicionamiento de estrellas ahora se hace en JavaScript (script.js:546-565) */

/* Soles brillantes para Verano */
.summer-sun {
    position: absolute;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, #fbbf24 0%, #f59e0b 50%, #f97316 100%);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.8);
    animation: shine 3s ease-in-out infinite;
}

.summer-sun::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 50%;
    box-shadow: 0 0 20px 5px rgba(251, 191, 36, 0.4);
}

@keyframes shine {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 30px rgba(251, 191, 36, 0.8);
    }
    50% {
        transform: scale(1.1) rotate(180deg);
        box-shadow: 0 0 50px rgba(251, 191, 36, 1);
    }
}

.summer-sun:nth-child(1) { top: 10%; right: 15%; animation-delay: 0s; width: 35px; height: 35px; }
.summer-sun:nth-child(2) { top: 30%; left: 10%; animation-delay: 1s; width: 30px; height: 30px; }
.summer-sun:nth-child(3) { top: 60%; right: 20%; animation-delay: 0.5s; width: 40px; height: 40px; }
.summer-sun:nth-child(4) { top: 80%; left: 15%; animation-delay: 1.5s; width: 32px; height: 32px; }

/* Volume Button Styles */
.volume-container {
    position: fixed;
    bottom: 30px;
    right: 180px;
    z-index: 100;
}

.volume-button {
    background: linear-gradient(135deg, var(--button-gradient-from), var(--button-gradient-to));
    border: none;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.5s ease;
    box-shadow: 0 8px 25px var(--button-shadow);
    color: white;
    font-family: inherit;
}

.volume-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px var(--button-shadow);
    filter: brightness(1.1);
}

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

.volume-button:focus {
    outline: none;
}

.volume-button i {
    font-size: 1.6rem;
    margin-bottom: 2px;
}

.volume-button span {
    font-size: 0.55rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1;
    text-align: center;
}

/* Volume Modal Styles */
.volume-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.volume-modal.open {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.volume-modal-content {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    border-radius: 20px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    animation: slideUp 0.4s ease forwards;
}

.volume-modal-content h3 {
    color: white;
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.volume-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.volume-option {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border: none;
    border-radius: 15px;
    padding: 20px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    position: relative;
    overflow: hidden;
}

.volume-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
    background: linear-gradient(135deg, #5dade2, #3498db);
}

.volume-option.selected {
    background: linear-gradient(135deg, #27ae60, #229954);
    box-shadow: 0 5px 20px rgba(39, 174, 96, 0.4);
}

.volume-option.selected::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #27ae60;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.volume-option i {
    font-size: 2rem;
    opacity: 0.9;
}

.volume-option.selected i {
    opacity: 1;
}

.volume-option span {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.volume-close {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border: none;
    border-radius: 10px;
    padding: 12px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.volume-close:hover {
    background: linear-gradient(135deg, #ec7063, #e74c3c);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.volume-close:active {
    transform: translateY(0);
}

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

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

/* Responsive Design */
@media (max-width: 1200px) {
    .volume-container {
        bottom: 25px;
        right: 25px;
    }

    .volume-button {
        width: 70px;
        height: 70px;
    }

    .volume-button i {
        font-size: 1.4rem;
    }

    .volume-button span {
        font-size: 0.5rem;
    }
}

@media (max-width: 768px) {
    .volume-container {
        bottom: 20px;
        right: 20px;
    }

    .volume-button {
        width: 60px;
        height: 60px;
    }

    .volume-button i {
        font-size: 1.2rem;
    }

    .volume-button span {
        font-size: 0.45rem;
    }

    .volume-modal-content {
        padding: 20px;
        margin: 20px;
    }

    .volume-options {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .volume-option {
        padding: 15px;
    }

    .volume-option i {
        font-size: 1.5rem;
    }

    .volume-option span {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .volume-container {
        bottom: 15px;
        right: 15px;
    }

    .volume-button {
        width: 50px;
        height: 50px;
    }

    .volume-button i {
        font-size: 1.1rem;
    }

    .volume-button span {
        font-size: 0.4rem;
    }

    .volume-modal-content {
        padding: 15px;
        margin: 15px;
    }

    .volume-option i {
        font-size: 1.3rem;
    }

    .volume-option span {
        font-size: 0.7rem;
    }
}