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

body {
    font-family: "Noto Serif SC", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: #1a1a1a;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-img {
    height: 45px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #ccc;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #ff2222;
}

.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.carousel-container {
    position: relative;
    max-width: 1920px;
    margin: 0 auto;
}

.carousel-slide {
    display: none;
    width: 100%;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 600px;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 16px 20px;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(255, 34, 34, 0.8);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #ff2222;
    width: 36px;
    border-radius: 6px;
}

.dot:hover {
    background: rgba(255, 34, 34, 0.8);
}

.btn {
    padding: 12px 36px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background: #ff2222;
    color: #fff;
}

.btn-primary:hover {
    background: #cc0000;
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #ff2222;
}

.btn-secondary:hover {
    background: #ff2222;
    color: #fff;
}

.features {
    padding: 80px 20px;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #1a1a1a;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 8px;
    background: #f9f9f9;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.feature-card p {
    color: #666;
}

.games-preview {
    padding: 80px 20px;
    background: #f5f5f5;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.game-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-placeholder {
    height: 180px;
    background: linear-gradient(135deg, #1a1a1a 0%, #ff2222 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-icon {
    font-size: 60px;
}

.game-card h4 {
    font-size: 20px;
    padding: 20px 20px 10px;
    color: #1a1a1a;
}

.game-card p {
    color: #666;
    padding: 0 20px 20px;
}

.footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo-img {
    height: 45px;
    width: auto;
    display: block;
}

.footer-links h4,
.footer-contact h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-links a {
    display: block;
    color: #999;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ff2222;
}

.footer-contact p {
    color: #999;
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #666;
}

.page-content {
    padding: 60px 20px;
    background: #fff;
    min-height: 60vh;
}

.page-title {
    font-size: 36px;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: center;
}

.about-section {
    max-width: 800px;
    margin: 0 auto;
}

.about-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .nav {
        gap: 15px;
    }

    .nav-link {
        font-size: 14px;
    }
}
