* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
    background:
        linear-gradient(rgba(0,0,0,0.65),
        rgba(0,0,0,0.65)),
        url("images/bg.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.overlay {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(10px);
}

.age-modal {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 90%;
    max-width: 600px;
}

.circle {
    width: 100px;
    height: 100px;
    border: 2px solid #b97a2d;
    border-radius: 50%;
    margin: 0 auto 35px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle span {
    font-size: 42px;
    color: #d8a157;
    font-weight: 300;
}

h1 {
    font-size: 60px;
    font-weight: 300;
    margin-bottom: 10px;
}

.subtitle {
    color: #d8a157;
    letter-spacing: 3px;
    font-size: 18px;
    margin-bottom: 25px;
}

.line {
    width: 80px;
    height: 2px;
    background: #b97a2d;
    margin: 0 auto 35px;
}

.text {
    font-size: 20px;
    color: #d4d4d4;
    line-height: 1.6;
    margin-bottom: 20px;
}

h3 {
    font-size: 32px;
    margin-bottom: 35px;
    font-weight: 500;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

button {
    border: none;
    padding: 18px 35px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

.yes-btn {
    background: #c46d18;
    color: white;
}

.yes-btn:hover {
    background: #db7f21;
}

.no-btn {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.no-btn:hover {
    background: rgba(255,255,255,0.1);
}

.main_logo {
    margin-left: auto;
    margin-right: auto;
    max-width: 60%;
    height: auto;
    display: block;
}


#loading-screen{
    position:fixed;
    inset:0;
    background:#111;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:999999;

    opacity:0;
    visibility:hidden;

    transition:.4s;
}

#loading-screen.show{
    opacity:1;
    visibility:visible;
}

.loader{
    text-align:center;
    color:#fff;
}

.spinner{

    width:70px;
    height:70px;

    border-radius:50%;

    border:4px solid rgba(255,255,255,.15);

    border-top:4px solid #c59b45;

    animation:spin .8s linear infinite;

    margin:auto;

}

@keyframes spin{

    from{
        transform:rotate(0deg);
    }

    to{
        transform:rotate(360deg);
    }

}

.loader h4{
    margin-top:25px;
    letter-spacing:1px;
}


.countdown-section {
    background: #f4efe4;
    padding: 80px 20px;
}

.countdown-title {
    text-align: center;
    color: #29251f;
    font-weight: 700;
    margin-bottom: 40px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.countdown-box {
    text-align: center;
}

.paper {
    width: 130px;
    height: 150px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    background: #fffdf7;

    color: #29251f;

    font-family: "Courier New", monospace;
    font-size: 65px;
    font-weight: bold;

    border-left: 5px solid #e5ddce;
    border-radius: 4px;

    box-shadow:
        0 4px 0 #d5cdbc,
        0 10px 20px rgba(0,0,0,.15);

    overflow: hidden;
}


/* középső vonal */

.paper::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    top: 50%;

    height: 2px;

    background: rgba(0,0,0,.12);
}


/* lapozás */

.paper.flip {
    animation: flipPaper .45s ease;
}

@keyframes flipPaper {

    0% {
        transform: rotateX(0deg);
    }

    50% {
        transform: rotateX(-90deg);
    }

    100% {
        transform: rotateX(0deg);
    }

}


.countdown-box span {

    display: block;

    margin-top: 15px;

    color: #5b554c;

    font-size: 13px;
    font-weight: bold;

    letter-spacing: 3px;
}


/* mobil */

@media (max-width: 600px) {

    .countdown {
        gap: 12px;
    }

    .paper {
        width: 75px;
        height: 90px;
        font-size: 38px;
    }

    .countdown-box span {
        font-size: 9px;
        letter-spacing: 1px;
    }

}