/**
 * Kinky Circle - Age Gate Modal Styles
 * Version: 1.0.1
 * Date: 2026-01-28
 *
 * iOS-optimierte Styles für Age Verification Popup
 */

/* Age Gate Modal Base */
.age-gate-modal {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.age-gate-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    animation: ageGateFadeIn 0.3s ease-out;
}

@keyframes ageGateFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Age Gate Content */
.age-gate-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid rgba(139, 0, 0, 0.3);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: ageGateSlideUp 0.4s ease-out;
}

@keyframes ageGateSlideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Age Gate Logo */
.age-gate-logo {
    margin-bottom: 20px;
}

.age-gate-logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(139, 0, 0, 0.5);
}

/* Age Gate Headings */
.age-gate-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.age-gate-content > p {
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 15px;
}

.age-gate-question {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 25px 0;
}

/* Age Gate Buttons */
.age-gate-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 25px 0;
}

.age-gate-btn {
    padding: 18px 32px;
    font-size: 17px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    min-width: 44px;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    -webkit-touch-callout: none;
}

/* iOS Active State */
.age-gate-btn:active {
    transform: scale(0.97);
}

.age-gate-yes {
    background: linear-gradient(135deg, #8B0000 0%, #a52a2a 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

.age-gate-yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 0, 0, 0.4);
}

.age-gate-yes:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 2px 10px rgba(139, 0, 0, 0.3);
}

.age-gate-no {
    background: #2c2c2c;
    color: #e0e0e0;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.age-gate-no:hover {
    background: #3a3a3a;
    transform: translateY(-2px);
}

.age-gate-no:active {
    transform: translateY(0) scale(0.97);
    background: #404040;
}

/* iOS Icon Optimization */
.age-gate-btn i {
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Age Gate Legal Text */
.age-gate-legal {
    font-size: 12px;
    color: #888;
    margin-top: 20px;
    line-height: 1.5;
}

/* Age Gate Error */
.age-gate-error {
    padding: 12px 15px;
    background: rgba(220, 20, 60, 0.2);
    border: 1px solid rgba(220, 20, 60, 0.5);
    border-radius: 8px;
    color: #ff6b6b;
    font-size: 14px;
    margin-bottom: 15px;
    text-align: center;
}

.age-gate-error-hidden {
    display: none;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .age-gate-content {
        padding: 30px 20px;
        margin: 16px;
        width: calc(100% - 32px);
    }

    .age-gate-content h2 {
        font-size: 24px;
    }

    .age-gate-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .age-gate-btn {
        width: 100%;
        justify-content: center;
        min-height: 56px;
        padding: 20px 24px;
        font-size: 18px;
        position: relative;
        z-index: 1;
    }

    /* iOS Mobile Icon Size */
    .age-gate-btn i {
        font-size: 20px;
    }
}

/* iOS-Specific Optimizations */
@media (max-width: 600px) and (max-height: 900px) {
    .age-gate-content {
        max-height: 90vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}
