/* ==============================
   Game Website - Main Stylesheet
   ============================== */

:root {
    --primary-color: #9a1c1f;
    --secondary-color: #6d2f13;
    --accent-color: #f8c15c;
    --text-dark: #1f1f1f;
    --text-light: #555;
    --bg-light: #f7f3f0;
    --bg-dark: #241613;
    --white: #fff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
    --max-width: 1500px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Be Vietnam Pro', sans-serif;
    --header-offset: 112px;
}

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

body {
    background: radial-gradient(circle at 15% 10%, #fff8f2 0%, #f8f2ec 40%, #f3ece6 100%);
    font-family: var(--font-body);
    letter-spacing: 0.01em;
}

.home-main {
    position: relative;
}

main.container {
    padding-top: calc(var(--spacing-lg) + 1.25rem);
}

section[id] {
    scroll-margin-top: calc(var(--header-offset) + 12px);
}

.home-main .about-title {
    margin-bottom: 1rem;
}

.page-hero {
    text-align: center;
    padding: 1.2rem 1rem;
    margin-top: 0.5rem;
}

.page-hero h1 {
    text-align: center;
}

.page-hero p {
    max-width: 860px;
    margin: 0.6rem auto 0;
}

.section-shell {
    border-radius: 18px;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.95), rgba(255, 250, 246, 0.88));
    padding: 1.2rem 1.2rem 1.6rem;
    margin-top: 2.4rem;
    border: 1px solid #efdfd6;
    box-shadow: 0 10px 28px rgba(51, 24, 13, 0.08);
}

.section-shell-dark {
    background: linear-gradient(130deg, #2b1712 0%, #3b2117 100%);
    border-color: #4c2b1f;
}

.section-shell-dark h2,
.section-shell-dark h3,
.section-shell-dark p,
.section-shell-dark li,
.section-shell-dark strong {
    color: #f8ede7;
}

.section-shell-dark .about-grid-content li {
    color: #f4e8df;
}

.section-shell-dark .about-grid-content li strong {
    color: #fff7ef;
}

.section-shell-dark .about-grid-content p {
    color: #f1e2d7;
}

.section-shell-dark .btn-primary {
    background: linear-gradient(120deg, #c34a2b, #af1e24);
}

.section-shell-dark .btn-primary:hover {
    background: linear-gradient(120deg, #af1e24, #c34a2b);
}


/* ======= Header / Navigation ======= */
header {
    background-color: rgba(255, 255, 255, 0.92);
    color: var(--primary-color);
    padding: 8px 0;
    min-height: auto;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header-top {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 0.5rem;
    font-weight: bold;
    text-decoration: none;
    color: #9a1c1f;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.logo-text {
    font: size 0.5rem; 
    font-weight: bold;
    white-space: nowrap;
} 

header nav ul {
    list-style: none;
    display: flex;
    gap: var(--spacing-lg);
}

header nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: color 0.25s ease, border-color 0.25s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
    font-family: var(--font-body);
}

header nav a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

header nav a.nav-link-active {
    color: var(--secondary-color);
    border-bottom-color: var(--accent-color);
}

/* ======= Main Content Container ======= */
main {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--spacing-lg);
    flex: 1;
}

/* ======= Typography ======= */
h1 {
    text-align: center;
    font-size: 3rem;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

h1.about-title {
    text-align: center;
    font-size: 3rem;
    color: var(--secondary-color);
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

h2 {
    text-align: center;
    color: var(--secondary-color);
    margin: var(--spacing-xl) 0 var(--spacing-lg) 0;
    font-size: 2rem;
    text-align: left;
    font-family: var(--font-heading);
    letter-spacing: 0.03em;
}

h3 {
    color: var(--secondary-color);
    margin: var(--spacing-md) 0 var(--spacing-sm) 0;
    font-size: 1.3rem;
    font-family: var(--font-body);
}

p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
    font-size: 1.05rem;
}

.hero {
    position: relative;
    width: 100%;
    height: calc(68vh - 60px);
    min-height: 500px;
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(22, 9, 5, 0.84) 5%, rgba(30, 12, 6, 0.58) 45%, rgba(30, 12, 6, 0.25) 100%);
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: min(760px, 92%);
    margin: 0 auto;
    color: var(--white);
}

.hero-kicker {
    color: var(--accent-color);
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.hero-title {
    color: var(--white);
    text-align: left;
    font-size: 3.6rem;
    line-height: 1.1;
    margin-bottom: 0.8rem;
    letter-spacing: 0.03em;
}

.hero-desc {
    color: #f0e9e3;
    max-width: 640px;
    margin-bottom: 1.4rem;
    font-size: 1.1rem;
}

.hero-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    margin-bottom: 1.2rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 0.7rem;
}

.hero-stat {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
}

.hero-stat strong {
    display: block;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.hero-stat span {
    color: #efe0d8;
    font-size: 0.82rem;
}

/* ======= Hero Banner ======= */
.heror {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: 450px;
    overflow: hidden;
    margin-bottom: var(--spacing-xl);
}

.heror img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ======= Section Intro ======= */
.about-intro {
    font-size: 1.3rem;
    color: var(--text-light);
    margin: var(--spacing-lg) auto;
    padding: 0.5rem 0;
    background: transparent;
    border-radius: 0;
    text-align: center;
    box-shadow: none;
    line-height: 1.8;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.news-cta-wrap {
    text-align: center;
    margin-top: 2rem;
}


/* ======= Games Container ======= */
.games-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    margin: var(--spacing-lg) auto;
    max-width: 1200px;
    justify-content: center;
}

/* ======= Game Card ======= */
.game-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.game-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.game-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.game-info {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.game-info h3 {
    margin-top: 0;
    margin-bottom: var(--spacing-sm);
}

.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}

.game-tag {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #7c2d19;
    background: #fdebdc;
    border: 1px solid #f5ccb0;
}

.game-info p {
    margin: var(--spacing-xs) 0;
    font-size: 0.95rem;
}

.game-info strong {
    color: #6d2f13;
}

/* ======= Buttons ======= */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    margin-top: var(--spacing-sm);
    font-family: var(--font-body);
    letter-spacing: 0.01em;
}

.btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(120deg, var(--secondary-color), var(--primary-color));
}

.btn-primary:hover {
    background: linear-gradient(120deg, var(--primary-color), var(--secondary-color));
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.65);
    color: var(--white);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
}

