/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #000000;
    color: #FFFFFF;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Screen Management */
.screen {
    display: none;
    min-height: 100vh;
    padding: 20px;
}

.screen.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
    color: #FF1493;
    text-shadow: 2px 2px 4px rgba(255, 20, 147, 0.3);
    white-space: nowrap;
}

h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 20px;
    color: #00BFFF;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Form Styles */
.form-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 1rem;
    transition: all 0.3s;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus {
    outline: none;
    border-color: #00BFFF;
    background: rgba(255, 255, 255, 0.15);
}

input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

label {
    display: block;
    margin-bottom: 8px;
    color: #FF1493;
    font-weight: 500;
}

.name-input {
    margin-bottom: 20px;
}

/* Button Styles */
.btn {
    width: 100%;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-height: 50px;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, #00BFFF, #1E90FF);
    color: #FFFFFF;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1E90FF, #00BFFF);
    box-shadow: 0 5px 15px rgba(0, 191, 255, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #00FF00, #32CD32);
    color: #000000;
}

.btn-success:hover {
    background: linear-gradient(135deg, #32CD32, #00FF00);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #FF0000, #DC143C);
    color: #FFFFFF;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #DC143C, #FF0000);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

/* Links */
.link {
    text-align: center;
    color: #00BFFF;
    cursor: pointer;
    margin-top: 15px;
    font-size: 0.95rem;
    text-decoration: underline;
}

.link:hover {
    color: #1E90FF;
}

/* Messages */
.message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.message.error {
    background: rgba(255, 0, 0, 0.2);
    border: 2px solid #FF0000;
    color: #FF6B6B;
    display: block;
}

.message.success {
    background: rgba(0, 255, 0, 0.2);
    border: 2px solid #00FF00;
    color: #90EE90;
    display: block;
}

.message.info {
    background: rgba(0, 191, 255, 0.2);
    border: 2px solid #00BFFF;
    color: #87CEEB;
    display: block;
}

/* Disclaimer Screen */
.disclaimer-content {
    background: rgba(255, 0, 0, 0.1);
    padding: 30px;
    border-radius: 15px;
    border: 3px solid #FF0000;
    margin-bottom: 30px;
}

.disclaimer-content ul {
    margin: 20px 0 20px 30px;
}

.disclaimer-content li {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.dare-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFD700;
    text-align: center;
    margin-top: 25px;
    margin-bottom: 0;
}

/* Credits Screen */
.credits-info {
    text-align: center;
    background: rgba(255, 20, 147, 0.1);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #FF1493;
    margin-bottom: 30px;
}

.highlight {
    color: #FF1493;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Purchase Options */
.purchase-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.purchase-option {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.purchase-option:hover {
    border-color: #00BFFF;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 191, 255, 0.3);
}

.purchase-option.popular {
    border-color: #FF1493;
    border-width: 3px;
}

.badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #FF1493, #FF69B4);
    color: #FFFFFF;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #00FF00;
    margin: 15px 0;
}

.unit-price {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
}

/* Game Screen */
.game-header {
    margin-bottom: 40px;
}

.progress-info {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #FF1493;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00BFFF, #00FF00);
    transition: width 0.5s ease;
    width: 0%;
}

.question-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    border: 3px solid #FF1493;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.question-text {
    font-size: 1.5rem;
    line-height: 1.3;
    text-align: center;
    font-weight: 400;
}

.question-text .female {
    color: #FFD700;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.question-text .male {
    color: #00BFFF;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

.game-controls {
    display: flex;
    justify-content: center;
}

.game-controls .btn {
    max-width: 300px;
}

/* Congratulations Screen */
.congrats-content {
    text-align: center;
    background: rgba(255, 20, 147, 0.1);
    padding: 40px;
    border-radius: 20px;
    border: 3px solid #FF1493;
    margin-bottom: 30px;
}

.congrats-content p {
    font-size: 1.3rem;
}

/* About Screen */
.about-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.about-content h3 {
    color: #FF1493;
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.about-content h3:first-child {
    margin-top: 0;
}

.about-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.support-email {
    color: #00BFFF;
    text-decoration: none;
    font-weight: 600;
}

.support-email:hover {
    text-decoration: underline;
}

/* Hamburger Menu */
.hamburger-menu {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1000;
}

.hamburger-btn {
    background: rgba(20, 20, 20, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}

.hamburger-btn:hover {
    background: rgba(40, 40, 40, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.hamburger-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 1px;
    transition: all 0.3s;
}

.hamburger-btn:hover span {
    background: rgba(255, 255, 255, 0.6);
}

.hamburger-nav {
    position: absolute;
    top: 50px;
    right: 0;
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
    min-width: 150px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hamburger-nav.hidden {
    display: none;
}

.menu-item {
    display: block;
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    text-align: left;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 4px;
    transition: all 0.3s;
    margin-bottom: 5px;
}

.menu-item:last-child {
    margin-bottom: 0;
}

.menu-item:hover {
    background: rgba(255, 20, 147, 0.2);
    color: #FFFFFF;
}

/* Loading Overlay */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading.hidden {
    display: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #00BFFF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Payment Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: #1a1a1a;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 20px 30px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #FF1493;
}

.close-btn {
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.close-btn:hover {
    color: #FF1493;
    transform: scale(1.1);
}

.modal-body {
    padding: 30px;
}

.payment-summary {
    text-align: center;
    background: rgba(255, 20, 147, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.payment-summary p {
    margin: 5px 0;
    font-size: 1.1rem;
}

.payment-amount {
    font-size: 2rem !important;
    font-weight: 700;
    color: #00FF00;
}

.aml-section {
    background: rgba(0, 191, 255, 0.05);
    border: 2px solid rgba(0, 191, 255, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.aml-section h3 {
    color: #00BFFF;
    margin: 0 0 10px 0;
    font-size: 1.2rem;
}

.aml-notice {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.aml-section label {
    display: block;
    margin-top: 12px;
    margin-bottom: 5px;
    color: #FFFFFF;
    font-size: 0.9rem;
}

.aml-section input,
.aml-section select {
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    color: #FFFFFF;
    font-size: 0.95rem;
}

.aml-section input:focus,
.aml-section select:focus {
    outline: none;
    border-color: #FFD700;
    background: rgba(0, 0, 0, 0.4);
}

.aml-section select option {
    background: #1a1a1a;
    color: #FFFFFF;
}

#card-container {
    margin: 25px 0;
    min-height: 100px;
}

/* Square Card Styling */
#card-container iframe {
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px !important;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 15px;
}

.modal-footer .btn {
    flex: 1;
    margin: 0;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.instruction {
    text-align: center;
    color: #FF1493;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* Mobile Responsive */
@media (min-width: 768px) {
    .purchase-options {
        grid-template-columns: repeat(3, 1fr);
    }

    .button-group {
        flex-direction: row;
    }

    .game-controls .btn {
        width: auto;
        padding: 15px 60px;
    }
}

/* Touch Improvements */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 55px;
    }

    input[type="email"],
    input[type="password"],
    input[type="text"] {
        font-size: 16px;
    }
}

/* Small Mobile Adjustments */
@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .question-text {
        font-size: 1.6rem;
    }

    .question-container {
        padding: 30px 20px;
        min-height: 200px;
    }
}
