/* ===== BEER THEME & DESIGN TOKENS ===== */
:root {
    --color-amber: #FFBF00;
    --color-gold: #D4AF37;
    --color-beer-dark: #2B1B17;
    --color-foam: #F5F5F5;
    --color-glass: rgba(255, 255, 255, 0.1);
    --color-glass-border: rgba(255, 255, 255, 0.2);
    
    --spacing-xl: 30px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* ===== GLOBAL RESETS ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: radial-gradient(circle at center, #3d2a1a 0%, #0c0c0c 100%);
    color: var(--color-foam);
    font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    padding: 40px 20px;
    overflow-x: hidden;
}

/* ===== BUBBLE ANIMATION ===== */
.bubbles {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.bubble {
    position: absolute;
    bottom: 0;
    background: rgba(255, 191, 0, 0.1);
    border-radius: 50%;
    animation: rise var(--duration) infinite ease-in;
}

@keyframes rise {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    50% { opacity: 0.5; }
    100% { transform: translateY(-120vh) scale(1.5); opacity: 0; }
}

/* ===== LAYOUT ===== */
.container {
    max-width: 900px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

h1, h2 {
    color: var(--color-amber);
    text-shadow: 0 0 20px rgba(255, 191, 0, 0.3);
}

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

.hero-section p {
    font-size: 1.2rem;
    color: #aaa;
    margin-top: 10px;
}

/* ===== BEER IMAGE ===== */
.beer-area {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.beer-gif {
    width: 400px;
    height: auto;
    border-radius: var(--radius-lg);
    border: 3px solid var(--color-gold);
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
}

.beer-gif:hover {
    transform: rotateY(5deg) rotateX(5deg) scale(1.02);
}

/* ===== INFO BOXES ===== */
.glass-box {
    background: var(--color-glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-premium);
    text-align: center;
}

.time-display {
    font-size: 3rem;
    font-weight: 800;
    margin: 10px 0;
}

.date-badge {
    display: inline-block;
    background: var(--color-gold);
    color: #000;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.countdown-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 20px;
}

.countdown-value {
    font-size: 2.5rem;
    font-weight: bold;
    font-family: monospace;
    color: var(--color-amber);
}

/* ===== HISTORY ===== */
.history-section h2 {
    margin-bottom: 20px;
    text-align: center;
}

.year-btn {
    width: 100%;
    padding: 15px 25px;
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    color: white;
    font-size: 1.1rem;
    text-align: left;
    cursor: pointer;
    border-radius: 12px;
    margin-bottom: 10px;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.year-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.year-btn::after {
    content: '▼';
    font-size: 0.8rem;
    opacity: 0.5;
}

.year-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0 0 12px 12px;
    margin-bottom: 10px;
}

.year-content.active {
    max-height: 400px;
    overflow-y: auto;
    margin-top: -15px;
    padding-top: 15px;
    border: 1px solid var(--color-glass-border);
    border-top: none;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: rgba(0,0,0,0.2); }
::-webkit-scrollbar-thumb { 
    background: var(--color-primary, orange); 
    border-radius: 10px; 
    border: 2px solid #000;
}
::-webkit-scrollbar-thumb:hover { background: var(--color-gold); }

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

th {
    text-transform: uppercase;
    font-size: 0.75rem;
    color: #888;
    letter-spacing: 1px;
}

tr:last-child td { border-bottom: none; }

/* ===== TOP LINKS ===== */
.admin-link {
    position: absolute;
    top: 100px;
    right: 25px;
    color: var(--color-primary, orange);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: var(--transition);
    z-index: 100;
    background: var(--color-glass);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid var(--color-glass-border);
}

.admin-link:hover {
    background: var(--color-primary, orange);
    color: #000;
    text-decoration: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .container { gap: 25px; }
    .beer-gif { width: 100%; }
    .time-display { font-size: 2.2rem; }
    .countdown-value { font-size: 1.8rem; }
}
