:root {
    --color-bg-dark: #020617;
    --color-primary: #0ea5e9;
    --color-primary-hover: #38bdf8;
    --color-text-main: #f8fafc;
    --color-text-muted: #94a3b8;
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(14, 165, 233, 0.2);
    
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.bg-layer {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(to bottom, rgba(2, 6, 23, 0.8), rgba(2, 6, 23, 0.95)),
        url('bg.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
}

.wrapper {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.hero__logo {
    width: clamp(120px, 15vw, 160px);
    height: auto;
    position: relative;
    z-index: 2;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.4) 0%, transparent 70%);
    filter: blur(20px);
    z-index: 1;
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, var(--color-primary-hover) 100%);
    background-clip: text; /* Szabványos tulajdonság a hiba eltüntetéséhez */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.hero__subtitle {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    color: var(--color-text-muted);
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.timer-section {
    width: 100%;
    display: flex;
    justify-content: center;
}

.timer {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--glass-bg);
    padding: 1.75rem 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.timer__block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
}

.timer__value {
    font-size: clamp(2.2rem, 3.5vw, 3.5rem);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #ffffff;
    line-height: 1;
    text-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
}

.timer__label {
    font-size: 0.75rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-top: 0.4rem;
}

.timer__separator {
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    font-weight: 300;
    color: var(--color-text-muted);
    margin-top: -1.2rem;
}

.actions {
    display: flex;
    justify-content: center;
    width: 100%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.9rem 2.2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: rgba(14, 165, 233, 0.1);
    color: var(--color-primary-hover);
    border: 1px solid var(--color-primary);
}

.btn--primary:hover {
    background: var(--color-primary);
    color: var(--color-bg-dark);
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.4);
    transform: translateY(-2px);
}

.btn__icon {
    width: 22px;
    height: 22px;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .wrapper {
        padding: 1.5rem;
        gap: 2rem;
    }

    .timer {
        gap: 0.5rem;
        padding: 1.25rem 1rem;
        border-radius: 16px;
        width: 100%;
        justify-content: space-around;
    }
    
    .timer__block {
        min-width: unset;
    }
    
    .timer__separator {
        margin-top: -1rem;
    }
}