/* Global Styles */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #181a1b;
    color: #f5f6fa;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

h1 {
    color: #f5f6fa;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

p {
    color: #b0b3b8;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

a {
    color: #4fc3f7;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

a:hover {
    color: #81d4fa;
    text-decoration: underline;
}

.skeptical-face {
    font-size: 4rem;
    margin-bottom: 1rem;
    user-select: none;
}

.card {
    background: #23272a;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    padding: 2.5rem 2rem 2rem 2rem;
    max-width: 540px;
    text-align: center;
    margin: 60px auto 40px auto;
    border: 1px solid #2c2f33;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.6);
}

.card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}
.card ul li {
    background: #23272a;
    border-radius: 10px;
    margin-bottom: 1rem;
    padding: 1rem 0.5rem 0.5rem 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    border: 1px solid #2c2f33;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.card ul li strong {
    margin-bottom: 0.5rem;
    color: #4fc3f7;
    font-size: 1.08rem;
}
.card ul li div {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.3rem;
}
.card ul li a.btn.button {
    min-width: 90px;
    margin: 0.2rem 0.2rem;
    padding: 0.5rem 1rem;
    font-size: 0.98rem;
    border-radius: 6px;
    background: #181a1b;
    color: #4fc3f7;
    border: 1px solid #23272a;
    box-shadow: none;
    transition: background 0.2s, color 0.2s;
}
.card ul li a.btn.button:hover {
    background: #23272a;
    color: #81d4fa;
    border-color: #4fc3f7;
}

/* Login Container Styles */
#login-container {
    background: #23272a;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    padding: 2.5rem 2rem;
    max-width: 400px;
    text-align: center;
    margin: 2rem auto;
    border: 1px solid #2c2f33;
}

/* Button Styles */
button {
    background-color: #4fc3f7;
    color: #181a1b;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

button:hover {
    background-color: #81d4fa;
    color: #181a1b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

button:disabled {
    background-color: #374151;
    color: #888;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Telegram Button Styles */
.telegram-btn {
    background: linear-gradient(135deg, #0088cc, #005b8e);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
    padding: 14px 24px;
    color: #fff;
}

.telegram-btn i {
    font-size: 1.2rem;
}

.telegram-btn:hover {
    background: linear-gradient(135deg, #005b8e, #003f5c);
}

/* Verify Button Styles */
.verify-btn {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    color: #181a1b;
}

.verify-btn:hover {
    background: linear-gradient(135deg, #38f9d7, #43e97b);
}

/* Input Styles */
input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 2px solid #23272a;
    border-radius: 6px;
    font-size: 1rem;
    background: #181a1b;
    color: #f5f6fa;
    transition: all 0.3s ease;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

input:focus {
    border-color: #4fc3f7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.2);
}

/* OTP Container Styles */
.otp-container {
    margin: 20px 0;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.otp-input-group {
    position: relative;
    margin-bottom: 10px;
}

.otp-input {
    text-align: center;
    letter-spacing: 4px;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 15px;
    background-color: #23272a;
    color: #f5f6fa;
}

.otp-animation {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.otp-pulse {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #4fc3f7;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

/* Message Styles */
.message-box {
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #23272a;
    border-left: 4px solid #2c2f33;
    color: #f5f6fa;
}

.message-box.sending {
    background-color: #1e293b;
    border-left: 4px solid #4fc3f7;
}

.message-box.success {
    background-color: #1b2e23;
    border-left: 4px solid #43e97b;
    color: #b9f6ca;
}

.message-box.error {
    background-color: #2d1b1b;
    border-left: 4px solid #f44336;
    color: #ffb3b3;
}

.message-box.warning {
    background-color: #2d261b;
    border-left: 4px solid #ffc107;
    color: #ffe082;
}

.message-box.verifying {
    background-color: #241b2d;
    border-left: 4px solid #9c27b0;
    color: #e1bee7;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #23272a, #181a1b);
    color: #f5f6fa;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

header h1 {
    color: #f5f6fa;
    margin: 0;
}

/* Main Content Styles */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: #23272a;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    border-radius: 12px;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 1.5rem;
    color: #b0b3b8;
    font-size: 0.95rem;
    margin-top: 2rem;
    background-color: #181a1b;
    border-top: 1px solid #23272a;
    position: static;
    width: 100%;
}

/* Login Page Specific Styles */
.login-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #23272a, #181a1b);
}

/* Dashboard Layout */
.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.dashboard-card {
    background: #23272a;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    padding: 20px;
    transition: transform 0.3s ease;
    color: #f5f6fa;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}