.btn-secondary-dark {
    background: #5e5a57;
    color: #fff;
}

.btn-secondary-dark:hover {
    background: #4f4b48;
    color: #fff;
}

.btn-fluid {
    width: 100%;
}

/* ======= About Section Grid ======= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    margin: var(--spacing-lg) auto;
    max-width: 1200px;
    text-align: center;
}

.about-grid-content {
    text-align: left;
}
.about-grid img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    object-fit: cover;
}

.about-grid-content ul {
    list-style: none;
    margin: var(--spacing-md) 0;
}

.about-grid-content li {
    padding: var(--spacing-sm) 0;
    color: var(--text-light);
}

.about-grid-content li:before {
    content: " ";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* ======= News Section ======= */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    margin: var(--spacing-lg) 0;
}

.news-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.news-card:hover .news-card-image {
    transform: scale(1.05);
}

.news-card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    height: 300px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.news-card-image {
    width: 100%;
    overflow: hidden;
    transition: transform 0.45s ease;
}

.news-card-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.news-card-content {
    padding: var(--spacing-md);
}

.news-card-body {
    padding: var(--spacing-lg);
}

.news-card-tag {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: var(--spacing-sm);
}

.news-card-tag-primary {
    background: var(--primary-color);
}

.news-card-date {
    color: #999;
    font-size: 0.9rem;
    margin-top: var(--spacing-md);
}

.news-category {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.news-card-title {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.news-card-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.news-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 700;
}

.news-card-duration {
    color: #999;
}

.news-page-grid {
    grid-template-columns: repeat(3, 1fr);
}

.news-pagination {
    text-align: center;
    margin-top: 2rem;
}

.news-pagination .btn {
    margin: 0 0.3rem;
}

.news-pagination span {
    margin: 0 0.5rem;
    color: var(--text-light);
}

/* ======= Forms ======= */
form {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    max-width: 600px;
    margin: var(--spacing-lg) auto;
}

input,
textarea {
    width: 100%;
    padding: var(--spacing-sm);
    margin: var(--spacing-sm) 0 var(--spacing-md) 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(102, 126, 234, 0.2);
}

label {
    display: block;
    margin-top: var(--spacing-md);
    font-weight: 600;
    color: var(--text-dark);
}

/* ======= Footer ======= */
footer {
    background-color: #1b1a1a;
    color: var(--white);
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-xl);
    margin-top: var(--spacing-xl);
    border-top: 3px solid #ede3de;
}

