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

html, body {
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2c3e50;
}
body { background: #f0f4f8; padding-bottom: 60px; }

.bg, .bg2, .bg3 {
    position: fixed; top: -50%; left: -50%;
    width: 200%; height: 200vh; z-index: -3;
    opacity: 0.05;
    background: linear-gradient(135deg, #667eea, #764ba2);
}
.bg2 {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    z-index: -2; animation: slide 20s linear infinite reverse;
}
.bg3 {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    z-index: -1; animation: slide 30s linear infinite;
}
@keyframes slide {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#wrapper { max-width: 1300px; margin: 0 auto; padding: 0 20px; }

.main-header {
    background: linear-gradient(135deg, #2c3e50 0%, #1a5490 100%);
    color: white; padding: 20px 0; margin: 0 -20px 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
.header-content {
    max-width: 1300px; margin: 0 auto; padding: 0 30px;
    display: flex; justify-content: space-between; align-items: center;
    gap: 20px; flex-wrap: wrap;
}
.logo-section { display: flex; align-items: center; gap: 15px; }
.logo-icon {
    font-size: 50px; background: white; width: 70px; height: 70px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.logo-text h1 { font-size: 18px; margin-bottom: 3px; }
.logo-text p { font-size: 12px; opacity: 0.85; }
.modul-title {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 15px; border-radius: 25px; font-size: 13px;
    font-weight: 600; backdrop-filter: blur(10px);
}

.main-content { padding: 20px 0; }
.menu-intro { text-align: center; margin-bottom: 30px; }
.menu-intro h2 { font-size: 24px; color: #2c3e50; margin-bottom: 8px; }
.menu-intro p { font-size: 14px; color: #7f8c8d; }

.info-banner {
    margin: 20px auto 0; max-width: 800px;
    padding: 15px 25px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-left: 5px solid #2196f3; border-radius: 10px;
    font-size: 13px; color: #0d47a1; text-align: left; line-height: 1.8;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px; padding: 10px 0;
}

.menu-item {
    background: white; border-radius: 16px; padding: 25px 20px;
    text-align: center; color: #2c3e50;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative; overflow: hidden;
    border: 2px solid transparent;
    transition: transform 0.3s, box-shadow 0.3s;
}
.menu-item::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    opacity: 0; transition: opacity 0.3s;
}
.menu-item.active {
    border-color: #27ae60;
    background: linear-gradient(135deg, #ffffff 0%, #f0fff4 100%);
}
.menu-item.active::before {
    background: linear-gradient(90deg, #27ae60, #2ecc71);
    opacity: 1;
}
.menu-item.disabled {
    opacity: 0.7;
    filter: grayscale(30%);
}
.menu-icon {
    font-size: 52px; margin-bottom: 12px; display: block; line-height: 1;
}
.menu-title {
    font-size: 15px; font-weight: 700; color: #2c3e50;
    margin-bottom: 6px; line-height: 1.4;
    min-height: 42px; display: flex; align-items: center; justify-content: center;
}
.menu-code { font-size: 11px; color: #7f8c8d; margin-bottom: 12px; font-style: italic; }
.menu-badge {
    display: inline-block; padding: 4px 12px;
    border-radius: 20px; font-size: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
    background: #27ae60; color: white;
}
.menu-badge.coming { background: #f39c12; }

.security-notice {
    margin: 40px auto 20px; max-width: 800px;
    padding: 25px 30px;
    background: linear-gradient(135deg, #fff9c4, #fff59d);
    border-left: 5px solid #f57f17; border-radius: 10px;
}
.security-notice h3 { color: #e65100; margin-bottom: 10px; }
.security-notice p {
    color: #5d4037; line-height: 1.7; font-size: 14px; margin-bottom: 8px;
}

.main-footer {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: rgba(44, 62, 80, 0.95); color: white;
    text-align: center; padding: 12px 20px; font-size: 12px;
    backdrop-filter: blur(10px); z-index: 100;
}

@media (max-width: 768px) {
    .header-content { flex-direction: column; text-align: center; }
    .menu-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
    .menu-icon { font-size: 42px; }
    .menu-title { font-size: 13px; }
}
