@import url('https://fonts.googleapis.com/css2?family=Alegreya:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=Inria+Serif:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    max-width: 100%;
    padding-top: 70px;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3A0606 0%, #5A0808 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    position: relative;
}

.loader-spinner::before,
.loader-spinner::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-spinner::before {
    width: 100%;
    height: 100%;
    border: 3px solid #EBD5AB;
    animation: spin 1s linear infinite;
}

.loader-spinner::after {
    width: 100%;
    height: 100%;
    border: 3px solid rgba(235, 213, 171, 0.3);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

.animate-fade {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-fade.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.form-group {
    position: relative;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #8B4545;
    background-color: rgba(139, 69, 69, 0.12);
    box-shadow: 0 0 0 3px rgba(139, 69, 69, 0.15);
}

.form-group input.error::placeholder,
.form-group textarea.error::placeholder {
    color: #6A3535;
    font-weight: 500;
}

.form-group input.error:focus,
.form-group textarea.error:focus {
    border-color: #8B4545;
    background-color: rgba(139, 69, 69, 0.18);
    box-shadow: 0 0 0 4px rgba(139, 69, 69, 0.2), 0 8px 20px rgba(139, 69, 69, 0.15);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background: linear-gradient(135deg, #3A0606 0%, #5A0808 100%);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #C5C5C5;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid transparent;
    padding-bottom: 3px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #EBD5AB, transparent);
    transition: transform 0.3s ease;
}

.nav-menu a:hover {
    color: #fff;
    border-bottom-color: transparent;
}

.nav-menu a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-menu a.active {
    color: #EBD5AB;
    font-weight: 600;
}

.nav-menu a.active::after {
    transform: translateX(-50%) scaleX(1);
    background: linear-gradient(90deg, transparent, #EBD5AB, transparent);
}

/* ============================================
   HAMBURGER BUTTON
   ============================================ */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #EBD5AB;
    border-radius: 2px;
    transition: all 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Nav Overlay (injected via JS) */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 990;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.38s ease;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.nav-overlay.visible {
    display: block;
}

.nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.hero-section {
    background-image: url('../assets/background home.png');
    background-size: cover;
    background-position: center 78%;
    background-repeat: no-repeat;
    padding-top: 135px;
    padding-bottom: 135px;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.hero-content {
    max-width: 960px;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
}

.hero-logo {
    width: 555px;
    max-width: 90%;
    height: auto;
    margin-bottom: 10px;
}

.hero-title {
    font-family: 'Alegreya', serif;
    font-size: 3rem;
    color: #3A0606;
    margin-bottom: 1px;
    text-shadow: 2px 2px 8px rgba(58, 6, 6, 0.15);
    font-weight: 800;
    letter-spacing: 1px;
}

.hero-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    color: #fff;
    line-height: 1.9;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-section .btn-primary {
    min-width: 270px;
    justify-content: center;
    padding: 17px 42px;
    border-radius: 999px;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.about-section {
    padding: 80px 0;
    background: #EBD5AB;
}

.section-title {
    font-family: 'Inria Serif', serif;
    font-size: 2.5rem;
    color: #3A0606;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
    letter-spacing: 1.5px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(58, 6, 6, 0.1);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #3A0606, transparent);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(58, 6, 6, 0.3);
}
.profile-card {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    max-height: 250px;
    overflow: visible;
    
    background-color: #3A0606;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 40px;
    padding-right: 40px;
    
    border-width: 4px;
    border-style: solid;
    border-color: #3A0606;
    border-radius: 20px;
    
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-card:hover {
    box-shadow: 0 15px 45px rgba(0,0,0,0.2);
    transform: translateY(-5px);
}

.profile-image {
    position: relative;
    flex-shrink: 0;
    
    margin-top: -80px;
    margin-bottom: -80px;
    margin-left: -44px;
    margin-right: 0;
}

.profile-image img {
    width: 250px;
    height: 300px;
    object-fit: cover;
    
    border-width: 4px;
    border-style: solid;
    border-color: #3A0606;
    border-radius: 15px;
    
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.profile-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-left: -50px;
}

.profile-info h3 {
    font-family: 'Inria Serif', serif;
    font-size: 3.5rem;
    color: #EBD5AB;
    margin-bottom: 10px;
    margin-left: 250px;
    font-weight: 700;
    text-align: left;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.profile-quote {
    background-color: #866060;
    
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 40px;
    padding-right: 30px;
    
    margin-top: 0;
    margin-bottom: 20px;
    margin-left: 0;
    margin-right: 0;
    
    border-left: none;
    border-right-width: 4px;
    border-right-style: solid;
    border-right-color: #3A0606;
    border-radius: 12px;
}

.quote-header {
    display: flex;
    align-items: center;
    gap: 1px;
    margin-bottom: 1px;
}

.quote-icon {
    width: 24px;
    height: 24px;
    color: #3A0606;
    opacity: 0.7;
    margin-top: -12px;
}

.quote-title {
    font-family: 'Inria Serif', serif;
    font-size: 1.8rem;
    color: #000000;
    font-weight: 700;
    text-align: left;
}

.quote-text {
    font-size: 1.5rem;
    color: #000000;
    line-height: 1.6;
    margin: 0;
    padding-left: 30px;
    text-align: left;
}

.profile-desc {
    font-size: 1rem;
    color: #fff;
    font-weight: 500;
    margin: 0;
    margin-left: 40px;
    text-align: left;
}

.game-section {
    padding: 80px 0;
    background: #EBD5AB;
}

.game-showcase {
    max-width: 1200px;
    margin: 0 auto;
}

.game-card {
    display: flex;
    gap: 0;
    overflow: hidden;
    
    background-color: #3A0606;
    
    border: none;
    border-radius: 20px;
    
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}

.game-preview {
    flex: 0 0 auto;
    background: #866060;
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-frame {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 340px;
    transition: transform 0.5s ease;
    gap: 0;
}

.game-card:hover .image-frame {
    transform: scale(1.02);
}

.board-image {
    width: 100%;
    height: auto;
    max-height: 320px;
    border-radius: 12px 12px 0 0;
    object-fit: contain;
    object-position: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    display: block;
}

.image-overlay {
    width: 100%;
    background: rgba(58, 6, 6, 0.92);
    padding: 10px 16px;
    border-radius: 0 0 12px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(235, 213, 171, 0.15);
    border-top: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.overlay-badge {
    color: #EBD5AB;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.game-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 32px 40px;
    justify-content: center;
}

.game-info .btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px 28px;
    border-radius: 12px;
    background: linear-gradient(135deg, #F7CE46 0%, #FFD966 100%);
    color: #3A0606;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(247, 206, 70, 0.3);
    border: 2px solid transparent;
}

.game-info .btn-primary:hover {
    background: linear-gradient(135deg, #FFD966 0%, #F7CE46 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247, 206, 70, 0.5);
    border-color: #F7CE46;
}

.game-info .btn-primary svg {
    transition: transform 0.3s ease;
}

.game-info .btn-primary:hover svg {
    transform: rotate(15deg);
}

.game-header {
    margin-bottom: 16px;
}

.game-title {
    font-family: 'Alegreya', serif;
    font-size: 2.2rem;
    color: #F7CE46 !important;
    margin-bottom: 6px;
    font-weight: 800;
    line-height: 1.1;
}

.game-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #EBD5AB !important;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

.game-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
}

.game-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.spec-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    background: rgba(134, 96, 96, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(235, 213, 171, 0.1);
    transition: all 0.3s ease;
}

.spec-item:hover {
    background: rgba(134, 96, 96, 0.5);
    border-color: rgba(235, 213, 171, 0.3);
}

.spec-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.spec-label {
    font-size: 0.8rem;
    color: #EBD5AB !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.spec-value {
    font-size: 0.95rem;
    color: #FFFFFF !important;
    font-weight: 700;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    background: #3A0606;
    padding: 20px;
    border-radius: 10px;
}

.grid-cell {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #EBD5AB 0%, #D4C09A 100%);
    border-radius: 5px;
    border: 2px solid #8B4513;
}

.game-info h3 {
    font-family: 'Alegreya', serif;
    font-size: 2rem;
    color: #3A0606;
    margin-bottom: 20px;
}

.game-info p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

.game-features {
    list-style: none;
    margin-bottom: 30px;
}

.game-features li {
    font-size: 1.1rem;
    padding: 10px 0;
    color: #333;
}

.btn {
    display: inline-block;
    cursor: pointer;
    
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 30px;
    padding-right: 30px;
    
    border: none;
    border-radius: 25px;
    
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: #F7CE46;
    color: #3A0606;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(247, 206, 70, 0.2);
}

.btn-primary:hover {
    background: #EBD5AB;
    color: #3A0606;
    box-shadow: 0 8px 25px rgba(247, 206, 70, 0.4);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(247, 206, 70, 0.2);
}

.btn-primary svg {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(3px);
}

.btn-success {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-success:hover {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transform: translateY(-2px);
}

.btn-success:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.merchandise-section {
    padding: 80px 0;
    background: #EBD5AB;
}

.merch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.merch-card {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    
    background-color: #3A0606;
    
    border-width: 2px;
    border-style: solid;
    border-color: transparent;
    border-radius: 15px;
    
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.merch-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(235, 213, 171, 0.3);
}

.merch-header {
    background: #3A0606;
    padding: 15px;
    text-align: center;
    border-bottom: 3px solid #866060;
    border-radius: 15px 15px 0 0;
}

.merch-title {
    font-family: 'Inria Serif', serif;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 0;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.merch-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.merch-image {
    width: 125%;
    height: 110%;
    max-width: none;
    object-fit: contain;
    border-radius: 8px;
}

.merch-no-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #866060 0%, #6d4e4e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Inria Serif', serif;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
}

.merch-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
    gap: 5px;
}

.merch-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin-bottom: 5px;
    font-weight: 400;
    padding: 0 5px;
}

.merch-price {
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    color: #fff;
    font-weight: 800;
    margin-bottom: 0;
    letter-spacing: -0.5px;
}

.merch-stock {
    font-size: 0.85rem;
    color: #fff;
    margin: 0 auto 5px;
    padding: 4px 10px;
    background: rgba(134, 96, 96, 0.5);
    border-radius: 8px;
    display: inline-block;
    width: fit-content;
    font-weight: 600;
}

.merch-body .btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
    padding: 11px 20px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    background: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.merch-body .btn:hover {
    background: #F5E9D0;
    color: #000;
}

.merch-body .btn .wa-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #25D366;
}

.comment-section {
    padding: 80px 0;
    background: #EBD5AB;
}

.comment-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.comment-alert {
    margin-bottom: 1rem;
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    border: 2px solid #8B4545;
}

.comment-alert--danger {
    background: rgba(139, 69, 69, 0.15);
    color: #6A3535;
}

.success-modal--open {
    display: flex;
}

.comment-form {
    background: linear-gradient(135deg, #3A0606 0%, #4A0707 100%);
    padding: 50px;
    border-radius: 20px;
    margin-bottom: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    border: none;
    position: relative;
    overflow: hidden;
}

.comment-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 6, 6, 0.9) 0%, rgba(74, 7, 7, 0.95) 100%);
    pointer-events: none;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 20px;
}

.form-group label {
    font-family: 'Inria Serif', serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #EBD5AB;
    letter-spacing: 0.5px;
    min-width: 120px;
    flex-shrink: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.form-group input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(160, 135, 145, 0.85);
    color: #2A2A2A;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input::placeholder {
    color: #000000;
    font-style: italic;
    transition: opacity 0.3s ease;
}

.form-group textarea {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(160, 135, 145, 0.85);
    color: #2A2A2A;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    resize: vertical;
    min-height: 140px;
}

.form-group textarea::placeholder {
    color: #000000;
    font-style: italic;
    transition: opacity 0.3s ease;
}

.form-group.textarea-group {
    align-items: flex-start;
}

.form-group.textarea-group label {
    padding-top: 16px;
}

.form-group input:focus {
    outline: none;
    background: rgba(180, 155, 165, 0.95);
    border-color: #F7CE46;
    box-shadow: 0 0 0 4px rgba(247, 206, 70, 0.15), 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.form-group input:focus::placeholder {
    opacity: 0.6;
}

.form-group textarea:focus {
    outline: none;
    background: rgba(180, 155, 165, 0.95);
    border-color: #F7CE46;
    box-shadow: 0 0 0 4px rgba(247, 206, 70, 0.15), 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.form-group textarea:focus::placeholder {
    opacity: 0.6;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

.comment-form .btn-primary {
    padding: 16px 50px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #F7CE46 0%, #EBD5AB 100%);
    color: #3A0606;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(247, 206, 70, 0.4);
    font-family: 'Inria Serif', serif;
    position: relative;
    z-index: 1;
}

.comment-form .btn-primary:hover {
    background: linear-gradient(135deg, #EBD5AB 0%, #D4C09A 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(247, 206, 70, 0.6);
}

.comment-form .btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(247, 206, 70, 0.4);
}

.comment-submit {
    margin-top: 15px;
    padding: 16px 50px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    background: #F7CE46;
    color: #3A0606;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(247, 206, 70, 0.3);
}

.comment-submit:hover {
    background: #EBD5AB;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(247, 206, 70, 0.5);
}

.comments-list h3 {
    font-family: 'Inria Serif', serif;
    font-size: 2rem;
    color: #3A0606;
    margin-bottom: 35px;
    text-align: left;
    position: relative;
    padding-bottom: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(58, 6, 6, 0.1);
}

.comments-list h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #3A0606, transparent);
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(58, 6, 6, 0.2);
}

.comments-container {
    max-height: 550px;
    overflow-y: auto;
    padding-right: 10px;
}

.comments-container::-webkit-scrollbar {
    width: 8px;
}

.comments-container::-webkit-scrollbar-track {
    background: rgba(58, 6, 6, 0.1);
    border-radius: 10px;
}

.comments-container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3A0606 0%, #5A0808 100%);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.comments-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5A0808 0%, #3A0606 100%);
}

.comment-item {
    background: linear-gradient(135deg, #3A0606 0%, #4A0707 100%);
    padding: 35px;
    margin-bottom: 25px;
    border-radius: 15px;
    border: 2px solid transparent;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.comment-item:hover {
    transform: translateX(8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.35);
    border-color: rgba(235, 213, 171, 0.2);
}

.comment-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 6, 6, 0.95) 0%, rgba(74, 7, 7, 0.98) 100%);
    pointer-events: none;
}

.comment-item:hover {
    box-shadow: 0 12px 35px rgba(0,0,0,0.35);
    transform: translateY(-3px);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(247, 206, 70, 0.2);
    position: relative;
    z-index: 1;
}

.comment-header strong {
    font-family: 'Inria Serif', serif;
    color: #F7CE46;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.comment-date {
    display: inline-flex;
    align-items: center;
    color: #EBD5AB;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(134, 96, 96, 0.5);
    padding: 6px 14px;
    border-radius: 25px;
    letter-spacing: 0.3px;
}

.comment-text {
    color: #E8E8E8;
    line-height: 1.8;
    font-size: 1rem;
    text-align: left;
    position: relative;
    z-index: 1;
}

.footer {
    background: linear-gradient(135deg, #3A0606 0%, #5A0808 100%);
    color: #EBD5AB;
    padding: 40px 0;
    text-align: center;
    border-top: 3px solid rgba(235, 213, 171, 0.2);
}

.footer-contact {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
}

.footer-contact-links {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(235, 213, 171, 0.12);
    border: 1px solid rgba(235, 213, 171, 0.25);
    color: #EBD5AB;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-contact-link:hover {
    background: #EBD5AB;
    color: #3A0606;
    transform: translateY(-2px);
}

.footer-contact-link--detail {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 260px;
    justify-content: flex-start;
    padding: 14px 18px;
    text-align: left;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.footer-contact-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(235, 213, 171, 0.12);
    border: 1px solid rgba(235, 213, 171, 0.2);
}

.footer-contact-icon svg {
    width: 24px;
    height: 24px;
}

.footer-contact-text {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.footer-contact-label {
    font-size: 0.95rem;
    font-weight: 700;
}

.footer-contact-value {
    font-size: 0.9rem;
    color: rgba(235, 213, 171, 0.88);
    word-break: break-word;
}

.footer-contact-link:hover .footer-contact-value {
    color: #3A0606;
}

.footer p {
    margin: 0;
    font-size: 1rem;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.detail-game-section {
    padding: 100px 0 80px 0;
    background: linear-gradient(to bottom, #F5E9D0 0%, #EBD5AB 100%);
}

.page-title {
    font-family: 'Inria Serif', serif;
    font-size: 3.2rem;
    color: #3A0606;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 25px;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 5px;
    background: linear-gradient(90deg, transparent 0%, #3A0606 20%, #3A0606 80%, transparent 100%);
    border-radius: 3px;
}

.board-preview-section {
    margin-bottom: 50px;
}

.board-preview-card {
    background: #fff;
    border-radius: 15px;
    padding: 45px;
    box-shadow: 0 8px 30px rgba(58, 6, 6, 0.12);
    border: 3px solid #3A0606;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.board-preview-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 600px;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    object-fit: contain;
    object-position: center;
    border: 1px solid #E0E0E0;
}

.board-preview-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    padding: 15px 30px;
    background: #3A0606;
    border-radius: 8px;
}

.caption-text {
    font-family: 'Inria Serif', serif;
    font-size: 1.1rem;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.components-grid {
    display: flex;
    gap: 25px;
    margin-top: 30px;
    overflow-x: auto;
    padding: 25px 15px;
    margin-left: -15px;
    margin-right: -15px;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    background: linear-gradient(to right, transparent 0%, rgba(235, 213, 171, 0.2) 10%, rgba(235, 213, 171, 0.2) 90%, transparent 100%);
    border-radius: 10px;
}

.components-grid::-webkit-scrollbar {
    height: 10px;
}

.components-grid::-webkit-scrollbar-track {
    background: linear-gradient(to bottom, transparent, #F8F8F8 20%, #F8F8F8 80%, transparent);
    border-radius: 5px;
    margin: 0 20px;
}

.components-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3A0606 0%, #5A0808 100%);
    border-radius: 5px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.components-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5A0808 0%, #3A0606 100%);
    border-radius: 5px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.component-card {
    background: #fff;
    padding: 25px 20px;
    border-radius: 12px;
    border: 2px solid #3A0606;
    box-shadow: 0 6px 20px rgba(58, 6, 6, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 200px;
    max-width: 200px;
    flex-shrink: 0;
    scroll-snap-align: center;
    position: relative;
    overflow: hidden;
}

.component-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: #3A0606;
}

.component-card:hover {
    box-shadow: 0 8px 25px rgba(58, 6, 6, 0.15);
    border-color: #5A0808;
}

.component-image {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background: #FAF9F7;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #E0E0E0;
    position: relative;
}

.component-card:hover .component-image {
    background: #F5E9D0;
    border-color: #3A0606;
}

.component-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.component-card h3 {
    font-family: 'Inria Serif', serif;
    font-size: 1.1rem;
    color: #3A0606;
    margin: 0;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.game-detail-content {
    background: #fff;
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 8px 30px rgba(58, 6, 6, 0.12);
    border: 3px solid #3A0606;
}

.detail-section {
    margin-bottom: 35px;
    padding: 40px;
    border-radius: 12px;
    background: linear-gradient(to bottom, #FDFCFA 0%, #FBF9F7 100%);
    border: 2px solid #3A0606;
    border-left-width: 5px;
    box-shadow: 0 4px 15px rgba(58, 6, 6, 0.08);
}

.detail-section.win-section {
    background: linear-gradient(to bottom, #F0FFF4 0%, #E8F9EC 100%);
    border-color: #25D366;
}

.detail-section.win-section h2 {
    color: #25D366;
    border-bottom-color: #25D366;
}

.detail-section.lose-section {
    background: linear-gradient(to bottom, #FFF5F5 0%, #FFEBEE 100%);
    border-color: #C62828;
}

.detail-section.lose-section h2 {
    color: #C62828;
    border-bottom-color: #C62828;
}

.detail-section.highlight-section {
    background: linear-gradient(to bottom, #FFF9F0 0%, #FFF5E8 100%);
}

.detail-section.goal-section {
    background: linear-gradient(to bottom, #FFF9F0 0%, #FFF5E8 100%);
}

.detail-section.tips-section {
    background: linear-gradient(to bottom, #F0F9FF 0%, #E8F4FF 100%);
}

.detail-section.variant-section {
    background: linear-gradient(to bottom, #F9F5FF 0%, #F0E8FF 100%);
}

.detail-section h2 {
    font-family: 'Inria Serif', serif;
    font-size: 1.9rem;
    color: #3A0606;
    margin: 0 0 30px 0;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding-bottom: 15px;
    border-bottom: 3px solid #3A0606;
    text-transform: uppercase;
}

.detail-section h3 {
    font-family: 'Inria Serif', serif;
    font-size: 1.5rem;
    color: #3A0606;
    margin: 35px 0 25px 0;
    font-weight: 800;
    letter-spacing: 0.3px;
    padding-bottom: 10px;
    border-bottom: 2px solid #EBD5AB;
}

.detail-section h3:first-child {
    margin-top: 0;
}

.detail-section h2 + p {
    margin-top: 5px;
}

.detail-section h3 + p {
    margin-top: 5px;
}

.detail-section h2 + ol,
.detail-section h2 + ul {
    margin-top: 10px;
}

.detail-section p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.9;
    margin-bottom: 25px;
    text-align: left;
}

.detail-section > p:first-of-type {
    margin-top: 0;
}

.elegant-list {
    margin-left: 0;
    margin-bottom: 20px;
    counter-reset: elegant-counter;
    list-style: none;
}

.elegant-list li {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.8;
    padding: 18px 20px 18px 65px;
    background: #fff;
    border-radius: 8px;
    border: 2px solid #EBD5AB;
    border-left-width: 4px;
    border-left-color: #3A0606;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    counter-increment: elegant-counter;
}

.elegant-list li::before {
    content: counter(elegant-counter);
    position: absolute;
    left: 20px;
    top: 20px;
    font-family: 'Inria Serif', serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: #3A0606;
    line-height: 1;
}

.location-list {
    margin-left: 0;
    padding-left: 0;
}

.location-list li {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.8;
    padding: 18px 25px;
    background: #fff;
    border-radius: 8px;
    border: 2px solid #EBD5AB;
    border-left-width: 4px;
    border-left-color: #3A0606;
    list-style: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tips-list {
    margin-left: 0;
    padding-left: 0;
}

.tips-list li {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.8;
    padding: 18px 25px 18px 55px;
    background: #fff;
    border-radius: 8px;
    border: 2px solid #EBD5AB;
    border-left-width: 4px;
    border-left-color: #3A0606;
    list-style: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
}

.tips-list li::before {
    content: '💡';
    position: absolute;
    left: 18px;
    top: 18px;
    font-size: 1.4rem;
    line-height: 1;
}

.detail-section ol {
    margin-left: 0;
    margin-bottom: 20px;
    padding-left: 0;
    counter-reset: section-counter;
    list-style: none;
}

.detail-section ol > li {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 18px;
    line-height: 1.8;
    padding: 18px 20px 18px 65px;
    background: #fff;
    border-radius: 8px;
    border: 2px solid #EBD5AB;
    border-left-width: 4px;
    border-left-color: #3A0606;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    counter-increment: section-counter;
}

.detail-section ol > li::before {
    content: counter(section-counter);
    position: absolute;
    left: 20px;
    top: 20px;
    font-family: 'Inria Serif', serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: #3A0606;
    line-height: 1;
}

.detail-section ul {
    margin-left: 0;
    margin-bottom: 20px;
    padding-left: 0;
    list-style: none;
}

.detail-section ul:not(.location-list):not(.tips-list) > li {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.8;
    padding: 15px 20px 15px 40px;
    background: #fff;
    border-radius: 8px;
    border: 2px solid #EBD5AB;
    border-left-width: 4px;
    border-left-color: #3A0606;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
}

.detail-section ul:not(.location-list):not(.tips-list) > li::before {
    content: '●';
    position: absolute;
    left: 18px;
    top: 18px;
    font-size: 1rem;
    color: #3A0606;
    line-height: 1;
}

.detail-section li strong {
    color: #3A0606;
    font-weight: 800;
}

.detail-section ul ul {
    margin-top: 15px;
    margin-left: 0;
    padding-left: 0;
}

.detail-section ul ul li {
    padding: 12px 15px 12px 35px;
    border-left-color: #EBD5AB;
    border-left-width: 3px;
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.detail-section ul ul li::before {
    content: '○';
    font-size: 0.8rem;
    left: 15px;
    top: 15px;
    line-height: 1;
}

.goal-content,
.win-content,
.lose-content {
    padding: 25px;
    background: #fff;
    border-radius: 8px;
    border: 2px solid #EBD5AB;
}

.goal-content p,
.win-content p,
.lose-content p {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
    color: #3A0606;
}

.win-content {
    background: rgba(255, 255, 255, 0.7);
    border-color: #25D366;
}

.win-content p {
    color: #25D366;
}

.lose-content {
    background: rgba(255, 255, 255, 0.7);
    border-color: #C62828;
}

.lose-content p {
    color: #C62828;
}

.back-button-container {
    margin-top: 50px;
    text-align: center;
    padding-top: 40px;
    border-top: 3px solid #3A0606;
}

.loading-state {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    color: #666;
    font-size: 1.2rem;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #EBD5AB;
    border-top-color: #3A0606;
    border-radius: 50%;
    margin-right: 15px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #F5E9D0;
    border-radius: 15px;
    margin: 20px 0;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-state-title {
    font-family: 'Inria Serif', serif;
    font-size: 1.5rem;
    color: #3A0606;
    margin-bottom: 10px;
    font-weight: 600;
}

.empty-state-message {
    font-size: 1rem;
    color: #666;
}

@media (max-width: 968px) {
    .merch-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }

    .game-card {
        flex-direction: column;
    }

    .game-specs {
        grid-template-columns: 1fr;
    }

    .game-title {
        font-size: 2rem;
    }

    .game-info {
        padding: 30px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .nav-menu {
        gap: 15px;
    }

    /* Profile card — reset semua hardcoded margin */
    .profile-card {
        flex-direction: column;
        align-items: center;
        max-height: none;
        padding: 35px 30px;
        gap: 25px;
    }

    .profile-image {
        margin: 0 auto;
        position: static;
    }

    .profile-image img {
        width: 160px;
        height: 200px;
        margin: 0;
    }

    .profile-info {
        margin-left: 0;
        align-items: center;
        width: 100%;
    }

    .profile-info h3 {
        margin-left: 0;
        font-size: 2.2rem;
        text-align: center;
        line-height: 1.2;
        margin-bottom: 18px;
    }

    .profile-quote {
        width: 100%;
        text-align: left;
        border-left: none;
        border-right: none;
        margin: 0;
        padding: 22px 24px;
        border-radius: 16px;
        background: linear-gradient(135deg, #9c7676 0%, #866060 100%);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    }

    .quote-header {
        justify-content: center;
        gap: 8px;
        margin-bottom: 10px;
    }

    .quote-icon {
        margin-top: 0;
        width: 22px;
        height: 22px;
    }

    .quote-text {
        padding-left: 0;
        text-align: center;
    }

    .quote-title {
        text-align: center;
    }

    .profile-desc {
        margin-left: 0;
        text-align: center;
    }
}

@media (max-width: 768px) {
    /* ---- Mobile Nav ---- */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(300px, 82vw);
        height: 100dvh;
        background: linear-gradient(160deg, #1e0303 0%, #3A0606 45%, #4d0808 100%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        transform: translateX(100%);
        transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        box-shadow: -12px 0 50px rgba(0, 0, 0, 0.6);
        padding: 80px 0 40px;
        flex-wrap: nowrap;
        overflow-y: auto;
        border-left: 1px solid rgba(235, 213, 171, 0.12);
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateX(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-menu.open li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-menu.open li:nth-child(1) { transition-delay: 0.08s; }
    .nav-menu.open li:nth-child(2) { transition-delay: 0.14s; }
    .nav-menu.open li:nth-child(3) { transition-delay: 0.20s; }
    .nav-menu.open li:nth-child(4) { transition-delay: 0.26s; }
    .nav-menu.open li:nth-child(5) { transition-delay: 0.32s; }

    .nav-menu a {
        display: block;
        padding: 17px 40px;
        font-size: 1rem;
        letter-spacing: 2.5px;
        text-transform: uppercase;
        border-bottom: none;
        transition: background 0.25s ease, color 0.25s ease;
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        color: #F7CE46;
        background: rgba(235, 213, 171, 0.07);
    }

    .nav-menu li + li {
        border-top: 1px solid rgba(235, 213, 171, 0.08);
    }

    /* ---- Merchandise ---- */
    .merch-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
        max-width: 100%;
    }

    .merch-header {
        padding: 15px;
    }

    .merch-title {
        font-size: 1.2rem;
    }

    .merch-desc {
        font-size: 0.8rem;
    }

    .merch-image-wrapper {
        height: 180px;
        padding: 10px;
    }

    .merch-price {
        font-size: 1.5rem;
    }

    .merch-body {
        padding: 15px;
    }

    .merch-body .btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    /* ---- Hero ---- */
    .hero-logo {
        width: 340px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.08rem;
        max-width: 520px;
    }

    .hero-section .btn-primary {
        min-width: 220px;
        padding: 14px 32px;
    }

    .hero-section {
        padding-top: 96px;
        padding-bottom: 96px;
    }

    .hero-content {
        min-height: 372px;
        gap: 24px;
    }

    /* ---- Sections ---- */
    .section-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2rem;
    }

    /* ---- Game ---- */
    .game-title {
        font-size: 1.8rem;
    }

    .game-subtitle {
        font-size: 0.9rem;
    }

    .game-info {
        padding: 25px;
    }

    .game-preview {
        padding: 20px;
    }

    /* ---- Comment Form — stack label + input ---- */
    .comment-form {
        padding: 30px 22px;
    }

    .form-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .form-group label {
        min-width: auto;
        font-size: 1rem;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
    }

    .form-group.textarea-group label {
        padding-top: 0;
    }

    .form-actions {
        justify-content: center;
    }

    .comment-form .btn-primary {
        width: 100%;
        padding: 15px 30px;
    }

    /* ---- Detail Game ---- */
    .game-detail-content {
        padding: 22px;
    }

    .detail-section {
        padding: 22px;
    }

    .detail-section h2 {
        font-size: 1.5rem;
    }

    .board-preview-card {
        padding: 20px;
    }

    .board-preview-image {
        max-height: 400px;
    }

    .components-grid {
        gap: 15px;
        padding: 15px 12px;
    }

    .component-card {
        min-width: 165px;
        max-width: 165px;
        padding: 18px 14px;
    }

    .component-image {
        height: 120px;
    }

    .component-card h3 {
        font-size: 0.95rem;
    }

    .component-card p {
        font-size: 0.8rem;
        line-height: 1.5;
    }
}

/* ============================================
   EXTRA SMALL SCREENS (≤ 480px)
   ============================================ */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .navbar {
        padding: 12px 0;
    }

    .logo img {
        height: 40px;
    }

    .hero-logo {
        width: 260px;
    }

    .hero-title {
        font-size: 1.7rem;
        letter-spacing: 0.5px;
    }

    .hero-description {
        font-size: 1rem;
        max-width: 340px;
        line-height: 1.75;
    }

    .hero-section .btn-primary {
        min-width: 190px;
        width: auto;
        padding: 13px 26px;
        font-size: 0.98rem;
    }

    .hero-section {
        padding-top: 74px;
        padding-bottom: 74px;
    }

    .hero-content {
        min-height: 312px;
        gap: 20px;
    }

    .about-section,
    .game-section,
    .merchandise-section,
    .comment-section {
        padding: 55px 0;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 35px;
    }

    /* Profile card compact */
    .profile-card {
        padding: 24px 16px;
        border-radius: 18px;
        gap: 18px;
    }

    .profile-image img {
        width: 132px;
        height: 168px;
        border-radius: 14px;
    }

    .profile-info {
        gap: 0;
    }

    .profile-info h3 {
        font-size: 1.65rem;
        margin-bottom: 14px;
    }

    .profile-quote {
        padding: 18px 16px;
        border-radius: 14px;
    }

    .quote-header {
        gap: 6px;
        margin-bottom: 8px;
    }

    .quote-title {
        font-size: 1.15rem;
        line-height: 1.2;
    }

    .quote-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    /* Game card */
    .game-title {
        font-size: 1.6rem;
    }

    .game-info {
        padding: 20px 16px;
    }

    .game-preview {
        padding: 16px;
    }

    .game-specs {
        gap: 12px;
    }

    .spec-item {
        padding: 12px 14px;
    }

    /* Merch */
    .merch-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .merch-price {
        font-size: 1.4rem;
    }

    /* Comment */
    .comment-form {
        padding: 22px 16px;
        border-radius: 15px;
    }

    .comment-item {
        padding: 22px 18px;
    }

    .comment-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    .comment-date {
        flex-shrink: 0;
    }

    .comment-header strong {
        font-size: 1.1rem;
    }

    /* Detail game */
    .page-title {
        font-size: 1.6rem;
        margin-bottom: 35px;
    }

    .game-detail-content {
        padding: 16px;
        border-radius: 12px;
    }

    .detail-section {
        padding: 18px 14px;
        margin-bottom: 22px;
        border-radius: 10px;
    }

    .detail-section h2 {
        font-size: 1.3rem;
    }

    .detail-section h3 {
        font-size: 1.2rem;
    }

    .detail-section p,
    .detail-section ol > li,
    .detail-section ul:not(.location-list):not(.tips-list) > li,
    .location-list li,
    .tips-list li,
    .elegant-list li {
        font-size: 0.95rem;
    }

    .elegant-list li,
    .detail-section ol > li {
        padding: 14px 14px 14px 50px;
    }

    .elegant-list li::before,
    .detail-section ol > li::before {
        font-size: 1.3rem;
        left: 14px;
        top: 16px;
    }

    .component-card {
        min-width: 150px;
        max-width: 150px;
        padding: 14px 12px;
    }

    .component-image {
        height: 105px;
    }

    .board-preview-image {
        max-height: 280px;
    }

    .board-preview-card {
        padding: 14px;
    }

    /* Footer */
    .footer {
        padding: 28px 0;
    }

    .footer-contact {
        margin-bottom: 18px;
    }

    .footer-contact-links {
        width: 100%;
        justify-content: center;
        gap: 6px;
        flex-direction: row;
        align-items: stretch;
        flex-wrap: nowrap;
    }

    .footer-contact-link--detail {
        width: calc(50% - 3px);
        min-width: 0;
        padding: 6px 6px;
        gap: 6px;
        justify-content: flex-start;
        align-items: center;
    }

    .footer-contact-icon {
        width: 34px;
        height: 34px;
    }

    .footer-contact-icon svg {
        width: 18px;
        height: 18px;
    }

    .footer-contact-text {
        flex: 1;
        min-width: 0;
        line-height: 1.1;
    }

    .footer-contact-label {
        font-size: 0.72rem;
    }

    .footer-contact-value {
        font-size: 0.6rem;
        line-height: 1.1;
    }

    .footer p {
        font-size: 0.8rem;
    }

    /* Success modal */
    .success-modal-content {
        min-width: 280px;
        padding: 35px 25px;
    }
}

.success-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.success-modal-content {
    background: linear-gradient(135deg, #EBD5AB 0%, #D4C09A 100%);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    min-width: min(320px, 90vw);
    width: min(320px, 90vw);
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid rgba(58, 6, 6, 0.2);
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.success-checkmark {
    margin: 0 auto 20px;
    width: 80px;
    height: 80px;
}

.success-checkmark svg {
    width: 100%;
    height: 100%;
}

.success-checkmark svg circle {
    stroke: #3A0606;
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-checkmark svg path {
    stroke: #3A0606;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

.success-title {
    color: #3A0606;
    font-size: 2rem;
    font-weight: 700;
    margin: 20px 0;
    font-family: 'Inria Serif', serif;
    letter-spacing: 1px;
}

.success-ok-btn {
    background: #3A0606;
    color: #EBD5AB;
    border: none;
    padding: 12px 50px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
}

.success-ok-btn:hover {
    background: #5A0808;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(58, 6, 6, 0.3);
}
