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

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #2c1000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel Decorative', cursive;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    color: #ffb300;
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255, 179, 0, 0.5);
}

.section-subtitle {
    text-align: center;
    color: #ff3d00;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Header */
.header {
    background: linear-gradient(135deg, rgba(44, 16, 0, 0.95), rgba(255, 179, 0, 0.1));
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #ffb300;
    padding: 1rem 0;
    position: relative;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 2rem;
    color: #ffb300;
    text-shadow: 0 0 20px rgba(255, 179, 0, 0.8);
    animation: pulse 2s infinite;
}

.logo-text {
    font-family: 'Cinzel Decorative', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffb300;
    text-shadow: 0 0 10px rgba(255, 179, 0, 0.5);
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #ffb300;
    text-shadow: 0 0 10px rgba(255, 179, 0, 0.8);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffb300, #ff3d00);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.cta-button {
    background: linear-gradient(135deg, #ffb300, #ff3d00);
    color: #2c1000;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 179, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 179, 0, 0.5);
    filter: brightness(1.1);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2c1000 0%, #4a1f00 50%, #ffb300 100%);
    opacity: 0.8;
    z-index: -2;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 179, 0, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 61, 0, 0.3) 0%, transparent 50%);
    z-index: -1;
}

.hero-content {
    flex: 1;
    z-index: 10;
}

.hero-title {
    font-size: 3.5rem;
    color: #ffb300;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(255, 179, 0, 0.8);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #ff3d00;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #ffb300, #ff3d00);
    color: #2c1000;
    box-shadow: 0 4px 15px rgba(255, 179, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 179, 0, 0.5);
}

.btn-secondary {
    background: transparent;
    color: #ffb300;
    border: 2px solid #ffb300;
    box-shadow: 0 4px 15px rgba(255, 179, 0, 0.2);
}

.btn-secondary:hover {
    background: #ffb300;
    color: #2c1000;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 179, 0, 0.4);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.temple-ruins {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #ffb300 0%, #ff3d00 100%);
    border-radius: 50%;
    position: relative;
    box-shadow: 
        0 0 50px rgba(255, 179, 0, 0.5),
        inset 0 0 50px rgba(255, 61, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

.temple-ruins::before {
    content: '🏛️';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    filter: drop-shadow(0 0 20px rgba(255, 179, 0, 0.8));
}

/* Games Section */
.games-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(44, 16, 0, 0.9), rgba(74, 31, 0, 0.9));
}

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

.game-card {
    background: linear-gradient(135deg, rgba(255, 179, 0, 0.1), rgba(255, 61, 0, 0.1));
    border: 2px solid #ffb300;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 179, 0, 0.3);
    border-color: #ff3d00;
}

.game-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

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

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

.play-btn {
    background: linear-gradient(135deg, #ffb300, #ff3d00);
    color: #2c1000;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.game-card:hover .play-btn {
    transform: translateY(0);
}

.play-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 179, 0, 0.5);
}

.game-title {
    padding: 1.5rem;
    font-family: 'Cinzel Decorative', cursive;
    color: #ffb300;
    text-align: center;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(255, 179, 0, 0.5);
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(255, 179, 0, 0.1), rgba(255, 61, 0, 0.1));
    text-align: center;
}

.about-text {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    color: #ffffff;
    line-height: 1.8;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: rgba(44, 16, 0, 0.95);
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 179, 0, 0.1), rgba(255, 61, 0, 0.1));
    border: 2px solid rgba(255, 179, 0, 0.3);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #ffb300;
    box-shadow: 0 15px 30px rgba(255, 179, 0, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(255, 179, 0, 0.5));
}

.feature-title {
    color: #ffb300;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-text {
    color: #ffffff;
    line-height: 1.6;
}

/* Disclaimer Section */
.disclaimer-section {
    padding: 3rem 0;
    background: rgba(255, 61, 0, 0.1);
    text-align: center;
}

.disclaimer-title {
    color: #ff3d00;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.disclaimer-text {
    color: #ffffff;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c1000, #1a0b00);
    border-top: 2px solid #ffb300;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

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

.footer-links a:hover {
    color: #ffb300;
}

.footer-text {
    color: #ffffff;
    opacity: 0.8;
}

/* Game Pages */
.game-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.game-header {
    background: linear-gradient(135deg, rgba(44, 16, 0, 0.95), rgba(255, 179, 0, 0.1));
    padding: 2rem 0;
    text-align: center;
    border-bottom: 2px solid #ffb300;
}

.game-container {
    flex: 1;
    padding: 0;
    
    justify-content: center;
    align-items: stretch;
}

.game-frame {
    width: 100%;
    height: 100vh;
    border: none;
    display: block;
}

.back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #ffb300, #ff3d00);
    color: #2c1000;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
    display: inline-block;
}

.back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 179, 0, 0.5);
}

/* Contact Form */
.contact-section {
    padding: 5rem 0;
    min-height: 70vh;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 179, 0, 0.1), rgba(255, 61, 0, 0.1));
    padding: 3rem;
    border-radius: 15px;
    border: 2px solid #ffb300;
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    display: block;
    color: #ffb300;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(44, 16, 0, 0.5);
    border: 2px solid rgba(255, 179, 0, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #ffb300;
    box-shadow: 0 0 10px rgba(255, 179, 0, 0.3);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    background: linear-gradient(135deg, #ffb300, #ff3d00);
    color: #2c1000;
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 179, 0, 0.5);
}

/* Content Pages */
.content-section {
    padding: 5rem 0;
    min-height: 70vh;
}

.content-container {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 179, 0, 0.1), rgba(255, 61, 0, 0.1));
    padding: 3rem;
    border-radius: 15px;
    border: 2px solid #ffb300;
}

.content-container h2 {
    color: #ffb300;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.content-container h3 {
    color: #ff3d00;
    margin: 2rem 0 1rem 0;
    font-size: 1.3rem;
}

.content-container p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #ffffff;
}

.content-container ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.content-container li {
    margin-bottom: 0.5rem;
    color: #ffffff;
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .temple-ruins {
        width: 200px;
        height: 200px;
        margin-top: 2rem;
    }
    
    .temple-ruins::before {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .game-frame {
        height: 100vh;
    }
    
    .contact-form {
        margin: 0 15px;
        padding: 2rem;
    }
    
    .content-container {
        margin: 0 15px;
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .game-frame {
        height: 100vh;
    }
}