/* styles.css - Единый современный дизайн Big Land Top */
:root {
    --neon-green: #00ff9d;
    --neon-pink: #ff00aa;
    --neon-blue: #00ccff;
    --dark-bg: #0a0a0a;
    --card-bg: rgba(20, 20, 30, 0.92);
}

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

body {
    font-family: 'Segoe UI', system-ui, Arial, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0033 100%);
    color: #e0e0e0;
    min-height: 100vh;
    line-height: 1.6;
}

/* Общие заголовки */
h1 {
    font-size: 3.8rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--neon-green), var(--neon-pink), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(0, 255, 157, 0.6);
    letter-spacing: 4px;
    text-align: center;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.35rem;
    color: var(--neon-pink);
    text-shadow: 0 0 15px var(--neon-pink);
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 30px;
}

/* Навигация */
.nav {
    text-align: center;
    margin: 25px 0 50px;
}
.nav a {
    color: var(--neon-green);
    margin: 0 25px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
}
.nav a:hover {
    color: #fff;
    text-shadow: 0 0 20px var(--neon-green);
}

/* Формы (register & login) */
.form-container {
    max-width: 460px;
    margin: 0 auto;
    background: #111;
    padding: 40px 30px;
    border: 2px solid var(--neon-green);
    border-radius: 16px;
    box-shadow: 0 0 30px rgba(0, 255, 157, 0.3);
}

.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="password"] {
    width: 100%;
    padding: 14px;
    margin: 12px 0;
    background: #222;
    color: #0f0;
    border: 1px solid var(--neon-green);
    border-radius: 8px;
    font-size: 16px;
}

.form-container button {
    background: var(--neon-green);
    color: #000;
    padding: 14px 40px;
    font-size: 17px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s;
}

.form-container button:hover {
    background: #ff0;
    transform: scale(1.05);
}

/* ==================== Главная страница ==================== */
.ranking-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ТОП-3 */
.top-3 {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.top-card {
    background: linear-gradient(145deg, #1f0033, #2a0044);
    border: 2px solid var(--neon-pink);
    border-radius: 20px;
    width: 360px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(255, 0, 170, 0.5);
    transition: all 0.4s ease;
    position: relative;
}

.top-card:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 0 60px rgba(255, 0, 170, 0.7);
}

.top-card::before {
    content: "★ TOP";
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--neon-pink);
    color: #000;
    font-weight: 900;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    box-shadow: 0 0 15px var(--neon-pink);
    z-index: 2;
}

.top-card .rank {
    font-size: 3.5rem;
    font-weight: 900;
    text-align: center;
    padding: 15px 0;
    background: rgba(0,0,0,0.4);
    color: #fff;
    text-shadow: 0 0 20px var(--neon-pink);
}

.top-card .banner {
    padding: 15px 15px 10px;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    overflow-x: auto;
    white-space: nowrap;
}

.top-card .banner img {
    max-width: 100%;
    height: 60px;
    object-fit: contain;
    border: 3px solid var(--neon-blue);
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(0, 204, 255, 0.6);
    display: block;
    margin: 0 auto;
}

.top-card .info {
    padding: 20px;
    text-align: center;
}
.top-card .info h3 {
    color: var(--neon-green);
    margin-bottom: 10px;
    font-size: 1.4rem;
}
.top-card .info p {
    color: #ccc;
    font-size: 0.95rem;
    margin-bottom: 15px;
}
.top-card .stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 1.1rem;
}
.top-card .stats strong {
    color: var(--neon-green);
    font-size: 1.5rem;
}

/* Обычные карточки */
.site-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 255, 157, 0.25);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 18px 25px;
    gap: 25px;
}

.site-card:hover {
    border-color: var(--neon-green);
    box-shadow: 0 0 35px rgba(0, 255, 157, 0.4);
    transform: translateY(-5px);
}

.site-card .rank {
    font-size: 2.2rem;
    font-weight: 900;
    color: #888;
    width: 70px;
    text-align: center;
}
.site-card .banner img {
    max-width: 468px;
    height: 60px;
    object-fit: contain;
    border: 2px solid rgba(0, 204, 255, 0.4);
    border-radius: 8px;
}
.site-card .info {
    flex: 1;
}
.site-card .info h3 {
    color: var(--neon-green);
    margin-bottom: 8px;
}
.site-card .info p {
    color: #bbbbbb;
    line-height: 1.5;
}
.site-card .stats {
    display: flex;
    gap: 35px;
    margin-top: 12px;
}
.site-card .stats strong {
    color: var(--neon-green);
}

/* Футер */
footer {
    text-align: center;
    padding: 50px 20px 30px;
    color: #666;
    font-size: 0.95rem;
}

/* Адаптивность */
@media (max-width: 1100px) {
    .top-card { width: 320px; }
}
@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    .site-card { flex-direction: column; text-align: center; }
    .site-card .banner { margin-bottom: 15px; }
    .top-card .banner img { height: 55px; }
}

/* SEO & Accessibility */
h1, h2, h3 {
    font-weight: 700;
}

img {
    max-width: 100%;
    height: auto;
}

.meta-description {
    display: none; /* скрыто от пользователей, но важно для SEO */
}

/* ==================== Блок рекламы ==================== */
.advertisement {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    background: rgba(20, 20, 35, 0.85);
    border: 2px solid var(--neon-blue);
    border-radius: 16px;
    box-shadow: 0 0 30px rgba(0, 204, 255, 0.3);
    text-align: center;
    backdrop-filter: blur(8px);
}

.advertisement .ad-label {
    color: #888;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.advertisement .banner-468 {
    max-width: 468px;
    height: 60px;
    border: 2px solid var(--neon-pink);
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(255, 0, 170, 0.4);
    margin: 0 auto;
    display: block;
}

.advertisement .banner-468:hover {
    box-shadow: 0 0 35px rgba(255, 0, 170, 0.6);
}