/*
Theme Name: UFA Sports Theme
Theme URI: https://example.com/ufa-sports
Author: Developer
Author URI: https://example.com
Description: A professional Thai sports betting landing page theme inspired by UFABET and SBOBET design style. Dark navy theme with gold accents and neon CTA effects.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ufa-sports
Tags: one-page, custom-menu, full-width-template
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Prompt', sans-serif;
    background: #0a1628;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul { list-style: none; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
    padding: 12px 0;
    transition: all 0.3s ease;
}

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

.site-logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffd700, #f4c430);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

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

.main-nav a {
    color: #b0bec5;
    font-size: 0.95rem;
    font-weight: 400;
    position: relative;
    padding: 5px 0;
}

.main-nav a:hover { color: #ffd700; }

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: width 0.3s ease;
}

.main-nav a:hover::after { width: 100%; }

.header-buttons { display: flex; gap: 12px; }

.btn-login {
    padding: 8px 20px;
    border: 1px solid #ffd700;
    border-radius: 6px;
    color: #ffd700;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-login:hover {
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.btn-register {
    padding: 8px 20px;
    background: linear-gradient(135deg, #ffd700, #f4c430);
    border: none;
    border-radius: 6px;
    color: #0a1628;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

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

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: #ffd700;
    transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, #0d1b2a 0%, #1b2838 50%, #0a1628 100%);
    padding: 120px 20px 80px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('https://picsum.photos/1920/1080?random=1') center/cover no-repeat;
    opacity: 0.08;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(ellipse at center, rgba(255,215,0,0.03) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(5%, 5%); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
    line-height: 1.3;
}

.hero-content h1 span {
    background: linear-gradient(135deg, #ffd700, #f4c430);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.2rem;
    color: #b0bec5;
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-features span {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #ffd700;
}

.btn-cta {
    display: inline-block;
    padding: 16px 50px;
    background: linear-gradient(135deg, #00c853, #2ecc71);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(0, 200, 83, 0.3);
    animation: ctaPulse 2s ease-in-out infinite;
}

.btn-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 50px rgba(0, 200, 83, 0.5);
}

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 0 30px rgba(0, 200, 83, 0.3); }
    50% { box-shadow: 0 0 50px rgba(0, 200, 83, 0.5); }
}

/* ===== FEATURES BAR ===== */
.features-bar {
    background: linear-gradient(180deg, #0d1b2a 0%, #152238 100%);
    padding: 60px 20px;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

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

.feature-box {
    text-align: center;
    padding: 35px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.feature-box:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.1);
    background: rgba(255, 215, 0, 0.05);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.feature-box h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffd700;
}

.feature-box p {
    font-size: 0.85rem;
    color: #b0bec5;
}

/* ===== GAMES SECTION ===== */
.games-section {
    padding: 80px 20px;
    background: #0a1628;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.section-title h2 span {
    background: linear-gradient(135deg, #ffd700, #f4c430);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title p {
    color: #b0bec5;
    font-size: 1rem;
}

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

.game-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.15);
}

.game-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

.game-card-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 180px;
    background: linear-gradient(180deg, transparent 40%, rgba(10,22,40,0.9) 100%);
}

.game-card-content { padding: 20px; }

.game-card-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.game-card-content p {
    font-size: 0.85rem;
    color: #b0bec5;
    margin-bottom: 15px;
}

.game-card-btn {
    display: inline-block;
    padding: 8px 22px;
    background: linear-gradient(135deg, #ffd700, #f4c430);
    color: #0a1628;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.game-card-btn:hover {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    transform: scale(1.05);
}

/* ===== PROMOTIONS ===== */
.promotions-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #0a1628 0%, #152238 50%, #0a1628 100%);
}

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

.promo-card {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.promo-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.promo-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.promo-content { padding: 25px; }

.promo-badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #ff6b35, #e74c3c);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}

.promo-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.promo-content p {
    font-size: 0.85rem;
    color: #b0bec5;
    margin-bottom: 15px;
}

.promo-btn {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(135deg, #ff6b35, #e74c3c);
    color: #fff;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.2);
}

.promo-btn:hover {
    box-shadow: 0 0 35px rgba(255, 107, 53, 0.4);
    transform: scale(1.05);
}

/* ===== TRUST SECTION ===== */
.trust-section {
    padding: 80px 20px;
    background: #0a1628;
}

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

.trust-card {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.trust-card:hover {
    border-color: rgba(0, 200, 83, 0.3);
    box-shadow: 0 10px 40px rgba(0, 200, 83, 0.1);
}

.trust-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.trust-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #00c853;
}

.trust-card p {
    font-size: 0.85rem;
    color: #b0bec5;
    line-height: 1.6;
}

/* ===== FOOTER ===== */
.site-footer {
    background: linear-gradient(180deg, #0d1b2a 0%, #060e1a 100%);
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    padding: 60px 20px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-about .footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffd700, #f4c430);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    display: inline-block;
}

.footer-about p {
    font-size: 0.9rem;
    color: #b0bec5;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: #ffd700;
    color: #ffd700;
    transform: translateY(-3px);
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffd700;
}

.footer-column ul li { margin-bottom: 10px; }

.footer-column ul li a {
    color: #b0bec5;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: #ffd700;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #667788;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .main-nav { display: none; }
    .menu-toggle { display: flex; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .games-grid { grid-template-columns: repeat(2, 1fr); }
    .promo-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }
    .hero-features { gap: 10px; }
    .hero-features span { font-size: 0.8rem; padding: 6px 14px; }
    .btn-cta { padding: 14px 35px; font-size: 1rem; }
    .section-title h2 { font-size: 1.8rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .games-grid { grid-template-columns: 1fr; gap: 20px; }
    .promo-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .header-buttons .btn-login { display: none; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.8rem; }
    .features-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .feature-box { padding: 20px 10px; }
    .feature-icon { font-size: 2rem; }
    .trust-grid { grid-template-columns: 1fr; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up { animation: fadeInUp 0.6s ease forwards; }

.mobile-nav {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: rgba(10, 22, 40, 0.98);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.mobile-nav.active { display: flex; }

.mobile-nav a {
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 500;
}

.mobile-nav a:hover { color: #ffd700; }

.mobile-nav-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    color: #ffd700;
    cursor: pointer;
}
