/* UFABET BETUFA - Main Stylesheet */
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Sarabun', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(45deg, #1e3c72 0%, #2a5298 50%, #1e3c72 100%);
    min-height: 100vh;
}

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

/* Header Styles */
header {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 3px solid #ff6b35;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 2.8em;
    font-weight: bold;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    text-shadow: none;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

nav a:hover,
nav a.active {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
    border-color: #fff;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 0;
    color: white;
    position: relative;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.9), rgba(42, 82, 152, 0.9));
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    z-index: -1;
}

.hero h1 {
    font-size: 4em;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero .cta-buttons {
    animation: fadeInUp 1s ease 0.4s both;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 18px 45px;
    margin: 10px;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
    border: 2px solid transparent;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.4);
    border-color: #fff;
}

.btn-secondary {
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    border: 2px solid #ff6b35;
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: #1e3c72;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-title {
    text-align: center;
    font-size: 3em;
    margin-bottom: 20px;
    color: #1e3c72;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 5px;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    margin: 30px auto;
    border-radius: 3px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.2em;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    text-align: center;
    padding: 50px 35px;
    border-radius: 25px;
    background: white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 5px;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    transition: left 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.feature-card:hover::before {
    left: 0;
}

.feature-icon {
    font-size: 3.5em;
    margin-bottom: 25px;
    display: block;
}

.feature-card h3 {
    margin-bottom: 20px;
    color: #1e3c72;
    font-size: 1.5em;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

/* Promotional Section */
.promotions {
    padding: 100px 0;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ff6b35 100%);
    color: white;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.promo-card {
    background: rgba(255, 255, 255, 0.95);
    color: #1e3c72;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.promo-card:hover {
    transform: scale(1.05);
    border-color: #fff;
}

.promo-amount {
    font-size: 3em;
    font-weight: bold;
    color: #ff6b35;
    margin-bottom: 15px;
}

/* Keywords Section */
.keywords {
    padding: 80px 0;
    background: #1e3c72;
    text-align: center;
}

.keywords .section-title {
    color: white;
}

.keywords-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.keyword-tag {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1em;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.keyword-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
    color: white;
    border-color: #fff;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    color: white;
    padding: 60px 0 30px;
    border-top: 4px solid #ff6b35;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 25px;
    color: #ff6b35;
    font-size: 1.3em;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 12px;
}

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

.footer-section a:hover {
    color: #ff6b35;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 2px solid #333;
    color: #999;
    font-size: 0.9em;
}

/* Form Styles */
.form-container {
    max-width: 550px;
    margin: 0 auto;
    padding: 50px 40px;
    background: white;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 3px solid #ff6b35;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1e3c72;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #ddd;
    border-radius: 15px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

.pulse {
    animation: pulse 2.5s infinite;
}

/* Sports Section Specific */
.sports-section {
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    color: white;
    padding: 80px 0;
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.sport-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.sport-card:hover {
    background: rgba(255, 107, 53, 0.2);
    border-color: #ff6b35;
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero h1 {
        font-size: 2.8em;
    }
    
    .logo {
        font-size: 2.2em;
    }
    
    .section-title {
        font-size: 2.2em;
    }
    
    .features-grid,
    .promo-grid,
    .sports-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .btn {
        padding: 15px 35px;
        font-size: 0.9em;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .form-container {
        padding: 40px 30px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2.2em;
    }
    
    .features,
    .promotions,
    .sports-section {
        padding: 60px 0;
    }
    
    .feature-card,
    .promo-card,
    .sport-card {
        padding: 30px 20px;
    }
    
    .keywords-list {
        gap: 15px;
    }
    
    .keyword-tag {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.pt-40 { padding-top: 40px; }
.pb-40 { padding-bottom: 40px; }
.hidden { display: none; }
.visible { display: block; }

/* UFABET Specific Colors */
.ufabet-blue { color: #1e3c72; }
.ufabet-orange { color: #ff6b35; }
.bg-ufabet-blue { background: #1e3c72; }
.bg-ufabet-orange { background: #ff6b35; }