/* ===================== */
/* Reset & Body          */
/* ===================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #1a1a1a;
    background: linear-gradient(180deg, #cfe3f0 0%, #e8f0f5 100%);
    min-height: 100vh;
}

body {
    overflow: hidden;
    height: 100vh;
}

/* ===================== */
/* Navbar                */
/* ===================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: #4a5560;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    z-index: 50;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.nav-logo-text {
    font-size: 0.9rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: 0.5px;
}

.nav-login {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
}

.nav-login:hover {
    opacity: 0.85;
}

/* ===================== */
/* Hero Layout           */
/* ===================== */
.hero {
    position: relative;
    margin-top: 64px;
    height: calc(100vh - 64px);
    display: flex;
    align-items: stretch;
    overflow: hidden;
}

.hero-image-wrap {
    flex: 1 1 60%;
    position: relative;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-right {
    flex: 1 1 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 56px 0;
    overflow-y: auto;
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #111;
    line-height: 1.15;
    text-align: center;
    margin-bottom: 32px;
    max-width: 460px;
}

.hero-title .strike {
    text-decoration: line-through;
    text-decoration-thickness: 3px;
    color: #888;
}

/* ===================== */
/* Signup Form Card      */
/* ===================== */
.signup-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 28px 32px;
    width: 100%;
    max-width: 460px;
}

.signup-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 20px;
}

.form-row {
    margin-bottom: 18px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 6px;
}

.form-row label {
    display: block;
    font-size: 0.78rem;
    color: #888;
    margin-bottom: 4px;
    font-weight: 400;
}

.form-row label .info,
.form-row label .eye {
    float: right;
    color: #b0b0b0;
    font-size: 0.95rem;
    cursor: pointer;
}

.form-row select,
.form-row input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.95rem;
    color: #222;
    padding: 4px 0;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.form-row select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 18px;
}

.signup-submit {
    width: 100%;
    padding: 14px 0;
    margin-top: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #ff5f6d, #a045ff);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.15s, box-shadow 0.15s;
}

.signup-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(160, 69, 255, 0.25);
}

/* ===================== */
/* Modal Age Gate        */
/* ===================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 16px;
}

.modal-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
    padding: 56px 64px 40px;
    max-width: 720px;
    width: 100%;
    text-align: center;
    animation: popIn 0.25s ease-out;
}

.modal-question {
    font-size: 1.4rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 36px;
    letter-spacing: 0.2px;
}

.modal-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.modal-btn {
    flex: 1;
    max-width: 280px;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: filter 0.15s, transform 0.15s;
}

.modal-btn-no {
    background: #ececec;
    color: #4a4a4a;
}

.modal-btn-no:hover {
    background: #dedede;
}

.modal-btn-yes {
    background: #5b9bd5;
    color: #fff;
}

.modal-btn-yes:hover {
    background: #4a8ac0;
    transform: translateY(-1px);
}

/* ===================== */
/* Animation             */
/* ===================== */
@keyframes popIn {
    0%   { opacity: 0; transform: scale(0.96); }
    100% { opacity: 1; transform: scale(1); }
}

/* ===================== */
/* SEO Content (details) */
/* ===================== */
details {
    position: absolute;
    z-index: -1;
    opacity: 0;
    pointer-events: none;
}

details summary {
    display: none;
}

article {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    color: #ddd;
    line-height: 1.8;
}

article h1 { font-size: 2rem; margin-bottom: 20px; }
article h2 { font-size: 1.5rem; margin: 32px 0 16px; }
article h3 { font-size: 1.2rem; margin: 24px 0 12px; }
article p  { margin-bottom: 16px; }
article ul, article ol { margin: 16px 0; padding-left: 24px; }
article li { margin-bottom: 8px; }
article blockquote {
    border-left: 3px solid #a045ff;
    padding: 12px 20px;
    margin: 20px 0;
    background: rgba(160, 69, 255, 0.05);
}
article table { width: 100%; border-collapse: collapse; margin: 20px 0; }
article th, article td { padding: 12px; border: 1px solid #ccc; text-align: left; }

/* ===================== */
/* Responsive            */
/* ===================== */
@media screen and (max-width: 900px) {
    .hero {
        flex-direction: column;
        height: auto;
        min-height: calc(100vh - 64px);
    }
    .hero-image-wrap {
        flex: 0 0 240px;
        height: 240px;
    }
    .hero-right {
        padding: 24px 20px 40px;
    }
    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 24px;
    }
}

@media screen and (max-width: 600px) {
    body { overflow: auto; }
    .navbar { padding: 0 16px; }
    .nav-logo-text { font-size: 0.8rem; }
    .modal-card {
        padding: 36px 24px 28px;
    }
    .modal-question {
        font-size: 1.1rem;
        margin-bottom: 24px;
    }
    .modal-buttons {
        flex-direction: column-reverse;
    }
    .modal-btn {
        max-width: none;
        width: 100%;
    }
    .signup-card {
        padding: 22px 20px;
    }
}
