/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark Modern Color Palette */
    --bg-primary: #0a0e1a;
    --bg-secondary: #1a1f2e;
    --bg-card: #2d3748;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --accent-primary: #4a90e2;
    --accent-secondary: #ff6b6b;
    --button-primary: #4a90e2;
    --button-hover: #5aa0f2;
    --border-color: #4a5568;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Header */
.header {
    background: rgba(26, 31, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-primary);
}

.btn-signup {
    background: var(--button-primary);
    color: var(--text-primary);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-signup:hover {
    background: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 0.5rem;
    z-index: 1001;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 5rem 2rem 2rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    transition: color 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--accent-primary);
}

.mobile-btn-signup {
    background: var(--button-primary);
    color: var(--text-primary);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.mobile-btn-signup:hover {
    background: var(--button-hover);
}

/* Buttons */
.btn-primary,
.btn-hero,
.btn-play {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--text-primary);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover,
.btn-hero:hover,
.btn-play:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    opacity: 0.9;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* Popups */
.age-popup,
.cookie-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.age-popup.active,
.cookie-popup.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.age-popup-content,
.cookie-popup-content {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: var(--radius-lg);
    max-width: 500px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.age-popup-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.age-popup-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.age-popup-logos {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.cookie-popup-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.cookie-popup-content p {
    margin-bottom: 1rem;
}

.cookie-popup-content a {
    color: var(--accent-primary);
    text-decoration: underline;
}

/* Hero Section */
.hero {
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.btn-hero {
    margin: 2rem 0;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card,
.feature-box {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 220px;
}

.feature-card:hover,
.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.feature-icon,
.feature-box-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3,
.feature-box h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-card p,
.feature-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    font-size: 2rem;
}

.journey-milestones {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.milestone {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.milestone-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Card Game Rules */
.rules-content {
    margin-top: 3rem;
}

.rules-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.rule-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.rule-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.rule-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.rule-card ul {
    list-style: none;
    margin-top: 1rem;
}

.rule-card ul li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.rule-card ul li:last-child {
    border-bottom: none;
}

.advanced-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advanced-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

/* Tournaments, Events, Rewards */
.tournaments-content,
.events-content,
.rewards-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tournaments-image img,
.events-image img,
.rewards-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.tournaments-features,
.events-features,
.rewards-features {
    list-style: none;
    margin-top: 1.5rem;
}

.tournaments-features li,
.events-features li,
.rewards-features li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.tournaments-features li:last-child,
.events-features li:last-child,
.rewards-features li:last-child {
    border-bottom: none;
}

/* Games Grid */
.games-grid {
    display: grid;
    gap: 2rem;
    width: 100%;
    justify-items: stretch;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Grid для 2 карточек */
.games-grid.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

/* Grid для 3 карточек */
.games-grid.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Grid для 4 карточек */
.games-grid.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Исправление для grid-net (если используется другое название) */
.games-grid[class*="grid"] {
    width: 100%;
    display: grid;
    gap: 2rem;
    justify-items: stretch;
}

.game-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.game-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-primary);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 10;
}

.game-badge.new {
    background: var(--accent-secondary);
}

.game-badge.favorite {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: var(--bg-primary);
}

.game-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-secondary);
    flex-shrink: 0;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.game-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.25rem;
    margin: 0;
    flex-grow: 1;
}

.game-actions {
    padding: 0 1.5rem 1.5rem;
    margin-top: auto;
}

.btn-play {
    width: 100%;
    text-align: center;
    display: block;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-primary);
}

.review-location {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.review-stars {
    color: #ffd700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.review-text {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.review-date {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.faq-column h3 {
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
}

.faq-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-question h4 {
    margin: 0;
    font-size: 1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent-primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
}

/* Contact */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group.checkbox input {
    width: auto;
}

.form-group.checkbox label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.form-group.checkbox a {
    color: var(--accent-primary);
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 2rem;
}

.contact-details h4 {
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: var(--accent-primary);
    text-decoration: none;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 4rem 0 1.5rem;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0.5;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    margin-bottom: 1.25rem;
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), transparent);
    border-radius: 2px;
}

.footer-section p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-section ul li {
    margin: 0;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    position: relative;
    padding-left: 0;
}

.footer-section ul li a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--accent-primary);
}

