/*
Theme Name: Sport Orange TH
Theme URI: https://example.com/theme4
Author: Developer
Description: Clean, modern orange and white theme for Thai sports betting
Version: 1.0
Text Domain: sport-orange-th
*/

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

:root {
    --orange: #ff6b00;
    --orange-light: #ff8c00;
    --dark: #2d2d2d;
    --gray: #666666;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(255,107,0,0.2);
    --radius: 12px;
    --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Prompt', sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

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

.site-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px 20px; max-width: 1200px; margin: 0 auto;
}

.site-logo { font-size: 1.5rem; font-weight: 700; color: var(--orange); }

.main-nav ul { display: flex; gap: 25px; align-items: center; }

.main-nav a {
    font-size: 0.95rem; font-weight: 500; color: var(--dark);
    padding: 8px 0; position: relative;
}

.main-nav a::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px; background: var(--orange); transition: var(--transition);
}

.main-nav a:hover::after { width: 100%; }
.main-nav a:hover { color: var(--orange); }

.menu-toggle {
    display: none; flex-direction: column; gap: 5px;
    cursor: pointer; background: none; border: none; padding: 5px;
}

.menu-toggle span { width: 25px; height: 3px; background: var(--dark); border-radius: 3px; transition: var(--transition); }

.hero-section {
    padding: 160px 20px 100px;
    background: linear-gradient(135deg, var(--white) 0%, #fff5eb 100%);
    text-align: center;
}

.hero-section h1 { font-size: 3rem; font-weight: 700; color: var(--dark); margin-bottom: 20px; line-height: 1.3; }
.hero-section h1 span { color: var(--orange); }
.hero-section p { font-size: 1.2rem; color: var(--gray); max-width: 600px; margin: 0 auto 40px; }

.btn-primary {
    display: inline-block; padding: 15px 40px;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    color: var(--white); font-size: 1.1rem; font-weight: 600;
    border-radius: 50px; box-shadow: 0 4px 15px rgba(255,107,0,0.3); transition: var(--transition);
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

.features-section { padding: 80px 20px; background: var(--white); }

.section-title { text-align: center; font-size: 2.2rem; font-weight: 700; margin-bottom: 15px; color: var(--dark); }
.section-subtitle { text-align: center; color: var(--gray); font-size: 1.05rem; margin-bottom: 50px; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto; }

.feature-card {
    background: var(--white); border-radius: var(--radius); padding: 40px 30px;
    text-align: center; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid #f0f0f0;
}

.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--orange); }

.feature-icon {
    width: 70px; height: 70px; margin: 0 auto 20px;
    background: linear-gradient(135deg, #fff5eb, #ffe8d6);
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
}

.feature-card h3 { font-size: 1.2rem; margin-bottom: 12px; color: var(--dark); }
.feature-card p { color: var(--gray); font-size: 0.95rem; }

.games-section { padding: 80px 20px; background: var(--light-gray); }

.games-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; max-width: 1200px; margin: 0 auto; }

.game-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.game-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

.game-card-img {
    width: 100%; height: 160px;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    display: flex; align-items: center; justify-content: center; font-size: 2.5rem;
}

.game-card-body { padding: 20px; text-align: center; }
.game-card-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.game-card-body p { color: var(--gray); font-size: 0.85rem; margin-bottom: 15px; }

.btn-small {
    display: inline-block; padding: 8px 20px; background: var(--orange);
    color: var(--white); border-radius: 20px; font-size: 0.85rem; font-weight: 500; transition: var(--transition);
}

.btn-small:hover { background: var(--orange-light); }

.promo-section { padding: 80px 20px; background: var(--white); }

.promo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto; }

.promo-card {
    background: linear-gradient(135deg, #fff5eb, var(--white)); border-radius: var(--radius);
    padding: 35px; border: 1px solid #ffe8d6; transition: var(--transition);
}

.promo-card:hover { border-color: var(--orange); }
.promo-card h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--orange); }
.promo-card p { color: var(--gray); margin-bottom: 20px; }

.why-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    color: var(--white);
}

.why-section .section-title { color: var(--white); }
.why-section .section-subtitle { color: rgba(255,255,255,0.85); }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto; }

.why-card {
    text-align: center; padding: 30px;
    background: rgba(255,255,255,0.1); border-radius: var(--radius); backdrop-filter: blur(5px);
}

.why-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.why-card p { opacity: 0.9; font-size: 0.95rem; }

.site-footer { background: var(--dark); color: rgba(255,255,255,0.8); padding: 60px 20px 30px; }

.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1200px; margin: 0 auto 40px; }

.footer-col h4 { color: var(--white); margin-bottom: 15px; font-size: 1.1rem; }
.footer-col a { display: block; margin-bottom: 10px; color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-col a:hover { color: var(--orange); }

.footer-bottom {
    text-align: center; padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; color: rgba(255,255,255,0.5);
}

@media (max-width: 992px) {
    .features-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
    .games-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .main-nav {
        position: fixed; top: 70px; left: 0; width: 100%;
        background: var(--white); box-shadow: var(--shadow); padding: 20px;
        transform: translateY(-100%); opacity: 0; visibility: hidden; transition: var(--transition);
    }
    .main-nav.active { transform: translateY(0); opacity: 1; visibility: visible; }
    .main-nav ul { flex-direction: column; gap: 15px; }
    .hero-section h1 { font-size: 2rem; }
    .hero-section { padding: 130px 20px 70px; }
    .features-grid, .games-grid, .promo-grid, .why-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 1.7rem; }
}
