/* ================================================================
   GOLD COAST COMPOUNDS — Age Gate + Login Modal Styles
   Namespace: .gcc-*
   Brand: Black #000000 / Card #0A0A0A / Gold #D4941E
   ================================================================ */


/* ============================================
   SCROLL LOCK (when modal open)
   ============================================ */

body.gcc-modal-open {
    overflow: hidden !important;
}


/* ============================================
   SHARED — Buttons, Spinner, Utility
   ============================================ */

.gcc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
    -webkit-appearance: none;
    appearance: none;
}

.gcc-btn-gold {
    background-color: #D4941E;
    color: #000000;
    border-color: #D4941E;
}

.gcc-btn-gold:hover,
.gcc-btn-gold:focus {
    background-color: #B07A15;
    color: #000000;
    border-color: #B07A15;
    outline: none;
}

.gcc-btn-outline {
    background-color: transparent;
    color: #D4941E;
    border-color: #D4941E;
}

.gcc-btn-outline:hover,
.gcc-btn-outline:focus {
    background-color: #D4941E;
    color: #000000;
    outline: none;
}

.gcc-btn-full {
    width: 100%;
}

.gcc-btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.gcc-btn-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(0,0,0,.3);
    border-top-color: #000;
    border-radius: 50%;
    animation: gcc-spin .7s linear infinite;
}

@keyframes gcc-spin {
    to { transform: rotate(360deg); }
}

.gcc-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}


/* ============================================
   AGE GATE — Overlay & Card
   ============================================ */

.gcc-age-gate-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, .92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: gcc-fade-in .25s ease;
}

@keyframes gcc-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.gcc-age-gate-card {
    background-color: #0A0A0A;
    border: 1px solid rgba(212, 148, 30, .3);
    border-radius: 16px;
    padding: 40px 32px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .8);
    animation: gcc-slide-up .35s cubic-bezier(.22, 1, .36, 1);
}

@keyframes gcc-slide-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.gcc-age-logo {
    max-width: 240px;
    width: 100%;
    height: auto;
    margin: 0 auto 20px;
    display: block;
}

.gcc-age-title {
    color: #D4941E;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 16px;
    line-height: 1.3;
    letter-spacing: .3px;
}

.gcc-age-text {
    color: #FFFFFF;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 28px;
    opacity: .9;
}

.gcc-age-text strong {
    color: #D4941E;
    font-weight: 600;
}

.gcc-age-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.gcc-age-buttons .gcc-btn {
    flex: 1;
    min-width: 140px;
}

.gcc-age-denied {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 148, 30, .2);
}

.gcc-age-denied h3 {
    color: #D44141;
    font-size: 18px;
    margin: 0 0 8px;
}

.gcc-age-denied p {
    color: #FFFFFF;
    opacity: .85;
    font-size: 14px;
    margin: 0;
}


/* ============================================
   LOGIN MODAL — Overlay & Card
   ============================================ */

.gcc-login-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, .85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 999998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: gcc-fade-in .2s ease;
}

.gcc-login-card {
    position: relative;
    background-color: #0A0A0A;
    border: 1px solid rgba(212, 148, 30, .25);
    border-radius: 16px;
    padding: 40px 32px 32px;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .8);
    animation: gcc-slide-up .3s cubic-bezier(.22, 1, .36, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.gcc-login-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background-color: transparent;
    border: none;
    color: #D4941E;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color .15s ease, color .15s ease;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gcc-login-close:hover,
.gcc-login-close:focus {
    background-color: rgba(212, 148, 30, .15);
    color: #FFFFFF;
    outline: none;
}

.gcc-login-logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    margin: 0 auto 24px;
    display: block;
}


/* ============================================
   TABS — Login / Sign Up
   ============================================ */

.gcc-tabs {
    display: flex;
    background-color: #1A1A1A;
    border-radius: 999px;
    padding: 4px;
    margin: 0 0 24px;
    gap: 4px;
}

