* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0891b2;
    --secondary-color: #10b981;
    --accent-color: #3b82f6;
    --dark-color: #0f172a;
    --light-color: #f1f5f9;
    --text-color: #475569;
    --border-color: #cbd5e1;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-color);
}

h1 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    padding: 15px 20px;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    display: inline-block;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-left: 15px;
    border-left: 4px dotted var(--secondary-color);
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.875rem;
    color: var(--primary-color);
}

h5 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

h6 {
    font-size: 1rem;
    margin-bottom: 0.625rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Roboto', sans-serif;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #0e7490;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

header {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--dark-color);
    color: white;
    padding: 8px 0;
    font-size: 0.875rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header-contact {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.header-contact a {
    color: white;
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-contact a:hover {
    color: var(--secondary-color);
}

.header-social {
    display: flex;
    gap: 12px;
}

.header-social a {
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.header-social a:hover {
    color: var(--secondary-color);
}

.header-main {
    padding: 18px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.65rem;
    font-weight: 800;
    font-family: 'Roboto', sans-serif;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
}

.hero-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(to right, #e0f2fe, #d1fae5);
    border-radius: 0 0 50px 50px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image-placeholder {
    width: 100%;
    height: 400px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.features-section {
    padding: 80px 0;
    background: white;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-header h2 {
    display: block;
    width: 100%;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-color);
    margin-top: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--light-color);
    padding: 35px 25px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 65px;
    height: 65px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin: 0 auto 1.25rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    border: none;
    padding: 0;
}

.feature-card p {
    color: var(--text-color);
    line-height: 1.6;
}

.stats-section {
    padding: 70px 0;
    background: var(--primary-color);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 35px;
    text-align: center;
}

.stat-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.stat-item h3 {
    font-size: 3rem;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.05rem;
}

.games-section {
    padding: 80px 0;
    background: var(--light-color);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.game-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.game-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #bae6fd, #a7f3d0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.game-content {
    padding: 22px;
}

.game-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    border: none;
    padding: 0;
}

.game-content p {
    color: var(--text-color);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.game-category {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(8, 145, 178, 0.1);
    color: var(--primary-color);
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.cta-section {
    padding: 80px 0;
    background: var(--secondary-color);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: transparent;
    display: block;
}

.cta-section p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

.cta-section .btn {
    background: white;
    color: var(--secondary-color);
    font-size: 1.05rem;
    padding: 14px 35px;
}

.cta-section .btn:hover {
    background: var(--light-color);
}

footer {
    background: var(--dark-color);
    color: white;
    padding: 70px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 45px;
    padding-bottom: 45px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about h3 {
    color: white;
    margin-bottom: 1.25rem;
    border: none;
    padding: 0;
}

.footer-about p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--secondary-color);
}

.footer-links h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: white;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    opacity: 1;
    padding-left: 5px;
    color: var(--secondary-color);
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.8;
    font-size: 0.95rem;
}

.breadcrumb {
    padding: 25px 0;
    background: var(--light-color);
}

.breadcrumb ul {
    list-style: none;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.breadcrumb ul li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb ul li a {
    color: var(--text-color);
}

.breadcrumb ul li a:hover {
    color: var(--primary-color);
}

.breadcrumb ul li:not(:last-child)::after {
    content: '›';
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.5;
}

.page-header {
    padding: 70px 0;
    background: linear-gradient(to right, #e0f2fe, #d1fae5);
    text-align: center;
}

.page-header h1 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.15rem;
    color: var(--text-color);
}

.content-section {
    padding: 70px 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 45px;
}

.sidebar {
    background: white;
    padding: 28px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar h3 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    border: none;
    padding: 0;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    margin-bottom: 10px;
}

.sidebar ul li a {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    color: var(--text-color);
}

.sidebar ul li a:hover,
.sidebar ul li a.active {
    background: rgba(8, 145, 178, 0.1);
    color: var(--primary-color);
}

.main-content {
    background: white;
    padding: 45px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.main-content h2 {
    margin-top: 2.5rem;
    display: block;
    width: 100%;
}

.main-content h2:first-child {
    margin-top: 0;
}

.main-content h3 {
    margin-top: 2rem;
}

.main-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.main-content ul,
.main-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.main-content ul li,
.main-content ol li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.info-box {
    background: rgba(8, 145, 178, 0.05);
    border-left: 4px solid var(--primary-color);
    padding: 22px;
    margin: 2rem 0;
    border-radius: 6px;
}

.info-box h4 {
    margin-bottom: 1rem;
}

.warning-box {
    background: rgba(16, 185, 129, 0.05);
    border-left: 4px solid var(--secondary-color);
    padding: 22px;
    margin: 2rem 0;
    border-radius: 6px;
}

.image-placeholder {
    width: 100%;
    height: 380px;
    background: linear-gradient(135deg, #bae6fd, #a7f3d0);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
    font-size: 1.1rem;
    color: var(--primary-color);
    flex-direction: column;
    gap: 10px;
}

.table-responsive {
    overflow-x: auto;
    margin: 2rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

table thead {
    background: var(--primary-color);
    color: white;
}

table th,
table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

table tbody tr:hover {
    background: var(--light-color);
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-marker {
    width: 16px;
    height: 16px;
    background: var(--secondary-color);
    border: 3px solid white;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.timeline-content h3 {
    border: none;
    padding: 0;
    margin-bottom: 0.75rem;
}

.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 70px 0;
}

.error-content h1 {
    font-size: 7rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.error-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    background: transparent;
    color: var(--dark-color);
    display: block;
}

.error-content p {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

@media (max-width: 1200px) {
    .content-wrapper {
        grid-template-columns: 1fr 250px;
        gap: 35px;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        flex-direction: column;
        background: white;
        width: 260px;
        height: 100vh;
        padding: 70px 25px 25px;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
        z-index: 999;
        align-items: flex-start;
        gap: 15px;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.85rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1.05rem;
    }
    
    .features-section,
    .games-section,
    .cta-section {
        padding: 60px 0;
    }
    
    .stats-section {
        padding: 50px 0;
    }
    
    .main-content {
        padding: 30px 20px;
    }
    
    .page-header {
        padding: 50px 0;
    }
    
    .page-header h1 {
        font-size: 1.85rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .header-top .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .header-contact {
        flex-direction: column;
        gap: 8px;
    }
    
    .error-content h1 {
        font-size: 4.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item h3 {
        font-size: 2.25rem;
    }
}

