/* Global Styles */
:root {
    --primary-color: #4A90E2;
    --secondary-color: #2C3E50;
    --accent-color: #27AE60;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #1a1a1a;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

/* Navbar Styles */
.navbar {
    background-color: rgba(42, 38, 95, 0.95);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: #fff !important;
}

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.9) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--secondary-color) 50%, var(--primary-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/back.png') repeat;
    opacity: 0.1;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.get-started-btn {
    background-color: var(--accent-color);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.get-started-btn:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .get-started-btn {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.about-image img {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: translateY(-5px);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.feature-item {
    padding: 1.5rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-item i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.feature-item h3 {
    color: var(--secondary-color);
    font-weight: 600;
}

.feature-item p {
    color: #666;
    margin-bottom: 0;
}

/* Responsive Design for About Section */
@media (max-width: 991.98px) {
    .about-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .about-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-item {
        padding: 1rem;
    }
}

/* Games Section */
.games-section {
    background-color: white;
    padding: 100px 0;
}

.game-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.disclaimer-text {
    color: #1a1a1a;
}

.game-image {
    position: relative;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.game-content {
    padding: 1.5rem;
}

.game-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
}

.game-content p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    min-height: 2.7rem;
}

.game-content .btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design for Games Section */
@media (max-width: 991.98px) {
    .games-section {
        padding: 60px 0;
    }
    
    .game-content h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .games-section {
        padding: 40px 0;
    }
    
    .game-image img {
        height: 180px;
    }
    
    .game-content {
        padding: 1.25rem;
    }
}

/* Footer Styles */
.footer {
    background-color: var(--secondary-color);
    color: #fff;
}

.disclaimer-section {
    background-color: #f8f9fa;
}

.disclaimer-box {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.disclaimer-box h3 {
    color: #333;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.disclaimer-box p {
    color: #666;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

.disclaimer-images img {
    max-height: 80px;
    width: auto;
}

.footer-images {
    background-color: rgba(0, 0, 0, 0.1);
}

.footer-img {
    max-height: 60px;
    width: auto;
}

.footer-pages {
    background-color: rgba(0, 0, 0, 0.15);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.copyright-section {
    background-color: rgba(0, 0, 0, 0.25);
}

.copyright-text {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Responsive Footer */
@media (max-width: 767.98px) {
    .footer-links {
        gap: 1rem;
        flex-direction: column;
        text-align: center;
    }

    .footer-img {
        max-height: 50px;
    }

    .disclaimer-text,
    .footer-links a,
    .copyright-text {
        font-size: 0.8rem;
        color: #1a1a1a;
    }
}

/* Policy Pages Styles */
.policy-section {
    padding-top: 120px;
}

.policy-content {
    font-size: 1rem;
    line-height: 1.6;
}

.policy-content h2 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-content h3 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.policy-content p {
    margin-bottom: 1.2rem;
}

.policy-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
}

.policy-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.policy-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Contact Form Styles */
.contact-section {
    padding-top: 120px;
}

.contact-form-wrapper {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-form .form-label {
    font-weight: 500;
    color: var(--secondary-color);
}

.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

.contact-info {
    text-align: center;
}

.contact-info i {
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-info h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin: 1rem 0 0.5rem;
}

.contact-info p {
    color: #666;
    margin: 0;
}

/* Responsive Styles for Policy and Contact Pages */
@media (max-width: 767.98px) {
    .policy-section,
    .contact-section {
        padding-top: 100px;
    }

    .policy-content h2 {
        font-size: 1.5rem;
    }

    .policy-content h3 {
        font-size: 1.2rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

.game-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    margin: 0 auto;
}

.game-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
} 