* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(ellipse at center, #2b5a9e 0%, #1a4580 50%, #0d2d5a 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

h1 {
    color: white;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.counter {
    /*background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    */
    padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 5vw, 3rem);
    margin-bottom: 2rem;
    width: 100%;
    max-width: 650px;
    text-align: center;
    overflow: hidden;
}

#number {
    font-size: clamp(1.8rem, 5vw, 4rem);
    font-weight: bold;
    color: #eb822c;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    display: inline-block;
}

.tabs-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 800px;
    padding: 0 0.5rem;
}

.tab {
    background: white;
    padding: 1.2rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.tab:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    background: #f0f0f0;
}

.tab-title {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    font-weight: bold;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.tab-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: #333;
    line-height: 1.6;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.tab.active .tab-content {
    max-height: 500px;
    margin-top: 1rem;
}

.tab.active {
    background: #f8f9ff;
}

/* Tablet és kisebb */
@media (max-width: 768px) {
    body {
        padding: 1rem 0.5rem;
    }

    .counter {
        margin-bottom: 1.5rem;
        padding: clamp(1.5rem, 4vw, 2rem) clamp(1rem, 3vw, 2rem);
    }

    .tabs-container {
        gap: 0.8rem;
    }

    .tab {
        padding: 1rem 1.2rem;
    }

    .tab:hover {
        transform: translateX(3px);
    }
}

/* Mobil */
@media (max-width: 480px) {
    h1 {
        margin-bottom: 1.5rem;
    }

    .counter {
        padding: 1.5rem 0.8rem;
        border-radius: 15px;
    }

    #number {
        font-size: clamp(1.5rem, 4.5vw, 2rem);
    }

    .tab {
        padding: 1rem;
        border-radius: 8px;
    }

    .tab:hover {
        transform: none;
    }

    .tab:active {
        transform: scale(0.98);
    }
}