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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    position: relative;
    background-image: url('images/login.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.screen {
    display: none;
    min-height: 100vh;
    width: 100vw;
    position: relative;
    overflow-y: auto;
}

.screen.active {
    display: block;
}

/* Screen 1 Styles */
#screen1 {
    /* background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%); */
    /* background-image: url('images/login.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; */
}

.header {
    text-align: center;
    padding: 60px 0 40px 0;
}

.header h1 {
    color: white;
    font-size: 24px;
    font-weight: 400;
}

.coins-section {
    position: relative;
    height: 200px;
    overflow: hidden;
    margin-bottom: 40px;
}

.coins-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><radialGradient id="coin" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:%23ffd700"/><stop offset="100%" style="stop-color:%23ffb000"/></radialGradient></defs><circle cx="10" cy="10" r="8" fill="url(%23coin)"/><circle cx="25" cy="8" r="6" fill="url(%23coin)"/><circle cx="40" cy="12" r="7" fill="url(%23coin)"/><circle cx="55" cy="9" r="8" fill="url(%23coin)"/><circle cx="70" cy="11" r="6" fill="url(%23coin)"/><circle cx="85" cy="8" r="7" fill="url(%23coin)"/></svg>') repeat-x;
    background-size: 200px 40px;
    animation: coinFloat 3s ease-in-out infinite;
}

@keyframes coinFloat {
    0%, 100% { transform: translateX(0px) translateY(0px); }
    50% { transform: translateX(-20px) translateY(-10px); }
}

.reward-card {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff6b35 0%, #ff8a50 100%);
    border-radius: 20px;
    padding: 20px;
    width: 120px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.card-icon {
    margin-bottom: 10px;
}

.credit-card {
    width: 40px;
    height: 25px;
    background: linear-gradient(45deg, #ff4444, #ff6666);
    border-radius: 4px;
    margin: 0 auto;
    position: relative;
}

.credit-card::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: 24px;
    height: 3px;
    background: white;
    border-radius: 2px;
}

.amount {
    color: white;
    font-size: 16px;
    font-weight: bold;
}

.content {
    background: white;
    border-radius: 30px 30px 0 0;
    padding: 40px 30px;
    min-height: calc(100vh - 340px);
}

.content h2 {
    text-align: center;
    color: #333;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 40px;
    line-height: 1.4;
}

.phone-input-container {
    margin-bottom: 30px;
}

.phone-input {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 15px 20px;
    background: white;
}

.country-code {
    color: #333;
    font-size: 16px;
    margin-right: 10px;
    border-right: 1px solid #e0e0e0;
    padding-right: 15px;
}

.phone-input input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 16px;
    color: #333;
}

.phone-input input::placeholder {
    color: #ccc;
}

.verify-button {
    width: 100%;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 18px;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.verify-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.privacy-notice {
    display: flex;
    align-items: flex-start;
    background: #333;
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.4;
}

.checkmark {
    color: #ff6b35;
    margin-right: 10px;
    font-weight: bold;
}

.privacy-link {
    color: white;
    text-decoration: underline;
}

/* Screen 2 Styles */
#screen2 {
    background: #f5f5f5;
}

.verification-header {
    background: white;
    padding: 20px;
    position: relative;
}

.phone-display {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 15px 20px;
    background: white;
    margin-bottom: 20px;
}

.phone-display .country-code {
    color: #333;
    font-size: 16px;
    margin-right: 10px;
    border-right: 1px solid #e0e0e0;
    padding-right: 15px;
}

.verify-button-top {
    width: 100%;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 18px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 10px;
}

.close-button {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.verification-content {
    padding: 30px 20px;
    background: white;
    margin: 20px 0;
}

.verification-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.verification-text {
    color: #333;
    font-size: 16px;
}

.masked-phone {
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

.code-input-container {
    margin-bottom: 30px;
}

.code-inputs {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.code-digit {
    width: 45px;
    height: 45px;
    border: none;
    background: #f0f0f0;
    border-radius: 8px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.code-digit.filled {
    background: #ffe0e0;
}

.resend-info {
    text-align: center;
    color: #999;
    font-size: 14px;
    margin-bottom: 30px;
}

.enter-button {
    width: 100%;
    background: linear-gradient(135deg, #ffb3a0 0%, #ff9980 100%);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 18px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

/* Number Pad */
.number-pad {
    background: #e8e8e8;
    padding: 20px;
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.number-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.number-btn {
    width: 30%;
    height: 60px;
    background: white;
    border: none;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.number-btn:active {
    transform: scale(0.95);
    background: #f0f0f0;
}

.number-btn.empty {
    background: transparent;
    box-shadow: none;
    cursor: default;
}

.number-btn.delete-btn {
    background: white;
}

.number {
    font-size: 24px;
    font-weight: 500;
    color: #333;
    line-height: 1;
}

.letters {
    font-size: 10px;
    color: #666;
    margin-top: 2px;
    letter-spacing: 1px;
}

.delete-icon {
    font-size: 20px;
    color: #666;
}

/* Voice Recognition Button */
#voiceBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #ff6b35;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    z-index: 1000;
}

#voiceBtn:hover {
    transform: scale(1.1);
}

#voiceModal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px;
    border-radius: 12px;
    z-index: 1001;
    display: none;
}

/* Responsive Design */
@media (max-width: 480px) {
    .content {
        padding: 30px 20px;
    }
    
    .phone-input, .phone-display {
        padding: 12px 15px;
    }
    
    .verify-button, .verify-button-top, .enter-button {
        padding: 15px;
    }
    
    .number-btn {
        height: 55px;
    }
    
    .number {
        font-size: 22px;
    }
} 