/*
Theme Name: EmeraldsJackpot
Theme URI: https://emeraldsjackpot.com
Author: EmeraldsJackpot Team
Author URI: https://emeraldsjackpot.com
Description: A vibrant social casino gaming platform featuring exciting games and rewards
Version: 1.2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: emeraldsjackpot
*/

:root {
    --primary-color: #10B981;
    --secondary-color: #059669;
    --accent-color: #34D399;
    --dark-bg: #064E3B;
    --light-bg: #F0FDF4;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --gradient-start: #10B981;
    --gradient-end: #059669;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Header */
header {
    background: var(--dark-bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo {
    height: 80px;
    width: auto;
}

.site-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white) !important;
    text-decoration: none;
    letter-spacing: -0.5px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    transition: color 0.3s;
    font-size: 1rem;
}

nav a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    opacity: 0.95;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.barcode {
    width: 150px;
    margin-top: 2rem;
    opacity: 0.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    border-radius: 30px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

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

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

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-weight: 600;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

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

.feature-card {
    background: var(--primary-color);
    padding: 30px;
    border-radius: 20px;
    color: var(--white);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.feature-card p {
    opacity: 0.95;
    line-height: 1.6;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.game-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: block;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.game-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

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

.game-card-content h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.game-card-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Background Sections */
.bg-gradient {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--white);
}

.bg-light {
    background: var(--light-bg);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--dark-bg), var(--secondary-color));
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 3rem;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-nav {
    display: flex;
    gap: 50px;
}

.footer-nav ul {
    list-style: none;
}

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

.footer-nav a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
    font-weight: 500;
}

.footer-nav a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: background 0.3s;
    font-size: 1.2rem;
}

.social-link:hover {
    background: rgba(255,255,255,0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 30px;
    text-align: center;
    opacity: 0.8;
}

/* Game Page Styles */
.game-hero {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    padding: 60px 0;
    color: var(--white);
}

.game-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.game-hero p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.game-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.game-poster {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.game-iframe-section {
    padding: 0;
    background: #000;
}

.game-iframe-wrapper {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 600px;
}

.game-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: rgba(16, 185, 129, 0.95);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.back-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.game-about {
    padding: 80px 0;
}

.game-about h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.game-about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.game-screenshot {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.game-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.game-details {
    margin-top: 2rem;
}

.game-details h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 1.5rem 0 0.5rem;
    font-weight: 700;
}

.game-details p {
    margin-bottom: 1rem;
}

/* Privacy & Terms Pages */
.page-header {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    padding: 80px 0;
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.page-content {
    padding: 80px 0;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.page-content h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 2.5rem 0 1rem;
    font-weight: 700;
}

.page-content h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin: 2rem 0 0.8rem;
    font-weight: 600;
}

.page-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.page-content ul, .page-content ol {
    margin: 1.5rem 0 1.5rem 2rem;
    line-height: 1.8;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content,
    .two-column,
    .game-hero-content,
    .game-about-content,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text h1,
    .section-title,
    .game-hero h1,
    .page-header h1 {
        font-size: 2.5rem;
    }

    nav ul {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .game-iframe-wrapper {
        height: 60vh;
        min-height: 400px;
    }
}

@media (max-width: 640px) {
    .hero-text h1,
    .section-title,
    .game-hero h1,
    .page-header h1 {
        font-size: 2rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .features-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-out;
}

/* Newsletter Form */
.newsletter-section {
    background: var(--light-bg);
    padding: 60px 0;
    text-align: center;
}

.newsletter-form {
    max-width: 500px;
    margin: 2rem auto;
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 15px 30px;
}

.form-message {
    margin-top: 1rem;
    font-weight: 600;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Gamble Aware Footer Icons */
.gamble-aware-icons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.gamble-icon {
    background: white;
    padding: 8px 12px;
    border-radius: 8px;
    display: inline-block;
}

.gamble-icon img {
    height: 40px;
    width: auto;
    display: block;
}