footer p {
    margin: var(--spacing-sm) 0;
    color: #c9c9c9;
}

footer a {
    color: #ffd700;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* ======= About Page - Vision & Mission ======= */
.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin: var(--spacing-lg) 0;
}

.vision-card,
.mission-card {
    background: #f9f9f9;
    padding: var(--spacing-lg);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.mission-card {
    border-left-color: var(--secondary-color);
}

.vision-card h3,
.mission-card h3 {
    margin-bottom: var(--spacing-sm);
    color: #6d2f13;
}

.mission-card h3 {
    color: #6d2f13;
}

/* ======= About Page - Core Values ======= */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

.value-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.value-card h3 {
    color: #6d2f13;
    margin-bottom: var(--spacing-sm);
}

/* ======= About Page - Achievements ======= */
.achievements-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin: var(--spacing-lg) 0;
}

.achievements-list {
    list-style: none;
}

.achievements-list li {
    display: flex;
    align-items: center;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid #eee;
}

.achievements-list li:last-child {
    border-bottom: none;
}

.achievement-number {
    font-size: 1.8rem;
    color: #6d2f13;
    font-weight: bold;
    min-width: 120px;
}

.achievement-text {
    color: var(--text-light);
    font-size: 1rem;
}

/* ======= About Page - CTA Section ======= */
.cta-section {
    text-align: center;
    margin: var(--spacing-xl) 0 var(--spacing-lg) 0;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

.flex-center {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
    align-items: start;
}

.contact-hero {
    background: linear-gradient(125deg, #3b1f16, #542616 45%, #7b2d1d 100%);
    border-radius: 18px;
    padding: 1.8rem 1.5rem;
    border: 1px solid #7f3b28;
}

.contact-hero h1 {
    color: #fff7ef;
}

.contact-hero p {
    color: #f4dfd3;
}

.contact-hero-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.contact-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff6ef;
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    font-size: 0.82rem;
    font-weight: 600;
}

.contact-section-shell {
    background: linear-gradient(155deg, rgba(255, 253, 251, 0.95), rgba(254, 247, 241, 0.92));
}

.contact-form-card,
.contact-info-card,
.social-card {
    background: #fff;
    border: 1px solid #eddace;
    box-shadow: 0 8px 20px rgba(56, 27, 14, 0.08);
}

.required-mark {
    color: #c04040;
}

.contact-card-desc {
    margin-top: -0.4rem;
    margin-bottom: 0.9rem;
    font-size: 0.95rem;
}

.social-card {
    margin-top: 1.5rem;
}

.social-links {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid #e4c4b1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.social-links a:hover {
    background: #fdf0e8;
    border-color: #d49d7b;
    transform: translateY(-2px);
}

.contact-info-item {
    margin-bottom: 1rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid #f1e3da;
}

.contact-info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-info-item h3 {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.45rem;
    font-size: 1rem;
}

.contact-info-item p {
    margin-bottom: 0;
}

.contact-info-item a {
    color: var(--secondary-color);
    text-decoration: none;
}

.contact-info-item a:hover {
    color: var(--primary-color);
}

.game-detail-container {
    width: 100%;
    max-width: 1200px;
    padding: 0.5rem;
    margin: 0 auto;
}

.game-header {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2rem;
    align-items: flex-start;
}

.game-cover {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
}

.game-cover img {
    width: 100%;
    height: auto;
    display: block;
}

.game-info-panel {
    background: #f9f7f5;
    padding: 1.2rem;
    border-radius: 12px;
    border-left: 5px solid var(--secondary-color);
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid #eee;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 700;
    color: var(--secondary-color);
    min-width: 150px;
}

.info-value {
    color: var(--secondary-color);
    text-align: right;
}

.rating-stars {
    color: #ffc107;
}

.price-tag {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0.7rem 0;
}

.btn-group {
    display: flex;
    gap: 0.6rem;
    margin-top: 1rem;
}

.section {
    margin: 1.4rem 0;
}

.section h2 {
    margin-top: 0;
}

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

.screenshot {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}

.screenshot:hover {
    transform: scale(1.04);
}

.screenshot img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.requirements {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.req-card {
    background: #f9f7f5;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.req-card h3 {
    margin-top: 0;
}

  