@font-face {
    font-family: 'SF Pro Text Semibold';
    src: url('assets/fonts/sf_semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'SF Pro Text Thin';
    src: url('assets/fonts/sf_thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SF Pro Text Thin', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    height: 100vh;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Desktop Hintergrund */
@media (min-width: 769px) {
    body {
        background-image: url('assets/images/desktop_wallpaper.jpg');
    }
}

/* Mobile Hintergrund */
@media (max-width: 768px) {
    body {
        background-image: url('assets/images/phone_wallpaper.jpg');
    }
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 20px;
    position: relative;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

@media (min-width: 769px) {
    .countdown-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
        margin-bottom: 0;
    }
}

.countdown-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 120px;
    position: relative;
    overflow: hidden;
}

@media (min-width: 769px) {
    .countdown-card {
        padding: 35px 25px;
        min-width: 140px;
    }
}

.countdown-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.countdown-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.number-container {
    height: 70px;
    overflow: hidden;
    position: relative;
    margin-bottom: 12px;
}

@media (min-width: 769px) {
    .number-container {
        height: 70px;
        margin-bottom: 15px;
    }
}

.number {
    font-family: 'SF Pro Text Semibold', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 64px;
    font-weight: 600;
    color: white;
    display: block;
    line-height: 1;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 769px) {
    .number {
        font-size: 72px;
    }
}

.label {
    font-family: 'SF Pro Text Thin', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    font-weight: 100;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

@media (min-width: 769px) {
    .label {
        font-size: 18px;
        letter-spacing: 2px;
    }
}

.logo {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-svg {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    opacity: 0.9;
    transition: all 0.3s ease;
}

.logo-svg:hover {
    opacity: 1;
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

@media (max-width: 768px) {
    .countdown-card {
        padding: 25px 15px;
        min-width: 110px;
    }
    
    .number {
        font-size: 56px;
    }
    
    .number-container {
        height: 65px;
        margin-bottom: 10px;
    }
    
    .label {
        font-size: 14px;
        letter-spacing: 1px;
    }
    
    .logo {
        bottom: 20px;
        right: 20px;
    }
    
    .logo-svg {
        height: 30px;
    }
}

/* Slot-Machine Animation */
.slot-animation {
    animation: slotMachine 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slotMachine {
    0% {
        transform: translateY(-300px);
    }
    70% {
        transform: translateY(10px);
    }
    85% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Smooth number change animation */
.number-change {
    animation: numberChange 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes numberChange {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    50% {
        transform: translateY(5px);
        opacity: 0.7;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Individuelle Ziffern-Animation */
.digit-change {
    animation: digitChange 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes digitChange {
    0% {
        transform: translateY(-20px) scale(0.8);
        opacity: 0;
    }
    50% {
        transform: translateY(5px) scale(1.05);
        opacity: 0.7;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

