/* Local Bookman JF Pro Font */
@font-face {
    font-family: 'BookmanJFPro';
    src: url('fonts/BookmanJFPro.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: bold;
    background-color: #332011;
    color: #EDDBC3;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.background {
    position: fixed;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background-image: url('assets/2738037 mini.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    z-index: -1;
    transition: background-image 0.5s ease;
}

.background.loaded {
    background-image: url('assets/2738037.jpg');
}

.container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    position: relative;
}

.brand {
    font-family: 'BookmanJFPro', Georgia, 'Times New Roman', Times, serif;
    font-size: 80px;
    font-weight: bold;
    letter-spacing: 0;
    margin-bottom: 8px;
}

.bear-text {
    font-family: 'BookmanJFPro', Georgia, 'Times New Roman', Times, serif;
}

.tagline {
    font-size: 28px;
    font-weight: normal;
    letter-spacing: 0;
    margin-bottom: 50px;
}

.learn-more-btn {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(237, 219, 195, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: none;
    color: #EDDBC3;
    padding: 11px 27px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.btn-icon {
    display: inline;
    margin-left: 8px;
    transition: transform 0.3s ease;
    vertical-align: text-bottom;
}

.btn-icon img {
    width: 29px;
    height: 29px;
    filter: brightness(0) saturate(100%) invert(84%) sepia(15%) saturate(323%) hue-rotate(344deg) brightness(98%) contrast(90%);
    vertical-align: text-bottom;
    position: relative;
    top: 2px;
}

.btn-text {
    display: inline-flex;
    align-items: center;
}

.learn-more-btn:hover .btn-icon {
    transform: scale(1.1);
}

.learn-more-btn:hover {
    background: rgba(237, 219, 195, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .brand {
        font-size: 60px;
        letter-spacing: 0;
        margin-bottom: 6px;
    }

    .tagline {
        font-size: 20px;
        letter-spacing: 0;
        margin-bottom: 35px;
        line-height: 1.3;
    }

    .learn-more-btn {
        padding: 10px 22px;
        font-size: 14px;
        bottom: 30px;
    }

    .container {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .brand {
        font-size: 45px;
        letter-spacing: 0;
        margin-bottom: 4px;
    }

    .tagline {
        font-size: 16px;
    }

    .learn-more-btn {
        padding: 8px 19px;
        font-size: 12px;
        bottom: 25px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #332011;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background-image: url('assets/2738037 mini.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    z-index: -1;
    transition: background-image 0.5s ease;
}

.modal.loaded::before {
    background-image: url('assets/2738037.jpg');
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(237, 219, 195, 0.15);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(237, 219, 195, 0.2);
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    color: #EDDBC3;
}

.close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    color: #EDDBC3;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.close:hover {
    opacity: 1;
}

.modal-content h2 {
    font-family: 'BookmanJFPro', Georgia, 'Times New Roman', Times, serif;
    font-size: 34px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 0;
    line-height: 1;
    margin-top: 10px;
}

.modal-subtext {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: normal;
    text-align: center;
    margin-bottom: 30px;
    color: rgba(237, 219, 195, 0.9);
    line-height: 1.5;
    padding: 0 10px;
}

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

.form-group input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(237, 219, 195, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(237, 219, 195, 0.3);
    border-radius: 12px;
    color: #EDDBC3;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: rgba(237, 219, 195, 0.5);
    background: rgba(237, 219, 195, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.form-group input::placeholder {
    color: rgba(237, 219, 195, 0.6);
}

.form-group input.error {
    border-color: rgba(255, 99, 99, 0.6);
    background: rgba(255, 99, 99, 0.1);
}

.error-message {
    color: #ff9999;
    font-size: 14px;
    margin-top: 5px;
    margin-left: 5px;
    display: none;
}

.submit-btn {
    width: 100%;
    background: rgba(237, 219, 195, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(237, 219, 195, 0.3);
    color: #EDDBC3;
    padding: 18px 40px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
    margin-top: 10px;
}

.submit-btn:hover {
    background: rgba(237, 219, 195, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Verification Screen Styles */
.verification-text {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    text-align: center;
    font-size: 16px;
    color: rgba(237, 219, 195, 0.8);
    margin-bottom: 30px;
    line-height: 1.5;
}

.verification-input-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.verification-digit {
    width: 50px !important;
    height: 60px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    background: rgba(237, 219, 195, 0.1) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(237, 219, 195, 0.3) !important;
    border-radius: 12px;
    color: #EDDBC3 !important;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    transition: all 0.3s ease;
}

.verification-digit:focus {
    outline: none !important;
    border-color: rgba(237, 219, 195, 0.6) !important;
    background: rgba(237, 219, 195, 0.2) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.verification-digit.error {
    border-color: rgba(255, 99, 99, 0.6) !important;
    background: rgba(255, 99, 99, 0.15) !important;
}

.resend-btn {
    background: transparent;
    border: 1px solid rgba(237, 219, 195, 0.3);
    color: rgba(237, 219, 195, 0.8);
    padding: 12px 24px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin-top: 15px;
    width: 100%;
}

.resend-btn:hover {
    background: rgba(237, 219, 195, 0.1);
    border-color: rgba(237, 219, 195, 0.5);
}

@media (max-width: 768px) {
    .modal-content {
        padding: 30px 25px;
        width: 95%;
    }

    .modal-content h2 {
        font-size: 29px;
        margin-bottom: 18px;
        line-height: 1;
        margin-top: 25px;
    }

    .modal-subtext {
        font-size: 14px;
        margin-bottom: 25px;
        padding: 0 5px;
    }

    .form-group input {
        padding: 14px 18px;
        font-size: 15px;
    }

    .submit-btn {
        padding: 16px 32px;
        font-size: 16px;
    }

    .verification-text {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .verification-digit {
        width: 40px !important;
        height: 50px;
        font-size: 20px;
    }

    .verification-input-container {
        gap: 8px;
    }
}

/* Success Modal Styles */
.success-content {
    text-align: center;
    padding: 50px 40px;
}

.success-icon {
    font-size: 60px;
    margin-bottom: 20px;
    animation: bounce 0.6s ease-out;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.success-content h2 {
    font-family: 'BookmanJFPro', Georgia, 'Times New Roman', Times, serif;
    font-size: 38px;
    margin-bottom: 20px;
    color: #EDDBC3;
    line-height: 1;
    margin-top: 10px;
}

.success-content .verification-text {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.success-content .verification-text:last-of-type {
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .success-content {
        padding: 40px 30px;
    }

    .success-icon {
        font-size: 50px;
        margin-bottom: 15px;
    }

    .success-content h2 {
        font-size: 31px;
        margin-bottom: 15px;
        line-height: 1;
        margin-top: 25px;
    }

    .success-content .verification-text {
        font-size: 16px;
        margin-bottom: 12px;
    }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(237, 219, 195, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #332011;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

@media (max-width: 768px) {
    .notification {
        right: 10px;
        left: 10px;
        text-align: center;
    }
}