/* 
 * Teitetu - Premier Gaming Experience in the Philippines
 * Main Stylesheet
 * 
 * Colors:
 * Primary: #6a1b9a (Purple)
 * Secondary: #ff9800 (Orange)
 * Accent: #4caf50 (Green)
 * Background: #121212
 * Text: #ffffff, #e0e0e0
 */

/* === Base Styles === */
:root {
    --primary: #6a1b9a;
    --primary-light: #9c4dcc;
    --primary-dark: #38006b;
    --secondary: #ff9800;
    --secondary-light: #ffb74d;
    --secondary-dark: #c66900;
    --accent: #4caf50;
    --background: #121212;
    --surface: #1e1e1e;
    --surface-light: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-tertiary: #9e9e9e;
    --border-color: #333333;
    --error: #f44336;
    --success: #4caf50;
}

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

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

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-light);
}

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

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

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    color: var(--text-primary);
}

h2 {
    font-size: 2.25rem;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.section-subtitle {
    color: var(--text-tertiary);
    font-size: 1.125rem;
    margin-top: -1.5rem;
    margin-bottom: 2rem;
}

/* === Header === */
header {
    background-color: rgba(18, 18, 18, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

nav a {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

nav a:hover:after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 5px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* === Hero Section === */
.hero {
    background: linear-gradient(to bottom, rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.9)), url('/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(106, 27, 154, 0.2), transparent 60%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    animation: fadeInUp 1s ease 0.2s both;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s both;
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(106, 27, 154, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    box-shadow: 0 6px 18px rgba(106, 27, 154, 0.5);
    transform: translateY(-2px);
    color: white;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
    box-shadow: 0 6px 18px rgba(255, 152, 0, 0.5);
    transform: translateY(-2px);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary);
    padding: 0.75rem 1.875rem;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(106, 27, 154, 0.4);
    transform: translateY(-2px);
}

/* === Games Section === */
.games {
    padding: 5rem 0;
}

.game-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
    justify-content: center;
}

.category {
    background-color: var(--surface);
    color: var(--text-secondary);
    border: none;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category.active, .category:hover {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(106, 27, 154, 0.3);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.game-card {
    background-color: var(--surface);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.game-thumbnail {
    height: 180px;
    background: linear-gradient(45deg, var(--primary-dark), var(--primary));
    position: relative;
    overflow: hidden;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.game-actions {
    display: flex;
    gap: 1rem;
}

.play-btn, .demo-btn {
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.play-btn {
    background-color: var(--secondary);
    color: white;
}

.play-btn:hover {
    background-color: var(--secondary-light);
    color: white;
}

.demo-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.demo-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.game-card h3 {
    padding: 1.25rem 1.25rem 0.5rem;
    font-size: 1.25rem;
}

.game-card p {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

.gaming-partners {
    background-color: var(--surface-light);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
}

.gaming-partners h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.partners-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
    margin-top: 1rem;
}

.partners-list li a {
    background-color: var(--surface);
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.875rem;
}

.partners-list li a:hover {
    background-color: var(--primary);
    color: white;
}

/* === About Section === */
.about {
    padding: 5rem 0;
    background-color: var(--surface-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.feature {
    background-color: var(--surface);
    padding: 1.5rem;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature h3 {
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--text-tertiary);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* === Bonuses Section === */
.bonuses {
    padding: 5rem 0;
    text-align: center;
}

.bonuses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.bonus-card {
    background-color: var(--surface);
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.bonus-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.bonus-card.featured {
    border: 2px solid var(--secondary);
}

.bonus-tag {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: var(--secondary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.bonus-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.bonus-amount {
    color: var(--secondary);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 1rem 0;
}

.bonus-card .btn {
    margin-top: 1.5rem;
}

/* === Testimonials Section === */
.testimonials {
    padding: 5rem 0;
    background-color: var(--surface-light);
    text-align: center;
}

.testimonial-slider {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.testimonial-slide {
    background-color: var(--surface);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1 1 280px;
}

.testimonial-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
    position: relative;
    padding: 0 1rem;
}

.testimonial-content::before, .testimonial-content::after {
    content: '"';
    font-family: Georgia, serif;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.3;
    position: absolute;
}

.testimonial-content::before {
    top: -2rem;
    left: -1rem;
}

.testimonial-content::after {
    bottom: -4rem;
    right: -1rem;
    transform: rotate(180deg);
}

.testimonial-author {
    margin-top: 2rem;
}

.author-name {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0;
}

.author-location {
    color: var(--text-tertiary);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* === News Section === */
.news {
    padding: 5rem 0;
}

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

.news-card {
    background-color: var(--surface);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.news-date {
    color: var(--text-tertiary);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.news-card h3 {
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
    position: relative;
}

.read-more:after {
    content: '→';
    margin-left: 0.25rem;
    transition: margin-left 0.3s ease;
}

.read-more:hover:after {
    margin-left: 0.5rem;
}

/* === Newsletter Section === */
.newsletter {
    padding: 5rem 0;
    text-align: center;
    background-color: var(--surface-light);
}

.newsletter-form {
    max-width: 600px;
    margin: 2rem auto 0;
    display: flex;
    gap: 1rem;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 0.875rem 1.5rem;
    border-radius: 50px;
    border: none;
    background-color: var(--surface);
    color: var(--text-primary);
    font-size: 1rem;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2), 0 0 0 2px var(--primary-light);
}

/* === Footer === */
footer {
    background-color: var(--surface);
    padding-top: 4rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about {
    grid-column: span 2;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--surface-light);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.social-icon {
    color: var(--text-primary);
    font-size: 0;
}

.footer-links h3, .footer-contact h3 {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
}

.footer-links ul, .contact-info {
    list-style: none;
}

.footer-links li, .contact-info li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-tertiary);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary);
    margin-left: 5px;
}

.contact-info li {
    color: var(--text-tertiary);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-legal a {
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

.footer-legal a:hover {
    color: var(--text-primary);
}

.footer-disclaimer p {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-bottom: 0;
}

/* === Animations === */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Responsive Styles === */
@media (max-width: 991px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        gap: 2rem;
    }
    
    .footer-about {
        grid-column: 1/-1;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav ul {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--background);
        padding: 2rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        opacity: 0;
        visibility: hidden;
        z-index: 1000;
    }
    
    nav ul.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    nav li {
        width: 100%;
        text-align: center;
    }
    
    nav a {
        display: block;
        padding: 1rem 0;
    }
    
    .hero {
        padding: 6rem 0;
    }
    
    h1 {
        font-size: 2.25rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column-reverse;
    }
    
    .footer-legal {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
}
