:root {
    /* MD3 Color Tokens (Dark Theme - Purple/Pink Vibes) */
    --md-sys-color-primary: #d0bcff;
    --md-sys-color-on-primary: #381e72;
    --md-sys-color-primary-container: #4f378b;
    --md-sys-color-surface: #141218;
    --md-sys-color-surface-variant: #2b2930; /* Карточки */
    --md-sys-color-on-surface: #e6e1e5;
    --md-sys-color-outline: #938f99;
    --md-sys-color-secondary-container: #4a4458;
    --md-sys-color-tertiary: #efb7ff; /* Розовый акцент */

    /* Shapes */
    --md-sys-shape-corner-large: 24px;
    --md-sys-shape-corner-full: 9999px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: var(--md-sys-color-surface);
    color: var(--md-sys-color-on-surface);
    line-height: 1.6;
}

/* Навигация */
.md-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    position: sticky;
    top: 0;
    background: rgba(20, 18, 24, 0.8);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--md-sys-color-primary);
}

.logo span {
    color: var(--md-sys-color-tertiary);
}

.nav-links {
    display: flex;
    gap: 8px;
}

.md-text-btn {
    color: var(--md-sys-color-on-surface);
    text-decoration: none;
    padding: 10px 24px;
    border-radius: var(--md-sys-shape-corner-full);
    font-weight: 500;
    transition: background 0.2s;
}

.md-text-btn:hover {
    background: rgba(208, 188, 255, 0.08);
}

.md-icon-btn {
    color: var(--md-sys-color-primary);
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s;
}

.md-icon-btn:hover {
    background: var(--md-sys-color-secondary-container);
}

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Замените ссылку ниже на скриншот шейдеров сервера */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(20, 18, 24, 1)), 
                url('https://images.unsplash.com/photo-1607988795691-3d0147b43231?q=80&w=2070&auto=format&fit=crop'); 
    background-size: cover;
    background-position: center;
    padding: 20px;
}

.status-chip {
    background: rgba(76, 175, 80, 0.2);
    color: #81c784;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.dot {
    width: 8px;
    height: 8px;
    background: #81c784;
    border-radius: 50%;
    box-shadow: 0 0 8px #81c784;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 16px;
    background: linear-gradient(90deg, var(--md-sys-color-primary), var(--md-sys-color-tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--md-sys-color-outline);
    margin-bottom: 32px;
}

/* Кнопка IP (FAB Extended style) */
.ip-container {
    background-color: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-primary);
    padding: 16px 32px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.2, 0.0, 0, 1.0);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    user-select: none;
}

.ip-container:hover {
    transform: scale(1.05);
    background-color: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
    box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}

.ip-container:active {
    transform: scale(0.95);
}

.hint {
    margin-top: 12px;
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Основной контент */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
    font-size: 2rem;
    color: var(--md-sys-color-on-surface);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

/* MD3 Card */
.md-card {
    background-color: var(--md-sys-color-surface-variant);
    border-radius: var(--md-sys-shape-corner-large);
    padding: 32px;
    transition: transform 0.2s;
    border: 1px solid transparent;
}

.md-card:hover {
    border-color: var(--md-sys-color-primary);
    transform: translateY(-5px);
}

.card-icon {
    font-size: 48px;
    color: var(--md-sys-color-tertiary);
    margin-bottom: 16px;
}

.md-card h3 {
    margin-bottom: 8px;
    color: var(--md-sys-color-primary);
}

.md-card-large {
    background-color: var(--md-sys-color-secondary-container);
    border-radius: var(--md-sys-shape-corner-large);
    padding: 40px;
    color: var(--md-sys-color-on-surface);
}

.rules-list {
    list-style: none;
    margin-top: 24px;
}

.rules-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.rules-list span {
    color: var(--md-sys-color-primary);
}

/* Footer */
footer {
    text-align: center;
    padding: 40px;
    background-color: #0f0d11;
    color: var(--md-sys-color-outline);
}

.socials {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 24px;
}

.socials a {
    color: var(--md-sys-color-primary);
    text-decoration: none;
}

.socials a:hover {
    text-decoration: underline;
}

/* Toast Notification */
.md-toast {
    visibility: hidden;
    min-width: 250px;
    background-color: var(--md-sys-color-on-surface);
    color: var(--md-sys-color-surface);
    text-align: center;
    border-radius: var(--md-sys-shape-corner-full);
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.3s, bottom 0.3s;
}

.md-toast.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .nav-links { display: none; } /* Можно добавить бургер-меню, если нужно */
    .grid-3 { grid-template-columns: 1fr; }
}
