* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #d32f2f 0%, #1b5e20 100%);
    min-height: 100vh;
    color: #333;
    position: relative;
}

/* Christmas snowflakes */
.snowflake {
    position: fixed;
    top: -20px;
    color: #fff;
    font-size: 1.2em;
    animation: fall linear forwards;
    z-index: 1;
    user-select: none;
}

@keyframes fall {
    to {
        transform: translateY(105vh);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
    overflow: hidden;
}

.main-banner {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

header h1 {
    color: #ffeb3b;
    margin-bottom: 10px;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

header p {
    color: #ffeb3b;
    font-size: 1.1em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

nav {
    margin-top: 15px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.mobile-nav {
    margin-top: 15px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

nav a {
    color: #ffeb3b;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
    background: rgba(173, 20, 20, 0.2);
    border: 1px solid rgba(255, 235, 59, 0.3);
}

nav a:hover {
    background: #d32f2f;
    color: #fff;
    border-color: #ffeb3b;
    box-shadow: 0 0 10px rgba(255, 235, 59, 0.5);
}

.btn-logout {
    background: #ff4757;
    color: white !important;
}

.btn-logout:hover {
    background: #ff3838;
}

.hero-section {
    padding: 60px 40px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.7);
    padding: 60px 40px;
    border-radius: 15px;
    text-align: center;
    color: white;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-section h2 {
    color: #ffffff;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero-section p {
    color: #ffffff;
    font-size: 1.2em;
    margin-bottom: 30px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card h3 {
    color: #ffeb3b;
    font-size: 1.5em;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

.feature-card a {
    display: inline-block;
    margin-top: 15px;
    text-decoration: none;
}

.additional-info {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.additional-info h2 {
    color: #ffeb3b;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.additional-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.stats-section {
    display: flex;
    justify-content: space-around;
    margin: 30px 0;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    padding: 0 20px;
}

.stat h3 {
    color: #ffeb3b;
    font-size: 2em;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat p {
    color: #666;
    margin: 0;
    font-size: 0.9em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.feature-item h3 {
    color: #ffeb3b;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.feature-item p {
    color: #666;
    margin: 0;
    font-size: 0.95em;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #b71c1c 0%, #a71a1a 100%);
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.hero-overlay .btn-primary {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    color: white;
}

.hero-overlay .btn-primary:hover {
    background: linear-gradient(135deg, #43a047 0%, #1b5e20 100%);
    transform: scale(1.05);
}

.btn-success {
    background: #2ecc71;
    color: white;
}

.btn-success:hover {
    background: #27ae60;
}

.btn-warning {
    background: #f39c12;
    color: white;
}

.btn-warning:hover {
    background: #e67e22;
}

.btn-danger {
    background: #e74c3c;
    color: white;
}

.btn-danger:hover {
    background: #c0392b;
}

.login-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 15px;
    max-width: 500px;
    margin: 0 auto 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.login-box h2 {
    color: #764ba2;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

.login-box button {
    width: 100%;
    margin-top: 10px;
}

.login-links {
    margin-top: 20px;
    text-align: center;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.login-links a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.login-links a:hover {
    text-decoration: underline;
}

.bot-panel {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.bot-panel h2 {
    color: #764ba2;
    margin-bottom: 30px;
    text-align: center;
}

.credentials-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.cred-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.cred-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cred-item label {
    display: block;
    color: #666;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9em;
}

.cred-value {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.cred-value span {
    font-family: 'Courier New', monospace;
    color: #333;
    font-size: 1.1em;
    font-weight: 600;
    flex: 1;
}

.btn-copy {
    padding: 8px 15px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s;
}

.btn-copy:hover {
    background: #5568d3;
}

.status-active {
    color: #2ecc71;
    font-weight: 700;
}

.bot-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.bot-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.bot-info h3 {
    color: #667eea;
    margin-bottom: 15px;
}

.bot-info ul {
    list-style: none;
}

.bot-info li {
    padding: 8px 0;
    color: #333;
    font-size: 1em;
}

.dashboard {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.welcome-section {
    text-align: center;
    margin-bottom: 30px;
}

.welcome-section h2 {
    color: #764ba2;
    margin-bottom: 10px;
}

.welcome-section p {
    color: #666;
    font-size: 1.1em;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

.stat-card h3 {
    font-size: 0.9em;
    margin-bottom: 10px;
    opacity: 0.9;
}

.stat-value {
    font-size: 1.8em;
    font-weight: 700;
}

.quick-access {
    margin-bottom: 30px;
}

.quick-access h3 {
    color: #764ba2;
    margin-bottom: 20px;
}

.quick-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.quick-btn {
    background: #f8f9fa;
    border: 2px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color: #333;
}

.quick-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-5px);
}

.quick-btn span {
    font-size: 2em;
    display: block;
    margin-bottom: 10px;
}

.quick-btn p {
    margin: 0;
    font-weight: 600;
}

.activity-log h3 {
    color: #764ba2;
    margin-bottom: 20px;
}

.log-entries {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    max-height: 300px;
    overflow-y: auto;
}

.log-entry {
    padding: 12px;
    margin-bottom: 10px;
    background: white;
    border-radius: 6px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.log-entry:last-child {
    margin-bottom: 0;
}

.log-time {
    color: #667eea;
    font-weight: 600;
    min-width: 60px;
}

.log-message {
    color: #333;
}

footer {
    background: rgba(255, 235, 59, 0.2);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    color: #ffeb3b;
    margin-top: 30px;
    border-top: 2px solid rgba(255, 235, 59, 0.5);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.8em;
    }
    
    .hero-section h2 {
        font-size: 1.8em;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bot-controls {
        flex-direction: column;
    }
    
    .bot-controls .btn {
        width: 100%;
    }
    
    /* Additional mobile responsive styles */
    .main-banner {
        max-width: 100%;
        height: auto;
    }
    
    .hero-overlay {
        padding: 30px 20px;
        min-height: 250px;
    }
    
    .container {
        padding: 10px;
    }
    
    .stats-section {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat {
        padding: 10px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .additional-info {
        padding: 20px;
    }
    
    .login-box {
        padding: 20px;
        margin: 0 10px 20px;
    }
    
    .bot-panel {
        padding: 20px;
        margin: 0 10px 20px;
    }
    
    .dashboard {
        padding: 20px;
        margin: 0 10px 20px;
    }
    
    .credentials-card {
        padding: 20px;
    }
    
    .cred-value {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-copy {
        align-self: flex-start;
    }
    
    .quick-access h3 {
        font-size: 1.2em;
    }
    
    .quick-buttons {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .feature-item {
        padding: 15px;
    }
    
    nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .mobile-nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .login-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .login-links a {
        display: block;
        text-align: center;
    }
    
    .cred-item {
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
    
    .bot-info ul {
        padding-left: 20px;
    }
    
    .bot-info li {
        padding: 5px 0;
    }
    
    .activity-log {
        padding: 15px;
    }
    
    .log-entries {
        max-height: 200px;
    }
    
    .log-entry {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }
    
    .log-time {
        min-width: auto;
    }
    
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
    }
}
