* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    color: #e8e8e8;
    overflow-x: hidden;
    position: relative;
    margin: 0;
    padding: 0;
}

/* Video pozadí */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.video-background video {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 1;
    top: 0;
    left: 0;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(20, 20, 40, 0.5) 25%, rgba(40, 40, 80, 0.4) 50%, rgba(60, 60, 120, 0.5) 75%, rgba(80, 80, 160, 0.6) 100%);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* Logo Section */
.logo-section {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
}

.logo {
    display: inline-block;
    padding: 25px 40px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-img {
    max-width: 100%;
    height: auto;
    width: 300px;
    animation: logoGlow 3s ease-in-out infinite;
    object-fit: contain;
}

.logo-fallback {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-icon {
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
}

.logo-text h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
}

.logo-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 5px 0 0 0;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@keyframes logoGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    }
    50% { 
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.6));
    }
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Drink Grid */
.drink-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    width: 100%;
    margin-bottom: 40px;
    padding: 0;
}

@media (max-width: 768px) {
    .drink-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .drink-card {
        padding: 12px;
        max-width: 180px;
        margin: 0 auto;
    }
    
    .drink-logo {
        width: 60px;
        height: 60px;
        margin-bottom: 8px;
    }
    
    .brand-logo {
        font-size: 0.8rem;
        padding: 4px 10px;
    }
    
    .price {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .drink-form .btn-primary {
        width: 85%;
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

.drink-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(20, 20, 40, 0.3) 100%);
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    max-width: 220px;
}

.drink-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.drink-image {
    margin-bottom: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.drink-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.drink-card:hover .drink-logo {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

.drink-icon {
    font-size: 4rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.brand-logo {
    font-size: 0.9rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 15px;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Coca-Cola styling */
.cocacola-icon {
    color: #ff0000;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.cocacola-logo {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: white;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.drink-card:hover .cocacola-icon {
    color: #ff3333;
    text-shadow: 0 0 30px rgba(255, 0, 0, 0.8);
}

.drink-card:hover .cocacola-logo {
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.5);
    background: linear-gradient(135deg, #ff3333 0%, #ff0000 100%);
}

/* Pepsi styling */
.pepsi-icon {
    color: #0047ab;
    text-shadow: 0 0 20px rgba(0, 71, 171, 0.5);
    transition: all 0.3s ease;
}

.pepsi-logo {
    background: linear-gradient(135deg, #0047ab 0%, #003d99 100%);
    color: white;
    box-shadow: 0 0 15px rgba(0, 71, 171, 0.3);
    transition: all 0.3s ease;
}

.drink-card:hover .pepsi-icon {
    color: #0066cc;
    text-shadow: 0 0 30px rgba(0, 71, 171, 0.8);
}

.drink-card:hover .pepsi-logo {
    box-shadow: 0 0 25px rgba(0, 71, 171, 0.5);
    background: linear-gradient(135deg, #0066cc 0%, #0047ab 100%);
}

/* Sprite styling */
.sprite-icon {
    color: #00ff00;
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
    transition: all 0.3s ease;
}

.sprite-logo {
    background: linear-gradient(135deg, #00ff00 0%, #00cc00 100%);
    color: white;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
    transition: all 0.3s ease;
}

.drink-card:hover .sprite-icon {
    color: #33ff33;
    text-shadow: 0 0 30px rgba(0, 255, 0, 0.8);
}

.drink-card:hover .sprite-logo {
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.5);
    background: linear-gradient(135deg, #33ff33 0%, #00ff00 100%);
}

/* Mirinda styling */
.mirinda-icon {
    color: #ff8c00;
    text-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
    transition: all 0.3s ease;
}

.mirinda-logo {
    background: linear-gradient(135deg, #ff8c00 0%, #ff7f00 100%);
    color: white;
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.3);
    transition: all 0.3s ease;
}

.drink-card:hover .mirinda-icon {
    color: #ffa500;
    text-shadow: 0 0 30px rgba(255, 140, 0, 0.8);
}

.drink-card:hover .mirinda-logo {
    box-shadow: 0 0 25px rgba(255, 140, 0, 0.5);
    background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
}


.price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ff6b6b;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(255, 107, 107, 0.5);
}

/* Formuláře pro nápoje */
.drink-form {
    width: 100%;
    margin-top: 10px;
}

.drink-form .btn-primary {
    width: 90%;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    backdrop-filter: blur(2.5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.drink-form .btn-primary:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}



.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 150px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.4) 0%, rgba(0, 204, 106, 0.4) 100%);
    color: #ffffff;
    border: 2px solid rgba(0, 255, 136, 0.5);
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.2);
    backdrop-filter: blur(10px);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 30px rgba(0, 255, 136, 0.3),
        0 0 20px rgba(0, 255, 136, 0.4);
    background: linear-gradient(135deg, rgba(0, 255, 153, 0.5) 0%, rgba(0, 221, 119, 0.5) 100%);
    border-color: rgba(0, 255, 136, 0.7);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #b8b8b8;
    border: 2px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 119, 119, 0.15);
    color: #ff7777;
    border-color: #ff7777;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 119, 119, 0.3);
}


/* Status Overlay */
.status-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInOverlay 0.5s ease;
}

@keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}

.status-modal {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideInStatus 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideInStatus {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.status-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounceIcon 1s ease-in-out infinite;
}

@keyframes bounceIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.status-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.status-message {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #b8b8b8;
    line-height: 1.5;
}

.status-countdown {
    font-size: 1rem;
    color: #00ff88;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

/* Success styling */
.status-overlay.success .status-icon {
    color: #00ff88;
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.8);
}

.status-overlay.success .status-title {
    color: #00ff88;
}

.status-overlay.success .status-modal {
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(0, 255, 136, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Error styling */
.status-overlay.error .status-icon {
    color: #ff7777;
    text-shadow: 0 0 30px rgba(255, 119, 119, 0.8);
}

.status-overlay.error .status-title {
    color: #ff7777;
}

.status-overlay.error .status-modal {
    border-color: rgba(255, 119, 119, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 119, 119, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.admin-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

.admin-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.admin-btn:hover::before {
    opacity: 1;
}

.admin-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}



/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .drink-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .drink-card {
        padding: 20px;
    }
    
    .payment-buttons {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        min-width: auto;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-actions {
        flex-direction: column;
    }
    
    /* Video responsivita pro mobily */
    .video-background video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .video-overlay {
        background: 
            linear-gradient(135deg, rgba(15, 15, 35, 0.8) 0%, rgba(26, 26, 46, 0.7) 25%, rgba(22, 33, 62, 0.6) 50%, rgba(15, 52, 96, 0.7) 75%, rgba(83, 52, 131, 0.8) 100%);
    }
}

@media (max-width: 480px) {
    .header {
        padding: 20px;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .payment-section {
        padding: 20px;
    }
    
    .modal-content {
        width: 95%;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    /* Logo responsivita */
    .logo {
        padding: 20px 30px;
    }
    
    .logo-img {
        width: 300px;
    }
    
    .logo-fallback {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo-icon {
        font-size: 2.5rem;
    }
    
    .logo-text h1 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .drink-logo {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .logo {
        padding: 15px 20px;
    }
    
    .logo-img {
        width: 200px;
    }
    
    .logo-icon {
        font-size: 2rem;
    }
    
    .drink-logo {
        width: 50px;
        height: 50px;
        margin-bottom: 6px;
    }
    
    .drink-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .drink-card {
        padding: 10px;
        max-width: 160px;
    }
    
    .brand-logo {
        font-size: 0.75rem;
        padding: 3px 8px;
    }
    
    .price {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .drink-form .btn-primary {
        width: 80%;
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    /* Video responsivita pro mobily */
    .video-background video {
        position: fixed;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;
    }
    
    .video-overlay {
        background: 
            linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(20, 20, 40, 0.6) 25%, rgba(40, 40, 80, 0.5) 50%, rgba(60, 60, 120, 0.6) 75%, rgba(80, 80, 160, 0.7) 100%);
    }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
