
.age-gate-overlay {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: var(--age-gate-bg);

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 999999;

    opacity: 0;

    animation: fadeIn 0.5s ease-out forwards;

}



@keyframes fadeIn {

    to { opacity: 1; }

}



.age-gate-content {

    text-align: center;

    max-width: 600px;

    padding: 60px 40px;

    background: rgba(255, 255, 255, 0.03);

    border-radius: 24px;

    backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, 0.1);

}



@keyframes slideUp {

    from {

        transform: translateY(30px);

        opacity: 0;

    }

    to {

        transform: translateY(0);

        opacity: 1;

    }

}



.age-gate-logo {

    max-width: 180px;

    height: auto;

    margin-bottom: 30px;


}



@keyframes logoFloat {

    0%, 100% { transform: translateY(0); }

    50% { transform: translateY(-10px); }

}



.age-gate-heading {

    color: var(--age-gate-text);

    font-size: 2.5rem;

    font-weight: 700;

    margin: 0 0 20px 0;

    letter-spacing: -0.02em;

}



.age-gate-description {

    color: var(--age-gate-text);

    opacity: 0.8;

    font-size: 1.1rem;

    line-height: 1.6;

    margin: 0 0 40px 0;

}



.age-gate-buttons {

    display: flex;

    gap: 16px;

    margin-bottom: 30px;

    flex-wrap: wrap;

    justify-content: center;

}



.age-gate-btn {

    flex: 1;

    min-width: 200px;

    padding: 18px 32px;

    font-size: 1rem;

    font-weight: 600;

    border: 2px solid transparent;

    border-radius: 12px;

    cursor: pointer;

    transition: all 0.3s ease;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    position: relative;

    overflow: hidden;

}



.age-gate-btn::before {

    content: '';

    position: absolute;

    top: 50%;

    left: 50%;

    width: 0;

    height: 0;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.1);

    transform: translate(-50%, -50%);

    transition: width 0.6s, height 0.6s;

}



.age-gate-btn:hover::before {

    width: 300px;

    height: 300px;

}



.btn-icon {

    font-size: 1.3rem;

    position: relative;

    z-index: 1;

}



.age-gate-btn-yes {

    background: var(--age-gate-accent);

    color: white;

    border-color: var(--age-gate-accent);

}



.age-gate-btn-yes:hover {

    background: var(--age-gate-accent);

    transform: translateY(-2px);

    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);

}



.age-gate-btn-no {

    background: rgba(239, 68, 68, 0.1);

    color: #ef4444;

    border-color: rgba(239, 68, 68, 0.3);

}



.age-gate-btn-no:hover {

    background: rgba(239, 68, 68, 0.2);

    border-color: #ef4444;

    transform: translateY(-2px);

}



.age-gate-remember {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    color: var(--age-gate-text);

    opacity: 0.7;

    cursor: pointer;

    font-size: 0.95rem;

    transition: opacity 0.3s ease;

    position: relative;

    padding-left: 32px;

}



.age-gate-remember:hover {

    opacity: 1;

}



.age-gate-remember input[type="checkbox"] {

    position: absolute;

    opacity: 0;

    cursor: pointer;

    height: 0;

    width: 0;

}



.checkmark {

    position: absolute;

    left: 0;

    height: 22px;

    width: 22px;

    background-color: rgb(0 0 0);

    border: 2px solid rgb(0 0 0);

    border-radius: 6px;

    transition: all 0.3s ease;

}



.age-gate-remember:hover .checkmark {

    background-color: rgba(255, 255, 255, 0.15);

    border-color: var(--age-gate-accent);

}



.age-gate-remember input:checked ~ .checkmark {

    background-color: var(--age-gate-accent);

    border-color: var(--age-gate-accent);

}



.checkmark::after {

    content: "";

    position: absolute;

    display: none;

    left: 6px;

    top: 2px;

    width: 5px;

    height: 10px;

    border: solid white;

    border-width: 0 2px 2px 0;

    transform: rotate(45deg);

}



.age-gate-remember input:checked ~ .checkmark::after {

    display: block;

}



.age-gate-denied {

    text-align: center;

    color: var(--age-gate-text);

}



.age-gate-denied h2 {

    font-size: 2rem;

    margin-bottom: 16px;

    color: #ef4444;

}



@media (max-width: 640px) {

    .age-gate-content {

        padding: 40px 24px;

        margin: 20px;

    }

    

    .age-gate-heading {

        font-size: 2rem;

    }

    

    .age-gate-buttons {

        flex-direction: column;

    }

    

    .age-gate-btn {

        min-width: 100%;

    }

}
