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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #533483 75%, #7209b7 100%);
    background-attachment: fixed;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 15% 85%, rgba(114, 9, 183, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 85% 15%, rgba(15, 52, 96, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 45% 55%, rgba(83, 52, 131, 0.2) 0%, transparent 35%),
        radial-gradient(circle at 70% 80%, rgba(22, 33, 62, 0.4) 0%, transparent 30%);
    pointer-events: none;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.02) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(255, 255, 255, 0.02) 50%, transparent 70%);
    animation: backgroundShift 20s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes backgroundShift {
    0%, 100% { transform: translateX(0) translateY(0); opacity: 0.5; }
    25% { transform: translateX(20px) translateY(-10px); opacity: 0.7; }
    50% { transform: translateX(-15px) translateY(15px); opacity: 0.6; }
    75% { transform: translateX(10px) translateY(-20px); opacity: 0.8; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
    position: relative;
}

/* AI Chat Button Styles */
.ai-chat-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-chat-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(45deg, #764ba2, #667eea);
}

/* AI Chat Page Styles */
.ai-chat-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
}

.ai-chat-page.active {
    transform: translateX(0);
}

.ai-chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.ai-chat-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.ai-chat-close {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.ai-chat-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.ai-chat-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

.ai-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ai-welcome-message {
    background: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ai-welcome-message h3 {
    margin: 0 0 15px 0;
    font-size: 1.5rem;
    color: #ffd700;
}

.ai-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.ai-suggestion {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.ai-suggestion:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.chat-message {
    max-width: 80%;
    padding: 15px 20px;
    border-radius: 20px;
    word-wrap: break-word;
    animation: messageSlideIn 0.3s ease;
}

.chat-message.user {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    align-self: flex-end;
    margin-left: auto;
}

.chat-message.ai {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    align-self: flex-start;
}

.typing-indicator {
    display: none;
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 20px;
    border-radius: 20px;
    max-width: 80px;
}

.typing-indicator.active {
    display: block;
}

.typing-dots {
    display: flex;
    gap: 4px;
    align-items: center;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: #667eea;
    border-radius: 50%;
    animation: typingBounce 1.4s ease-in-out infinite both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
    40% { transform: scale(1.2); opacity: 1; }
}

.ai-chat-input-container {
    display: flex;
    padding: 20px 0;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px 25px 0 0;
    padding: 25px;
}

.ai-chat-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    outline: none;
}

.ai-chat-send {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai-chat-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.ai-chat-send:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, #ffd700, #ffed4a, #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

.ai-chat-button {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 16px 28px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Show full text on desktop, hide short text */
.ai-button-text-full {
    display: inline;
}

.ai-button-text-short {
    display: none;
    z-index: 100;
}

.ai-chat-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.5);
    background: linear-gradient(45deg, #764ba2, #667eea);
}

@keyframes shimmer {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.lottery-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.lottery-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lottery-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0,0,0,0.25);
}

.lottery-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.lottery-card:hover::before {
    opacity: 1;
}

.card-header {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.card-mega {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 50%, #922b21 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><defs><linearGradient id="megaGrad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23e74c3c;stop-opacity:1" /><stop offset="50%" style="stop-color:%23c0392b;stop-opacity:1" /><stop offset="100%" style="stop-color:%23922b21;stop-opacity:1" /></linearGradient></defs><rect width="400" height="200" fill="url(%23megaGrad)"/><g transform="translate(200,100)"><circle r="40" fill="none" stroke="white" stroke-width="2" opacity="0.3"/><circle r="60" fill="none" stroke="white" stroke-width="1" opacity="0.2"/><polygon points="0,-25 7,-8 25,-8 12,3 17,20 0,10 -17,20 -12,3 -25,-8 -7,-8" fill="white" opacity="0.4"/></g><circle cx="80" cy="50" r="15" fill="white" opacity="0.15"/><circle cx="320" cy="150" r="20" fill="white" opacity="0.1"/><path d="M50,150 Q80,130 110,150 T170,150" stroke="white" stroke-width="2" fill="none" opacity="0.2"/></svg>');
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.card-super {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 50%, #d35400 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><defs><linearGradient id="superGrad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23f39c12;stop-opacity:1" /><stop offset="50%" style="stop-color:%23e67e22;stop-opacity:1" /><stop offset="100%" style="stop-color:%23d35400;stop-opacity:1" /></linearGradient></defs><rect width="400" height="200" fill="url(%23superGrad)"/><g transform="translate(200,100)"><path d="M-30,-30 Q0,-50 30,-30 Q50,0 30,30 Q0,50 -30,30 Q-50,0 -30,-30 Z" fill="white" opacity="0.2"/><circle r="50" fill="none" stroke="white" stroke-width="3" opacity="0.3" stroke-dasharray="10,5"/></g><circle cx="70" cy="60" r="12" fill="white" opacity="0.2"/><circle cx="330" cy="140" r="18" fill="white" opacity="0.15"/><path d="M60,40 L80,20 L100,40 L120,20 L140,40" stroke="white" stroke-width="3" fill="none" opacity="0.25"/></svg>');
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.card-ultra {
    background: linear-gradient(135deg, #27ae60 0%, #229954 50%, #1e8449 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><defs><linearGradient id="ultraGrad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%2327ae60;stop-opacity:1" /><stop offset="50%" style="stop-color:%23229954;stop-opacity:1" /><stop offset="100%" style="stop-color:%231e8449;stop-opacity:1" /></linearGradient></defs><rect width="400" height="200" fill="url(%23ultraGrad)"/><g transform="translate(200,100)"><polygon points="0,-40 20,-12 52,-12 30,8 38,40 0,24 -38,40 -30,8 -52,-12 -20,-12" fill="white" opacity="0.3"/><circle r="70" fill="none" stroke="white" stroke-width="2" opacity="0.2" stroke-dasharray="5,10"/></g><rect x="60" y="40" width="20" height="20" rx="3" fill="white" opacity="0.2" transform="rotate(45 70 50)"/><rect x="320" y="130" width="25" height="25" rx="4" fill="white" opacity="0.15" transform="rotate(30 332 142)"/><circle cx="100" cy="160" r="8" fill="white" opacity="0.25"/></svg>');
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.lottery-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    color: white;
    text-shadow: 0 4px 8px rgba(0,0,0,0.4);
    animation: iconFloat 4s ease-in-out infinite;
    z-index: 2;
}

@keyframes iconFloat {
    0%, 100% { transform: translate(-50%, -50%) translateY(0px); }
    50% { transform: translate(-50%, -50%) translateY(-8px); }
}

.card-content {
    padding: 30px;
    text-align: center;
}

.lottery-name {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.lottery-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
}

.currency {
    color: #27ae60;
}

.buy-button {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.buy-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.buy-button:hover::before {
    left: 100%;
}

.buy-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(231, 76, 60, 0.4);
}

.card-super .buy-button {
    background: linear-gradient(45deg, #f39c12, #e67e22);
}

.card-super .buy-button:hover {
    box-shadow: 0 15px 35px rgba(243, 156, 18, 0.4);
}

.card-ultra .buy-button {
    background: linear-gradient(45deg, #27ae60, #229954);
}

.card-ultra .buy-button:hover {
    box-shadow: 0 15px 35px rgba(39, 174, 96, 0.4);
}

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

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    animation: modalSlideIn 0.3s ease;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
}

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

.modal-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 25px;
    text-align: center;
    position: relative;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ddd;
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
    max-height: calc(90vh - 120px);
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #764ba2, #667eea);
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
}

.lottery-number-input {
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.purchase-button {
    width: 100%;
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.purchase-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(40, 167, 69, 0.3);
}

.purchase-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.error-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: none;
}

/* Multi-step Modal Styles */
.step-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    position: relative;
    max-width: 120px;
}

.progress-step::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 100%;
    width: 100%;
    height: 2px;
    background: #e1e8ed;
    z-index: 1;
}

.progress-step:last-child::after {
    display: none;
}

.progress-step.active::after {
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e1e8ed;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}

.step-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.progress-step.active .step-label {
    color: #667eea;
    font-weight: bold;
}

.purchase-step h3 {
    color: #333;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.4rem;
}

.input-helper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.quick-pick-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-pick-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.format-hint {
    font-size: 0.8rem;
    color: #666;
}

.continue-btn, .confirm-btn {
    width: 100%;
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.continue-btn:hover, .confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(40, 167, 69, 0.3);
}

/* Confirmation Step Styles */
.confirmation-details {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e1e8ed;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row.total {
    border-top: 2px solid #667eea;
    margin-top: 15px;
    padding-top: 15px;
    font-weight: bold;
    font-size: 1.1rem;
}

.detail-row .label {
    color: #666;
    font-weight: 500;
}

.detail-row .value {
    color: #333;
    font-weight: bold;
}

.confirmation-buttons {
    display: flex;
    gap: 15px;
}

.back-btn {
    flex: 1;
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.confirm-btn {
    flex: 2;
    margin: 0;
}

/* Success Step Styles */
.success-message-new {
    text-align: center;
    padding: 30px 20px;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.success-message-new p {
    font-size: 1.2rem;
    color: #28a745;
    font-weight: bold;
    margin-bottom: 25px;
}

.ticket-details {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
}

.ticket-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 20px;
}

.ticket-info p {
    margin: 8px 0;
    color: #333;
}

.good-luck {
    font-size: 1.1rem;
    color: #28a745;
    font-weight: bold;
    margin-top: 20px;
}

.close-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* My Lotteries Modal Styles */
.my-tickets {
    display: grid;
    gap: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.ticket-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    padding: 20px;
    border-left: 5px solid #667eea;
    transition: all 0.3s ease;
}

.ticket-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.ticket-lottery {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

.ticket-id {
    font-size: 0.9rem;
    color: #666;
    background: #e9ecef;
    padding: 4px 8px;
    border-radius: 6px;
}

.ticket-numbers {
    font-size: 1.3rem;
    font-weight: bold;
    color: #667eea;
    text-align: center;
    margin: 15px 0;
    padding: 10px;
    background: white;
    border-radius: 10px;
}

.ticket-date {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    color: #666;
    margin-bottom: 15px;
}

.empty-state p {
    color: #999;
    margin-bottom: 25px;
    line-height: 1.6;
}

.play-now-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.delete-all-btn {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.delete-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
}

.empty-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

@media (max-width: 480px) {
    /* AI Chat Button - Small screens (very small) - Show only AI */
    .ai-chat-button {
        position: absolute;
        top: 8px;
        right: 8px;
        padding: 6px 10px;
        font-size: 0.7rem;
        border-radius: 15px;
        z-index: 100;
    }

    /* Hide full text, show short text */
    .ai-button-text-full {
        display: none;
    }

    .ai-button-text-short {
        display: inline;
    }

    .header h1 {
        font-size: 1.8rem;
        margin-right: 50px; /* Less space needed for AI only */
    }

    .header p {
        font-size: 1rem;
        margin-right: 50px;
    }

    .empty-buttons {
        flex-direction: column;
    }

    .delete-all-btn {
        margin-left: 0;
        width: 100%;
    }

    .play-now-btn {
        width: 100%;
    }
}

/* Extra small screens (tiny button) - Show only AI */
@media (max-width: 320px) {
    .ai-chat-button {
        position: absolute;
        top: 5px;
        right: 5px;
        padding: 4px 8px;
        font-size: 0.6rem;
        border-radius: 10px;
        z-index: 100;
    }

    /* Hide full text, show short text */
    .ai-button-text-full {
        display: none;
    }

    .ai-button-text-short {
        display: inline;
    }

    .header h1 {
        font-size: 1.5rem;
        margin-right: 40px; /* Minimal space needed for AI only */
    }

    .header p {
        font-size: 0.9rem;
        margin-right: 40px;
    }
}





/* Admin Tracking Styles */
.admin-tracking-section {
    margin-top: 20px;
}

.password-display {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 10px;
    letter-spacing: 2px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.admin-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    margin-top: 25px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.admin-info h3 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.admin-info p {
    color: rgba(255, 255, 255, 0.9);
    margin: 8px 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Clear Button Styles */
.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.clear-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 0.8rem;
    display: none;
    transition: all 0.3s ease;
    z-index: 1;
}

.clear-btn:hover {
    background: #c0392b;
    transform: translateY(-50%) scale(1.1);
}

.clear-btn.visible {
    display: block;
}

.input-container .confirm-form-input {
    padding-right: 40px;
}



.site-disabled {
    pointer-events: none;
    opacity: 0.5;
    filter: blur(2px);
}

/* Mobile responsiveness for confirm ticket */
@media (max-width: 768px) {
    .confirm-ticket-content {
        width: 95%;
        margin: 2% auto;
        max-height: 95vh;
    }

    .confirm-ticket-header {
        padding: 25px 20px;
    }

    .confirm-ticket-title {
        font-size: 1.5rem;
    }

    .confirm-ticket-body {
        padding: 30px 20px;
        max-height: calc(95vh - 100px);
    }

    .confirm-ticket-icon .icon {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .confirm-ticket-content {
        margin: 1% auto;
        max-height: 98vh;
    }

    .confirm-ticket-body {
        padding: 20px 15px;
        max-height: calc(98vh - 80px);
    }

    .confirm-ticket-header {
        padding: 20px 15px;
    }

    .password-hint {
        font-size: 0.8rem;
        padding: 12px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    /* AI Chat Button - Tablet/Medium screens - Show only AI */
    .ai-chat-button {
        position: absolute;
        top: 15px;
        right: 15px;
        padding: 10px 15px;
        font-size: 1rem;
        border-radius: 25px;
        z-index: 100;
    }

    /* Hide full text, show short text */
    .ai-button-text-full {
        display: none;
    }

    .ai-button-text-short {
        display: inline;
    }

    .header h1 {
        font-size: 2rem;
        margin-right: 70px; /* Less space needed for AI only */
    }

    .lottery-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .lottery-card {
        margin: 0 10px;
    }

    .modal-content {
        margin: 2% auto;
        width: 95%;
        max-height: 95vh;
    }

    .modal-body {
        padding: 20px;
        max-height: calc(95vh - 100px);
    }

    .modal-header {
        padding: 20px;
    }

    .modal-title {
        font-size: 1.3rem;
    }

    .step-progress {
        padding: 15px 0;
        margin-bottom: 20px;
    }

    .progress-step {
        max-width: 80px;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .step-label {
        font-size: 0.8rem;
    }

    .purchase-step h3 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

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

    .confirmation-details {
        padding: 20px;
    }

    .ticket-details {
        padding: 20px;
        margin: 20px 0;
    }
}

.sparkle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: sparkle 3s infinite;
}

@keyframes sparkle {
    0%, 20%, 80%, 100% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: scale(1) rotate(180deg);
        opacity: 0.8;
    }
}

.sparkle:nth-child(1) {
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.sparkle:nth-child(2) {
    top: 25%;
    right: 20%;
    animation-delay: 1s;
}

.sparkle:nth-child(3) {
    bottom: 20%;
    left: 25%;
    animation-delay: 2s;
}

.sparkle:nth-child(4) {
    top: 60%;
    right: 15%;
    animation-delay: 0.5s;
}

.sparkle:nth-child(5) {
    bottom: 35%;
    right: 35%;
    animation-delay: 1.5s;
}

.particle-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

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

/* Navigation Bar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(114, 9, 183, 0.1) 0%, 
        rgba(15, 52, 96, 0.1) 50%, 
        rgba(83, 52, 131, 0.1) 100%);
    pointer-events: none;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative;
    z-index: 2;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.2), rgba(102, 126, 234, 0.2));
    transition: left 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before,
.nav-link.active::before {
    left: 0;
}

.nav-link:hover,
.nav-link.active {
    color: #ffd700;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Language Selector Styles */
.language-selector {
    position: relative;
    margin-right: 15px;
}

.language-button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(10px);
}

.language-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    min-width: 180px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 5px;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    padding: 12px 16px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.language-option.selected {
    background: rgba(102, 126, 234, 0.15);
    color: #667eea;
    font-weight: 600;
}

.language-flag {
    font-size: 1.2rem;
}

.sidebar-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
    border-radius: 8px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    background: linear-gradient(45deg, #764ba2, #667eea);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.sidebar-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.sidebar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.sidebar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.sidebar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    backdrop-filter: blur(20px);
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    z-index: 1001;
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow-y: auto;
}

.sidebar.active {
    right: 0;
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(114, 9, 183, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(15, 52, 96, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.sidebar-header {
    padding: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.sidebar-header h3 {
    color: #ffd700;
    font-size: 1.5rem;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.sidebar-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffd700;
    transform: rotate(90deg);
}

.sidebar-content {
    padding: 20px 0;
    position: relative;
    z-index: 2;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 18px 30px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.sidebar-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), rgba(102, 126, 234, 0.1));
    transition: left 0.3s ease;
    z-index: -1;
}

.sidebar-link:hover::before {
    left: 0;
}

.sidebar-link:hover {
    color: #ffd700;
    background: rgba(255, 255, 255, 0.05);
    border-left-color: #ffd700;
    transform: translateX(10px);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Detailed Sections Styling */
.detailed-sections {
    margin: 60px 0;
    padding: 0 20px;
}

.detail-section {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(22, 33, 62, 0.8));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.detail-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.05), rgba(102, 126, 234, 0.05));
    pointer-events: none;
}

.section-title {
    color: #ffd700;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.section-content {
    position: relative;
    z-index: 2;
}

/* Step-by-step styling */
.step-by-step {
    display: grid;
    gap: 25px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border-left: 4px solid #ffd700;
}

.step-number {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: #ffd700;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.step-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Results grid styling */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.result-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.result-item h4 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.draw-date {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

.winning-numbers {
    color: #667eea;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.jackpot {
    color: #ffd700;
    font-weight: bold;
    font-size: 1.2rem;
}

/* About features styling */
.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature h4 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.feature p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* FAQ styling */
.faq-list {
    display: grid;
    gap: 20px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    border-left: 4px solid #667eea;
}

.faq-item h4 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.faq-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Contact grid styling */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.contact-method {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-method h4 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.contact-method p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
}

/* Terms and Privacy content */
.terms-content, .privacy-content, .responsible-gaming-content {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.terms-content h4, .privacy-content h4, .responsible-gaming-content h4 {
    color: #ffd700;
    margin: 25px 0 15px 0;
    font-size: 1.2rem;
}

.terms-content ul, .responsible-gaming-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.terms-content li, .responsible-gaming-content li {
    margin-bottom: 10px;
    list-style-type: disc;
}

/* Mobile responsiveness for detailed sections */
@media (max-width: 768px) {
    .detailed-sections {
        padding: 0 15px;
        margin: 40px 0;
    }

    .detail-section {
        padding: 25px 20px;
        margin-bottom: 25px;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .step {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        align-self: center;
    }

    .results-grid, .about-features, .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .result-item, .feature, .contact-method {
        padding: 20px;
    }
}

/* Adjust body padding for fixed navbar */
body {
    padding-top: 80px;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        right: -100%;
    }

    .nav-container {
        padding: 0 15px;
        height: 70px;
    }

    .nav-logo {
        font-size: 1.3rem;
    }

    .nav-menu {
        display: none;
    }

    .navbar {
        height: 70px;
    }

    body {
        padding-top: 70px;
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        gap: 15px;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 10px 15px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 10px;
        height: 60px;
    }

    .nav-logo {
        font-size: 1.1rem;
    }

    .navbar {
        height: 60px;
    }

    body {
        padding-top: 60px;
    }

    .sidebar-toggle {
        padding: 6px;
        gap: 3px;
    }

    .sidebar-toggle span {
        width: 20px;
        height: 2px;
    }
}

/* Navbar scroll effect */
.navbar.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #533483 100%);
    margin-top: 60px;
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(114, 9, 183, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(15, 52, 96, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-section:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.footer-logo {
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-style: italic;
}

.footer-title {
    color: #ffd700;
    font-size: 1.3rem;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 10px;
}

.footer-list {
    list-style: none;
    padding: 0;
}

.footer-list li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    transition: color 0.3s ease;
}

.footer-list li:hover {
    color: #ffd700;
    cursor: pointer;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: inline-block;
    width: 45px;
    height: 45px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
}

.footer-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 25px 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-legal {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.footer-legal p {
    margin-bottom: 10px;
}

.disclaimer {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.footer-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.footer-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 215, 0, 0.6);
    border-radius: 50%;
    animation: footerFloat 8s ease-in-out infinite;
}

.footer-particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.footer-particle:nth-child(2) {
    top: 40%;
    left: 80%;
    animation-delay: 2s;
}

.footer-particle:nth-child(3) {
    top: 70%;
    left: 30%;
    animation-delay: 4s;
}

.footer-particle:nth-child(4) {
    top: 30%;
    left: 60%;
    animation-delay: 1s;
}

.footer-particle:nth-child(5) {
    top: 80%;
    left: 70%;
    animation-delay: 3s;
}

@keyframes footerFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-15px) translateX(8px);
        opacity: 1;
    }
    50% {
        transform: translateY(-25px) translateX(-5px);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-10px) translateX(12px);
        opacity: 1;
    }
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
        margin-top: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 30px;
    }

    .footer-section {
        padding: 20px;
    }

    .footer-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 30px;
    }

    .stat-item {
        padding: 20px 10px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .footer-logo {
        font-size: 1.6rem;
    }

    .social-links {
        justify-content: center;
    }

    .ai-chat-button {
        top: 10px;
        right: 10px;
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* AI Chat Page Styles */
.ai-chat-page {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #533483 75%, #7209b7 100%);
    z-index: 2000;
    overflow: hidden;
}

.ai-chat-page.active {
    display: flex;
    flex-direction: column;
}

.ai-chat-header {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2001;
}

.ai-chat-title {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #ffd700;
    font-size: 1.5rem;
    font-weight: bold;
}

.ai-chat-close {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai-chat-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.4);
}

.ai-chat-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 20px;
    height: calc(100vh - 80px);
}

.ai-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ai-chat-messages::-webkit-scrollbar {
    width: 8px;
}

.ai-chat-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.ai-chat-messages::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 4px;
}

.chat-message {
    padding: 15px 20px;
    border-radius: 15px;
    max-width: 70%;
    word-wrap: break-word;
    line-height: 1.5;
    animation: messageSlideIn 0.3s ease;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.user {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    align-self: flex-end;
    margin-left: auto;
}

.chat-message.ai {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    align-self: flex-start;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.chat-message.ai::before {
    content: "🤖 Lotika AI: ";
    font-weight: bold;
    color: #667eea;
}

.ai-chat-input-container {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-chat-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.ai-chat-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.ai-chat-input:focus {
    border-color: #ffd700;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.ai-chat-send {
    background: linear-gradient(45deg, #ffd700, #ffed4a);
    color: #1a1a2e;
    border: none;
    padding: 15px 25px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
}

.ai-chat-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

.ai-chat-send:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.typing-indicator {
    display: none;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    max-width: 100px;
    align-self: flex-start;
}

.typing-indicator.active {
    display: block;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: #667eea;
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

.ai-welcome-message {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin: 50px 0;
}

.ai-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.ai-suggestion {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai-suggestion:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
}

.question-guides {
    margin-top: 25px;
    text-align: left;
}

.question-guides h4 {
    color: #ffd700;
    margin: 20px 0 10px 0;
    font-size: 1.1rem;
    font-weight: bold;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 5px;
}

.question-guides .ai-suggestions {
    justify-content: flex-start;
    margin-bottom: 15px;
    gap: 8px;
}

.question-guides .ai-suggestion {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 15px;
    border-radius: 18px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.question-guides .ai-suggestion:hover {
    background: rgba(255, 215, 0, 0.25);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.4);
}

/* Responsive AI Chat */
@media (max-width: 768px) {
    .ai-chat-container {
        padding: 15px;
    }

    .ai-chat-messages {
        padding: 15px;
    }

    .chat-message {
        max-width: 85%;
        padding: 12px 15px;
    }

    .ai-chat-input-container {
        padding: 15px;
        gap: 10px;
    }

    .ai-chat-input {
        padding: 12px 15px;
    }

    .ai-chat-send {
        padding: 12px 20px;
        min-width: 70px;
    }

    .ai-chat-title {
        font-size: 1.3rem;
    }
}
/* Modal Button Styles */
.modal-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.modal-btn.primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}

.modal-btn.primary:hover {
    background: linear-gradient(45deg, #764ba2, #667eea);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.modal-btn.secondary {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.modal-btn.secondary:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.settings-section h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

/* Enhanced Phone Popup Styles */
.phone-popup-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    position: relative;
    overflow: hidden;
    animation: phonePopupSlide 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

@keyframes phonePopupSlide {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.phone-popup-header {
    text-align: center;
    padding: 40px 30px 20px;
    color: white;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.phone-popup-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: phoneIconFloat 2s ease-in-out infinite;
}

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

.phone-popup-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.phone-popup-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.phone-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.phone-popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: rotate(90deg);
}

.phone-popup-body {
    background: white;
    padding: 40px 30px;
    overflow-y: auto;
    flex: 1;
}

.phone-popup-body::-webkit-scrollbar {
    width: 8px;
}

.phone-popup-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.phone-popup-body::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 4px;
}

.phone-popup-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #764ba2, #667eea);
}

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

.phone-input-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    text-align: left;
}

.phone-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.phone-input-wrapper:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
}

.phone-input-prefix {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 18px 15px;
    font-weight: bold;
    font-size: 1.1rem;
}

.phone-input-field {
    flex: 1;
    border: none;
    outline: none;
    padding: 18px 20px;
    font-size: 1.1rem;
    background: transparent;
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 1px;
}

.phone-input-field::placeholder {
    color: #999;
    font-weight: 400;
}

.phone-input-hint {
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
    text-align: center;
}

.phone-error-msg {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 10px;
    padding: 10px;
    background: #f8d7da;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
    display: none;
}

.phone-popup-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.phone-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    position: relative;
    overflow: hidden;
}

.phone-btn span {
    position: relative;
    z-index: 2;
}

.skip-btn {
    background: #f8f9fa;
    color: #6c757d;
    border: 2px solid #dee2e6;
}

.skip-btn:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.save-btn {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    border: 2px solid transparent;
    position: relative;
}

.save-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #20c997, #28a745);
    transition: left 0.3s ease;
    z-index: 1;
}

.save-btn:hover::before {
    left: 0;
}

.save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .phone-popup-content {
        width: 95%;
        margin: 20px;
    }

    .phone-popup-header {
        padding: 30px 20px 15px;
    }

    .phone-popup-body {
        padding: 30px 20px;
    }

    .phone-popup-actions {
        flex-direction: column;
    }

    .phone-btn {
        min-width: 100%;
    }
}

/* Enhanced Settings Popup Styles */
.settings-popup-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    position: relative;
    overflow: hidden;
    animation: settingsPopupSlide 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

@keyframes settingsPopupSlide {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.settings-popup-header {
    text-align: center;
    padding: 40px 30px 20px;
    color: white;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.settings-popup-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: settingsIconSpin 4s linear infinite;
}

@keyframes settingsIconSpin {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(90deg); }
    50% { transform: rotate(180deg); }
    75% { transform: rotate(270deg); }
    100% { transform: rotate(360deg); }
}

.settings-popup-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.settings-popup-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.settings-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.settings-popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: rotate(90deg);
}

.settings-popup-body {
    background: white;
    padding: 40px 30px;
    overflow-y: auto;
    flex: 1;
}

.settings-popup-body::-webkit-scrollbar {
    width: 8px;
}

.settings-popup-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.settings-popup-body::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 4px;
}

.settings-popup-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #764ba2, #667eea);
}

.settings-section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}

.settings-section-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-section-header h3 {
    color: #333;
    font-size: 1.4rem;
    margin: 0;
    font-weight: 600;
}

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

.settings-phone-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    text-align: left;
}