.footer-section ul li a:hover {
    color: var(--accent-primary);
    padding-left: 1rem;
    transform: translateX(5px);
}

.footer-section ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-section a[href^="mailto:"] {
    color: var(--accent-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section a[href^="mailto:"]:hover {
    color: var(--accent-secondary);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.8;
}

/* Safe Gaming Section */
.safe-gaming {
    padding: 4rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.safe-gaming-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.safe-gaming-logo {
    width: 150px;
    height: 75px;
    object-fit: contain;
    opacity: 0.9;
    transition: all 0.3s ease;
    filter: grayscale(20%);
}

.safe-gaming-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.safe-gaming-link {
    text-align: center;
    margin-top: 2rem;
}

.safe-gaming-link a {
    text-decoration: none;
}

/* Page Hero */
.page-hero {
    padding: 4rem 0;
    text-align: center;
    background: var(--bg-secondary);
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* Policy Content */
.policy-content {
    padding: 4rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.policy-content h1 {
    margin-bottom: 1rem;
}

.policy-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.policy-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.policy-content ul li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.policy-content a {
    color: var(--accent-primary);
    text-decoration: none;
}

.policy-content a:hover {
    text-decoration: underline;
}

/* Market & Servers */
.market-content,
.servers-content {
    padding: 4rem 0;
}

.market-grid,
.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.market-item,
.server-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.market-item:hover,
.server-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.status {
    font-weight: 600;
    margin: 0.5rem 0;
}

.status.online {
    color: #4ade80;
}

/* Game Page Styles */
.game-page {
    min-height: 100vh;
    padding: 0;
    background: var(--bg-primary);
}

.game-container {
    width: 100%;
    height: 100vh;
    position: relative;
    padding-top: 70px;
}

.game-iframe {
    width: 100%;
    height: calc(100vh - 70px);
    border: none;
    background: var(--bg-primary);
}

.game-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 31, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.game-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-back-btn {
    background: var(--button-primary);
    color: var(--text-primary);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.game-back-btn:hover {
    background: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    /* На планшетах: 4 карточки -> 2x2, 3 карточки -> 2+1, 2 карточки -> 2 */
    .games-grid.grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .games-grid.grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .games-grid.grid-3 .game-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .nav {
        display: none;
    }

    .btn-signup {
        display: none;
    }

    .mobile-nav {
        display: block;
    }

    .logo-img {
        width: 32px;
        height: 32px;
    }

    .logo a {
        font-size: 1.25rem;
    }

    .safe-gaming-logos {
        gap: 2rem;
    }

    .safe-gaming-logo {
        width: 120px;
        height: 60px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* На мобильных все карточки в одну колонку */
    .games-grid.grid-2,
    .games-grid.grid-3,
    .games-grid.grid-4 {
        grid-template-columns: 1fr;
    }

    .games-grid.grid-3 .game-card:last-child {
        grid-column: 1;
        max-width: 100%;
        margin: 0;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 4rem 0 3rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .about-content,
    .tournaments-content,
    .events-content,
    .rewards-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .features-grid,
    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-stats,
    .journey-milestones {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .rules-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .advanced-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: left;
    }

    .footer-section h4::after {
        width: 30px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    section {
        padding: 3rem 0;
    }

    .game-container {
        padding-top: 60px;
    }

    .game-iframe {
        height: calc(100vh - 60px);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .feature-card,
    .feature-box,
    .rule-card,
    .game-card {
        padding: 1.5rem;
    }

    .btn-hero,
    .btn-primary,
    .btn-play {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .age-popup-content,
    .cookie-popup-content {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .policy-content {
        padding: 2rem 0;
    }

    .responsible-logos {
        gap: 1rem;
    }

    .responsible-logos img {
        width: 100px;
        height: auto;
    }

    .footer {
        padding: 3rem 0 1rem;
    }

    .footer-content {
        gap: 2rem;
    }

    .footer-section h3 {
        font-size: 1.25rem;
    }

    .footer-section h4 {
        font-size: 1rem;
    }
}