.gcc-tab {
    flex: 1;
    background-color: transparent;
    border: none;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

.gcc-tab:hover {
    color: #D4941E;
}

.gcc-tab-active {
    background-color: #D4941E;
    color: #000000;
}

.gcc-tab-active:hover {
    color: #000000;
}


/* ============================================
   FORMS
   ============================================ */

.gcc-form {
    display: none;
}

.gcc-form-active {
    display: block;
}

.gcc-field {
    position: relative;
    display: flex;
    align-items: stretch;
    margin-bottom: 14px;
    background-color: #1A1A1A;
    border: 1px solid #333333;
    border-radius: 8px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.gcc-field:focus-within {
    border-color: #D4941E;
    box-shadow: 0 0 0 2px rgba(212, 148, 30, .15);
}

.gcc-field-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    color: #D4941E;
    border-right: 1px solid #333333;
    flex-shrink: 0;
}

.gcc-field input {
    flex: 1;
    background-color: transparent;
    border: none;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 15px;
    padding: 12px 14px;
    outline: none;
    width: 100%;
    min-width: 0;
}

.gcc-field input::placeholder {
    color: #777777;
    opacity: 1;
}

.gcc-field input:-webkit-autofill,
.gcc-field input:-webkit-autofill:hover,
.gcc-field input:-webkit-autofill:focus {
    -webkit-text-fill-color: #FFFFFF;
    -webkit-box-shadow: 0 0 0px 1000px #1A1A1A inset;
    transition: background-color 5000s ease-in-out 0s;
}

.gcc-toggle-pass {
    background-color: transparent;
    border: none;
    color: #777777;
    padding: 0 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color .15s ease;
}

.gcc-toggle-pass:hover,
.gcc-toggle-pass:focus {
    color: #D4941E;
    outline: none;
}

.gcc-toggle-pass.gcc-active {
    color: #D4941E;
}


/* ============================================
   CHECKBOXES & LABELS
   ============================================ */

.gcc-row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 20px;
    flex-wrap: wrap;
    gap: 8px;
}

.gcc-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FFFFFF;
    font-size: 13px;
    cursor: pointer;
    user-select: none;
}

.gcc-checkbox-block {
    display: flex;
    align-items: flex-start;
    margin: 4px 0 18px;
    line-height: 1.5;
}

.gcc-checkbox input[type="checkbox"] {
    accent-color: #D4941E;
    width: 16px;
    height: 16px;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.gcc-checkbox a {
    color: #D4941E;
    text-decoration: underline;
}

.gcc-checkbox a:hover {
    color: #FFFFFF;
}

.gcc-forgot-link {
    color: #D4941E;
    font-size: 13px;
    text-decoration: none;
    font-weight: 500;
}

.gcc-forgot-link:hover {
    color: #FFFFFF;
    text-decoration: underline;
}


/* ============================================
   MESSAGES (success / error)
   ============================================ */

.gcc-message {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 14px;
    background-color: #1A1A1A;
    color: #FFFFFF;
    border-left: 4px solid #D4941E;
}

.gcc-message.gcc-message-error {
    border-left-color: #D44141;
}

.gcc-message.gcc-message-success {
    border-left-color: #34D399;
}


/* ============================================
   SHORTCODE TRIGGER (logged-in state)
   ============================================ */

.gcc-login-shortcode-wrap {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.gcc-logged-in-text {
    color: #FFFFFF;
    font-size: 14px;
}


/* ============================================
   MOBILE
   ============================================ */

@media (max-width: 520px) {
    .gcc-age-gate-card,
    .gcc-login-card {
        padding: 28px 20px 24px;
    }

    .gcc-age-title {
        font-size: 19px;
    }

    .gcc-age-text {
        font-size: 13px;
    }

    .gcc-age-buttons {
        flex-direction: column;
    }

    .gcc-age-buttons .gcc-btn {
        width: 100%;
    }

    .gcc-login-logo {
        max-width: 160px;
        margin-bottom: 20px;
    }

    .gcc-age-logo {
        max-width: 200px;
    }
}