.settings-phone-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.settings-phone-wrapper:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
}

.settings-phone-prefix {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 18px 15px;
    font-weight: bold;
    font-size: 1.1rem;
}

.settings-phone-field {
    flex: 1;
    border: none;
    outline: none;
    padding: 18px 20px;
    font-size: 1.1rem;
    background: transparent;
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 1px;
}

.settings-phone-field::placeholder {
    color: #999;
    font-weight: 400;
}

.settings-phone-hint {
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
    text-align: center;
}

.settings-error-msg {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 10px;
    padding: 10px;
    background: #f8d7da;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
    display: none;
}

.settings-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffc107;
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.warning-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.warning-content strong {
    color: #856404;
    font-size: 1rem;
    display: block;
    margin-bottom: 5px;
}

.warning-content p {
    color: #856404;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.settings-popup-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.settings-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
    position: relative;
    overflow: hidden;
}

.settings-btn span {
    position: relative;
    z-index: 2;
}

.cancel-btn {
    background: #f8f9fa;
    color: #6c757d;
    border: 2px solid #dee2e6;
}

.cancel-btn:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.update-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: 2px solid transparent;
    position: relative;
}

.update-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #764ba2, #667eea);
    transition: left 0.3s ease;
    z-index: 1;
}

.update-btn:hover::before {
    left: 0;
}

.update-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .settings-popup-content {
        width: 95%;
        margin: 20px;
    }

    .settings-popup-header {
        padding: 30px 20px 15px;
    }

    .settings-popup-body {
        padding: 30px 20px;
    }

    .settings-popup-actions {
        flex-direction: column;
    }

    .settings-btn {
        min-width: 100%;
    }

    .settings-section-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* User ID Button Styles */
.user-id-btn {
    background: linear-gradient(45deg, #ff9800, #f57c00);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.user-id-btn:hover {
    background: linear-gradient(45deg, #f57c00, #ef6c00);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.3);
}

.copy-btn {
    background: linear-gradient(45deg, #4caf50, #43a047);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: linear-gradient(45deg, #43a047, #388e3c);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(76, 175, 80, 0.3);
}
