/*
Theme Name: CultureBets
Description: Custom WordPress theme for CultureBets - A next-generation betting content & culture platform
Version: 2.9
Author: CultureBets Team
*/

/* ==========================================================================
   CSS RESET & BASE STYLES
   ========================================================================== */

/* Mobile Viewport Height Fix
   The --vh custom property is set by JavaScript to handle mobile browser
   address bar viewport height inconsistencies. Use calc(var(--vh, 1vh) * 100)
   instead of 100vh for better mobile compatibility.
   ========================================================================== */

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

html {
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: #ffffff;
    color: #000000;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    overflow: hidden;
    background-image: 
      linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Ensure mobile viewport handling */
@media (max-width: 768px) {
    body {
        min-height: 100vh;
        min-height: -webkit-fill-available;
        position: relative;
    }
    
    html {
        height: -webkit-fill-available;
    }
    
    /* Mobile modal viewport fixes */
    #registration-modal.show {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: calc(var(--vh, 1vh) * 100) !important;
    }
    
    /* Prevent zoom on input focus - mobile optimization */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select {
        font-size: 16px !important; /* Prevents zoom on iOS */
        -webkit-user-select: text;
        user-select: text;
    }
    
    /* Improve touch scrolling */
    .modal-content {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* Legal links mobile styles */
    .legal-links {
        margin-top: 1.5rem;
        font-size: 0.7rem;
    }
    
    .legal-separator {
        margin: 0 0.5rem;
    }
}

/* Typography */
h1.site-title,
.coming-soon-title {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 96px;
    font-weight: 300;
    letter-spacing: 14.4px;
    text-transform: uppercase;
    text-align: center;
    line-height: 96px;
    display: block;
    color: rgb(0, 0, 0);
}

/* ==========================================================================
   COMING SOON PAGE STYLES
   ========================================================================== */

.coming-soon-page {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.coming-soon-container {
    text-align: center;
    max-width: 700px;
    width: 100%;
    z-index: 10;
}

.coming-soon-logo {
    margin-bottom: 30px;
    display: block;
}

.coming-soon-logo img {
    max-width: 100%;
    height: auto;
    width: 600px;
    display: inline-block;
}

.coming-soon-title {
    margin-bottom: 1.5rem;
    text-shadow: none;
    margin-bottom: 64px;
}

.coming-soon-subtitle {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 48px;
    font-weight: 600;
    line-height: 48px;
    letter-spacing: -1.2px;
    text-align: center;
    color: rgb(0, 0, 0);
    margin-bottom: 32px;
}

.coming-soon-description {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: 0.6px;
    text-align: center;
    color: rgb(0, 0, 0);
    margin-block-end: 48px;
    margin-bottom: 48px;
}

.coming-soon-btn {
    background: #000000;
    color: #ffffff;
    border: none;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 3rem;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    box-shadow: none;
    text-decoration: none;
    display: inline-block;
}

.coming-soon-btn:hover {
    background: #333333;
    transform: translateY(-1px);
}

.coming-soon-btn:active {
    transform: translateY(0);
}

.coming-soon-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.legal-links {
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 0.75rem;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.legal-link {
    color: rgba(0, 0, 0, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 400;
}

.legal-link:hover {
    color: rgba(0, 0, 0, 0.8);
    text-decoration: underline;
}

.legal-separator {
    margin: 0 0.75rem;
    color: rgba(0, 0, 0, 0.3);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: none;
}

.social-link:hover {
    transform: translateY(-2px);
}

.social-link img {
    width: 24px;
    height: 24px;
    filter: none;
}

/* Instagram icon - black */
.social-link:nth-child(1) img {
    filter: brightness(0);
}

/* TikTok icon - keep original colors (red/black) */
.social-link:nth-child(2) img {
    filter: none;
}

/* YouTube icon - keep original red color */
.social-link:nth-child(3) img {
    filter: none;
}

/* X (Twitter) icon - black */
.social-link:nth-child(4) img {
    filter: brightness(0);
}

/* Twitch icon - keep original purple */
.social-link:nth-child(5) img {
    filter: none;
}

/* Snapchat icon - black for better visibility on white background */
.social-link:nth-child(6) img {
    filter: none;
}

/* Mobile responsive adjustments */
@media (max-width: 480px) {
    .coming-soon-social {
        gap: 1rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link img {
        width: 20px;
        height: 20px;
    }
}

/* ==========================================================================
   MODAL STYLES
   ========================================================================== */

#registration-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    height: calc(var(--vh, 1vh) * 100);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    box-sizing: border-box;
}

#registration-modal.show {
    display: flex !important;
}

.modal-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 0;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px 16px 32px;
    border-bottom: none;
}

.modal-header h2 {
    color: #000000;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #000000;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s ease;
    font-weight: 300;
    text-decoration: none;
}

.modal-close:hover {
    background: #f0f0f0;
}

    .modal-body {
        padding: 0 32px 32px 32px;
        background: transparent;
        max-height: calc(100% - 80px); /* Account for header */
        overflow-y: auto;
    }

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #000000;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    background: #ffffff;
    color: #000000;
    font-size: 1rem;
    transition: border-color 0.2s ease;
    font-family: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus {
    outline: none;
    border-color: #000000;
}

.form-group input[type="text"]::placeholder,
.form-group input[type="email"]::placeholder,
.form-group input[type="tel"]::placeholder {
    color: #a0a0a0;
}

/* Custom dropdown arrow */
.form-group select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

/* Date input wrapper with flatpickr */
.date-input-wrapper {
    position: relative;
    width: 100%;
}

/* Date input styling for flatpickr */
.date-input-wrapper input[type="text"] {
    width: 100%;
    height: 48px;
    padding: 12px 16px 12px 40px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    background: #ffffff;
    color: #000000;
    font-size: 1rem;
    line-height: 1.4;
    transition: border-color 0.2s ease;
    font-family: inherit;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3e%3c/rect%3e%3cline x1='16' y1='2' x2='16' y2='6'%3e%3c/line%3e%3cline x1='8' y1='2' x2='8' y2='6'%3e%3c/line%3e%3cline x1='3' y1='10' x2='21' y2='10'%3e%3c/line%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 12px center;
    background-size: 16px;
    box-sizing: border-box;
    cursor: pointer;
}

.date-input-wrapper input[type="text"]:focus {
    outline: none;
    border-color: #000000;
}

.date-input-wrapper input[type="text"]::placeholder {
    color: #a0a0a0;
}

/* ==========================================================================
   FLATPICKR CUSTOM STYLING
   ========================================================================== */

/* Flatpickr calendar container */
.flatpickr-calendar {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    font-family: inherit;
}

/* Flatpickr header */
.flatpickr-months {
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
}

.flatpickr-month {
    color: #000000;
    font-weight: 600;
}

.flatpickr-prev-month,
.flatpickr-next-month {
    color: #666666;
    transition: color 0.2s ease;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
    color: #000000;
}

/* Flatpickr days */
.flatpickr-day {
    color: #000000;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.4;
    transition: all 0.2s ease;
}

.flatpickr-day:hover {
    background: #f5f5f5;
    color: #000000;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

.flatpickr-day.today {
    border: 1px solid #000000;
    background: transparent;
    color: #000000;
}

.flatpickr-day.today:hover {
    background: #f5f5f5;
}

.flatpickr-day.disabled,
.flatpickr-day.disabled:hover {
    color: #cccccc;
    background: transparent;
    cursor: not-allowed;
}

/* Flatpickr weekdays */
.flatpickr-weekday {
    color: #666666;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile-centered flatpickr calendar */
.flatpickr-calendar.flatpickr-mobile-centered {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 90vw !important;
    max-width: 320px !important;
    z-index: 99999 !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3) !important;
    font-size: 16px !important; /* Prevent zoom on iOS */
}

.flatpickr-calendar.flatpickr-mobile-centered::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* Mobile flatpickr adjustments */
@media (max-width: 768px) {
    .flatpickr-calendar {
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .flatpickr-calendar.open {
        display: block !important;
    }
    
    /* Mobile flatpickr day cells */
    .flatpickr-calendar.flatpickr-mobile-centered .flatpickr-day {
        height: 44px !important;
        line-height: 44px !important;
        font-size: 16px !important;
        width: 44px !important;
    }
    
    /* Mobile month navigation */
    .flatpickr-calendar.flatpickr-mobile-centered .flatpickr-prev-month,
    .flatpickr-calendar.flatpickr-mobile-centered .flatpickr-next-month {
        padding: 12px !important;
        font-size: 18px !important;
    }
    
    /* Mobile month/year selector */
    .flatpickr-calendar.flatpickr-mobile-centered .flatpickr-current-month {
        padding: 12px 0 !important;
        font-size: 16px !important;
    }
    
    /* Mobile weekdays header */
    .flatpickr-calendar.flatpickr-mobile-centered .flatpickr-weekday {
        font-size: 14px !important;
        height: 36px !important;
        line-height: 36px !important;
    }
    
    /* Ensure mobile overlay doesn't interfere */
    .flatpickr-mobile {
        display: none !important;
    }
}


.form-group small {
    display: block;
    margin-top: 5px;
    color: #666666;
    font-size: 0.9rem;
}

.checkbox-container {
    display: flex !important;
    align-items: flex-start;
    cursor: pointer;
    line-height: 1.4;
    gap: 8px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 16px;
    height: 16px;
    border: 1px solid #ccc;
    border-radius: 2px;
    position: relative;
    background: #ffffff;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-top: 2px;
    display: block !important;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: #000000;
    border-color: #000000;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 0px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    display: block;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.875rem;
    color: #000000;
    font-weight: 400;
    line-height: 1.4;
}

.checkbox-text {
    flex: 1;
    line-height: 1.4;
    font-weight: bold;
    text-transform: uppercase;
}

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

.checkbox-text a:hover {
    text-decoration: none;
}

.signup-btn {
    width: 100%;
    background: #000000;
    color: #ffffff;
    border: none;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 18px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.signup-btn:hover {
    background: #333333;
    transform: translateY(-1px);
}

.signup-btn:active {
    transform: translateY(0);
}

.full-width {
    width: 100%;
    margin-top: 10px;
}

/* Registration Success Message */
.registration-success {
    text-align: center;
    padding: 40px 20px;
    background: transparent;
}

.registration-success h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #000000;
    font-weight: 700;
}

.registration-success p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666666;
    margin-bottom: 2rem;
}

.registration-success .signup-btn {
    max-width: 200px;
    margin: 0 auto;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* Large tablets and small laptops */
@media (max-width: 1024px) {
    .coming-soon-page {
        padding: 15px;
    }
    
    .coming-soon-logo img {
        width: 500px;
    }
    
    .coming-soon-subtitle {
        font-size: 40px;
        margin-bottom: 24px;
    }
    
    .coming-soon-description {
        font-size: 20px;
        margin-bottom: 36px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .coming-soon-page {
        padding: 10px;
        height: 100vh;
        height: calc(var(--vh, 1vh) * 100);
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }
    
    .coming-soon-container {
        max-width: 90%;
        margin: 0 auto;
    }
    
    .coming-soon-title {
        font-size: 3rem;
    }
    
    .coming-soon-logo {
        margin-bottom: 20px;
    }
    
    .coming-soon-logo img {
        width: 350px;
    }
    
    .coming-soon-subtitle {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    
    .coming-soon-description {
        font-size: 18px;
        line-height: 1.4;
        margin-bottom: 32px;
        padding: 0 20px;
    }
    
    .coming-soon-btn {
        padding: 14px 28px;
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
    }
    
    .modal-content {
        margin: 15px auto;
        max-width: 95vw;
        max-height: 85vh;
        overflow-y: auto;
        position: relative;
    }
    
    .modal-header {
        padding: 20px 20px 12px 20px;
    }
    
    .modal-header h2 {
        font-size: 1.75rem;
    }
    
    .modal-body {
        padding: 0 20px 24px 20px;
        max-height: calc(100% - 70px);
        overflow-y: auto;
    }
    
    .form-group {
        margin-bottom: 16px;
    }
    
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group select {
        padding: 12px 14px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .date-input-wrapper input[type="text"] {
        padding: 12px 14px 12px 36px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .signup-btn {
        padding: 12px 24px;
        margin-top: 16px;
    }

    .registration-success {
        padding: 30px 15px;
    }
    
    .registration-success h3 {
        font-size: 1.5rem;
    }
    
    .registration-success p {
        font-size: 0.95rem;
    }
}

/* Large phones */
@media (max-width: 600px) {
    .coming-soon-page {
        padding: 10px;
        align-items: center;
        justify-content: center;
    }
    
    .coming-soon-logo img {
        width: 280px;
    }
    
    .coming-soon-subtitle {
        font-size: 24px;
        margin-bottom: 16px;
    }
    
    .coming-soon-description {
        font-size: 16px;
        margin-bottom: 24px;
        padding: 0 10px;
    }
    
    .modal-content {
        margin: 10px auto;
        max-width: 95vw;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 15px 15px 10px 15px;
    }
    
    .modal-body {
        padding: 0 15px 20px 15px;
        max-height: calc(100% - 60px);
        overflow-y: auto;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .coming-soon-page {
        padding: 5px;
        align-items: center;
        justify-content: center;
        height: 100vh;
        height: calc(var(--vh, 1vh) * 100);
        overflow: hidden;
    }
    
    .coming-soon-container {
        max-width: 100%;
        padding: 0 10px;
        margin: 0 auto;
        max-height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .coming-soon-title {
        font-size: 2.5rem;
    }
    
    .coming-soon-logo {
        margin-bottom: 15px;
    }
    
    .coming-soon-logo img {
        width: 250px;
    }
    
    .coming-soon-subtitle {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 12px;
    }
    
    .coming-soon-description {
        font-size: 14px;
        line-height: 1.3;
        margin-bottom: 20px;
        padding: 0 5px;
    }
    
    .coming-soon-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .coming-soon-social {
        gap: 1rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link img {
        width: 20px;
        height: 20px;
    }
    
    /* Enhanced mobile modal styles - Better Design */
    #registration-modal {
        padding: 12px;
        align-items: flex-start;
        justify-content: center;
        padding-top: 2vh;
        padding-top: calc(var(--vh, 1vh) * 2);
    }
    
    .modal-content {
        margin: 0 auto;
        max-width: 100vw;
        max-height: 92vh;
        max-height: calc(var(--vh, 1vh) * 92);
        width: calc(100vw - 24px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 10px;
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    }
    
    .modal-header {
        padding: 14px 16px 10px 16px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
        line-height: 1.2;
        font-weight: 600;
        margin: 0;
    }
    
    .modal-close {
        font-size: 28px;
        width: 36px;
        height: 36px;
    }
    
    .modal-body {
        padding: 18px 16px 20px 16px;
        max-height: calc(100% - 70px);
        overflow-y: auto;
    }
    
    .form-group {
        margin-bottom: 14px;
    }
    
    .form-group label {
        font-size: 0.875rem;
        margin-bottom: 6px;
        font-weight: 600;
        color: #333;
    }
    
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group select {
        padding: 12px 14px;
        font-size: 16px; /* Prevent zoom on iOS */
        height: 46px;
        border: 2px solid #e0e0e0;
        border-radius: 6px;
        transition: border-color 0.2s ease;
    }
    
    .form-group input[type="text"]:focus,
    .form-group input[type="email"]:focus,
    .form-group input[type="tel"]:focus,
    .form-group select:focus {
        border-color: #000000;
        outline: none;
    }
    
    .date-input-wrapper input[type="text"] {
        padding: 12px 14px 12px 42px;
        font-size: 16px; /* Prevent zoom on iOS */
        height: 48px;
        border: 2px solid #e0e0e0;
        border-radius: 6px;
    }
    
    .checkbox-container {
        font-size: 0.875rem;
        line-height: 1.4;
        margin-bottom: 12px;
        padding: 6px 0;
    }
    
    .checkbox-wrapper {
        gap: 10px;
        font-size: 0.875rem;
    }
    
    .signup-btn {
        padding: 14px 24px;
        font-size: 0.9rem;
        margin-top: 14px;
        height: 48px;
        border-radius: 6px;
        font-weight: 600;
    }
}

/* Pixel 6 and similar devices */
@media (max-width: 420px) and (min-width: 376px) {
    .coming-soon-logo img {
        width: 240px;
    }
    
    .coming-soon-subtitle {
        font-size: 22px;
    }
    
    .coming-soon-description {
        font-size: 15px;
    }
    
    /* Optimized modal for Pixel 6 - Better Design */
    #registration-modal {
        padding: 8px;
        padding-top: 2vh;
        padding-top: calc(var(--vh, 1vh) * 2);
        align-items: flex-start;
    }
    
    .modal-content {
        max-height: 94vh;
        max-height: calc(var(--vh, 1vh) * 94);
        width: calc(100vw - 16px);
        border-radius: 8px;
        margin: 0 auto;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    }
    
    .modal-header {
        padding: 12px 16px 8px 16px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .modal-header h2 {
        font-size: 1.4rem;
        line-height: 1.2;
        margin: 0;
        font-weight: 600;
    }
    
    .modal-close {
        font-size: 26px;
        width: 32px;
        height: 32px;
    }
    
    .modal-body {
        padding: 16px 16px 20px 16px;
        max-height: calc(100% - 70px);
        overflow-y: auto;
    }
    
    .form-group {
        margin-bottom: 14px;
    }
    
    .form-group label {
        font-size: 0.875rem;
        margin-bottom: 6px;
        font-weight: 600;
        color: #333;
    }
    
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group select {
        padding: 12px 14px;
        height: 46px;
        border: 2px solid #e0e0e0;
        border-radius: 6px;
        font-size: 16px;
        transition: border-color 0.2s ease;
    }
    
    .form-group input[type="text"]:focus,
    .form-group input[type="email"]:focus,
    .form-group input[type="tel"]:focus,
    .form-group select:focus {
        border-color: #000000;
        outline: none;
    }
    
    .date-input-wrapper input[type="text"] {
        padding: 12px 14px 12px 40px;
        height: 46px;
        border: 2px solid #e0e0e0;
        border-radius: 6px;
    }
    
    .checkbox-container {
        font-size: 0.875rem;
        margin-bottom: 12px;
        line-height: 1.4;
        padding: 8px 0;
    }
    
    .checkbox-wrapper {
        gap: 10px;
        font-size: 0.875rem;
    }
    
    .form-group small {
        font-size: 0.8rem;
        margin-top: 4px;
        color: #666;
    }
    
    .signup-btn {
        height: 48px;
        margin-top: 16px;
        padding: 12px 24px;
        font-size: 0.9rem;
        border-radius: 6px;
        font-weight: 600;
    }
}

/* Very small phones */
@media (max-width: 375px) {
    .coming-soon-logo img {
        width: 220px;
    }
    
    .coming-soon-subtitle {
        font-size: 18px;
    }
    
    .coming-soon-description {
        font-size: 13px;
    }
    
    .coming-soon-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    /* Compact modal for very small screens - Better Design */
    #registration-modal {
        padding: 6px;
        padding-top: 1vh;
        padding-top: calc(var(--vh, 1vh) * 1);
    }
    
    .modal-content {
        margin: 0 auto;
        max-width: 100vw;
        max-height: 96vh;
        max-height: calc(var(--vh, 1vh) * 96);
        width: calc(100vw - 12px);
        border-radius: 6px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    }
    
    .modal-header {
        padding: 8px 12px 6px 12px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .modal-header h2 {
        font-size: 1.2rem;
        line-height: 1.2;
        font-weight: 600;
        margin: 0;
    }
    
    .modal-close {
        font-size: 22px;
        width: 28px;
        height: 28px;
    }
    
    .modal-body {
        padding: 12px 12px 16px 12px;
        max-height: calc(100% - 60px);
        overflow-y: auto;
    }
    
    .form-group {
        margin-bottom: 10px;
    }
    
    .form-group label {
        font-size: 0.8rem;
        margin-bottom: 4px;
        font-weight: 600;
        color: #333;
    }
    
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"],
    .form-group select {
        padding: 5px 12px;
        height: 30px;
        border: 2px solid #e0e0e0;
        border-radius: 4px;
        font-size: 15px;
        transition: border-color 0.2s ease;
    }
    
    .form-group input[type="text"]:focus,
    .form-group input[type="email"]:focus,
    .form-group input[type="tel"]:focus,
    .form-group select:focus {
        border-color: #000000;
        outline: none;
    }
    
    .date-input-wrapper input[type="text"] {
        padding: 10px 12px 10px 36px;
        height: 40px;
        border: 2px solid #e0e0e0;
        border-radius: 4px;
    }
    
    .checkbox-container {
        font-size: 0.8rem;
        margin-bottom: 10px;
        line-height: 1.3;
        padding: 6px 0;
    }
    
    .checkbox-wrapper {
        gap: 8px;
        font-size: 0.8rem;
    }
    
    .form-group small {
        font-size: 0.75rem;
        margin-top: 3px;
        color: #666;
    }
    
    .signup-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
        height: 42px;
        margin-top: 12px;
        border-radius: 4px;
        font-weight: 600;
    }
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.coming-soon-btn:focus,
.social-link:focus,
.modal-close:focus,
input:focus {
    outline: 2px solid #000000;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .coming-soon-page {
        background: #ffffff;
        color: #000000;
    }
    
    .coming-soon-btn {
        background: #000000;
        color: #ffffff;
        border: 2px solid #000000;
    }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.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;
} 