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

@font-face {
    font-family: 'CustomFont';
    src: url('res/font.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #e5e7eb;
    background: #000000;
}

h1, h2 {
    font-family: 'CustomFont', sans-serif;
}

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

header {
    text-align: center;
    padding: 100px 20px 60px;
    /*background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);*/
    background-image: url('res/2.png');
    background-size: cover;
    background-position: center;
}

header h1 {
    font-size: 5rem;
    margin-bottom: 15px;
    color: #fee499;
    text-shadow: 2px 2px 4px #E7CF6D;
}

.tagline {
    font-size: 1.8rem;
    color: #ffc757;
    text-shadow: 2px 2px 4px #fee499;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background: #fee499;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
}

.btn:hover {
    background: #56bfa8;
}

section {
    padding: 60px 20px;
    /*border-bottom: 1px solid #374151;*/
}

section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #fff;
}

.about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about p {
    color: #9ca3af;
}

.placeholder {
    background: #1f2937;
    border: 2px dashed #4b5563;
    border-radius: 10px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}

.imgContent {
    background: #1f2937;
    border: 1px solid #4b5563;
    border-radius: 10px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}

.how-to-play {
    background: #000000;
}

.how-to-play ol {
    padding-left: 25px;
}

.how-to-play li {
    margin-bottom: 15px;
    color: #9ca3af;
}

.how-to-play strong {
    color: #fff;
}

.reviews {
    background: #000000;
}

.review-card {
    background: #1f2937;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    border-left: 4px solid #fee499;
}

.review-card p {
    color: #e5e7eb;
    margin-bottom: 10px;
}

.how-to-play .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

.how-to-play .image {
    flex: 0 0 auto;
}

.how-to-play .image img {
    max-width: 450px;
    width: 100%;
    height: auto;
}

.how-to-play .content {
    flex: 1;
}

.author {
    color: #6b7280;
    font-size: 0.9rem;
    font-family: 'CustomFont', sans-serif;
}

.stars-container {
    position: relative;
    display: inline-block;
    font-size: 1.5rem;
    height: 1.5rem;
    margin-bottom: 8px;
}

.stars-bg, .stars-fill {
    display: flex;
    gap: 4px;
}

.stars-bg::before {
    content: "☆☆☆☆☆";
    color: #4b5563;
    letter-spacing: 4px;
}

.stars-bg-km::before {
    content: "☆";
    color: #4b5563;
    letter-spacing: 4px;
}

.stars-fill {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    white-space: nowrap;
}

.stars-fill-km {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    white-space: nowrap;
}

.stars-fill::before {
    content: "★★★★★";
    color: #fbbf24;
    letter-spacing: 4px;
}

.stars-fill-km::before {
    content: "★";
    color: #fb2424;
    letter-spacing: 4px;
}

.rating-score {
    display: block;
    color: #9ca3af;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.cta {
    text-align: center;
    background: #000000;
    border-bottom: none;
}

.cta h2 {
    margin-bottom: 20px;
}

.email {
    margin-top: 20px;
    color: #9ca3af;
}

.email a {
    color: #fee499;
    text-decoration: none;
}

footer {
    text-align: center;
    padding: 30px;
    background: #201a04;
    color: #6b7280;
}

@media (max-width: 768px) {
    .about .container {
        grid-template-columns: 1fr;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .how-to-play .container {
        flex-direction: column;
    }
    
    .how-to-play .image img {
        max-width: 100%;
    }
}