/*
Theme Name: WhackLounge
Theme URI: https://whacklounge.com
Author: WhackLounge
Author URI: https://whacklounge.com
Description: A vibrant social casino gaming WordPress theme for WhackLounge
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: whacklounge
*/

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button, .btn {
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.3s ease;
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #6B46C1 0%, #553C9A 100%);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(107, 70, 193, 0.3);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo img {
    height: 50px;
    width: auto;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-navigation a {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    padding: 10px 0;
    position: relative;
}

.main-navigation a:hover {
    color: #F59E0B;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #F59E0B 0%, #FBBF24 100%);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.main-navigation a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 20px 80px;
    margin-top: 70px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.98) 0%, rgba(124, 58, 237, 0.98) 100%);
    padding: 60px 50px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(107, 70, 193, 0.5);
    border: 2px solid rgba(245, 158, 11, 0.3);
}

.hero-logo {
    max-width: 200px;
    margin: 0 auto 20px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-content p {
    font-size: 18px;
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: #fff;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4);
    letter-spacing: 1px;
}

.cta-button:hover {
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.6);
}

/* Features Section */
.features-section {
    padding: 80px 20px;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 46px;
    font-weight: 900;
    color: #1F2937;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #F59E0B 0%, #EC4899 100%);
    border-radius: 3px;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.features-image {
    text-align: center;
}

.features-image img {
    max-width: 400px;
    margin: 0 auto;
}

.features-list {
    list-style: none;
}

.feature-item {
    margin-bottom: 40px;
}

.feature-item h3 {
    font-size: 24px;
    font-weight: 700;
    color: #6B46C1;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #7C3AED 0%, #6B46C1 50%, #553C9A 100%);
    color: #fff;
    position: relative;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(236, 72, 153, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-section .section-title {
    color: #fff;
}

.testimonials-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: rgba(255,255,255,0.98);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-left: 4px solid #F59E0B;
    position: relative;
    z-index: 1;
}

.testimonial-card p {
    font-size: 16px;
    color: #1F2937;
    font-style: italic;
    line-height: 1.8;
}

.testimonial-stars {
    color: #F59E0B;
    margin-top: 15px;
    font-size: 20px;
}

/* Games Section */
.games-section {
    padding: 80px 20px;
    background: #f8f9fa;
}

.games-section .section-title {
    color: #2c3e50;
}

.games-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.game-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(107, 70, 193, 0.3);
    border-color: #F59E0B;
}

.game-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-info {
    padding: 30px;
    text-align: center;
}

.game-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 15px;
}

.play-button {
    display: inline-block;
    background: linear-gradient(135deg, #7C3AED 0%, #6B46C1 100%);
    color: #fff;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    box-shadow: 0 5px 20px rgba(124, 58, 237, 0.4);
    letter-spacing: 1px;
}

.play-button:hover {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.6);
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 20px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.95) 0%, rgba(245, 158, 11, 0.95) 100%);
    z-index: 1;
}

.newsletter-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 36px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
}

.newsletter-content p {
    font-size: 18px;
    color: #fff;
    margin-bottom: 30px;
}

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

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
}

.newsletter-form button {
    background: linear-gradient(135deg, #1F2937 0%, #374151 100%);
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.newsletter-form button:hover {
    background: linear-gradient(135deg, #374151 0%, #4B5563 100%);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    color: #fff;
    padding: 40px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
}

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

.footer-disclaimer {
    font-size: 13px;
    color: #95a5a6;
    margin-bottom: 20px;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 20px;
}

.footer-copyright {
    font-size: 12px;
    color: #7f8c8d;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Contact Page */
.page-hero {
    padding: 120px 20px 60px;
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.page-hero h1 {
    font-size: 56px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 20px;
    color: #fff;
}

.contact-info-section {
    padding: 60px 20px;
    background: #fff;
}

.contact-info-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.contact-info-card {
    padding: 30px;
}

.contact-info-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #6B46C1;
    margin-bottom: 15px;
}

.contact-info-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

.contact-form-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #7C3AED 0%, #6B46C1 100%);
}

.contact-form-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
}

.contact-form-section > p {
    text-align: center;
    font-size: 18px;
    color: #fff;
    margin-bottom: 40px;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    border: 2px solid rgba(245, 158, 11, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #7C3AED;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

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

.submit-button {
    background: linear-gradient(135deg, #7C3AED 0%, #6B46C1 100%);
    color: #fff;
    padding: 16px 50px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    width: 100%;
    box-shadow: 0 5px 20px rgba(124, 58, 237, 0.4);
}

.submit-button:hover {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.6);
}

/* FAQ Section */
.faq-section {
    padding: 80px 20px;
    background: #fff;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 25px 30px;
    font-size: 18px;
    font-weight: 700;
    color: #1F2937;
    cursor: pointer;
    position: relative;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #EDE9FE;
}

.faq-question.orange {
    color: #F59E0B;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #7C3AED;
    font-weight: 700;
}

.faq-answer {
    padding: 0 30px 25px;
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

/* Terms & Conditions Page */
.terms-section {
    padding: 80px 20px;
    background: #fff;
}

.terms-container {
    max-width: 900px;
    margin: 0 auto;
}

.terms-container h1 {
    font-size: 48px;
    font-weight: 900;
    color: #2c3e50;
    margin-bottom: 40px;
    text-align: center;
}

.terms-container h2 {
    font-size: 24px;
    font-weight: 700;
    color: #7C3AED;
    margin: 40px 0 20px;
}

.terms-container p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.terms-accept {
    background: #f8f9fa;
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    margin-top: 60px;
    border: 2px solid #e0e0e0;
}

.terms-accept h2 {
    font-size: 32px;
    font-weight: 900;
    color: #2c3e50;
    margin-bottom: 20px;
}

.terms-accept p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.accept-button {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: #fff;
    padding: 16px 50px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    display: inline-block;
    box-shadow: 0 5px 20px rgba(245, 158, 11, 0.4);
}

.accept-button:hover {
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.6);
}

/* Opt Out Page */
.opt-out-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #7C3AED 0%, #6B46C1 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.opt-out-container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    text-align: center;
    border: 2px solid rgba(245, 158, 11, 0.2);
}

.opt-out-container h1 {
    font-size: 36px;
    font-weight: 900;
    color: #2c3e50;
    margin-bottom: 20px;
}

.opt-out-container p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

.opt-out-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.opt-out-form input {
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
}

.opt-out-form input:focus {
    outline: none;
    border-color: #7C3AED;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.opt-out-button {
    background: linear-gradient(135deg, #7C3AED 0%, #6B46C1 100%);
    color: #fff;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    margin-top: 10px;
    box-shadow: 0 5px 20px rgba(124, 58, 237, 0.4);
}

.opt-out-button:hover {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.6);
}

/* FAQ Hero with King */
.faq-hero {
    padding: 80px 20px;
    background: linear-gradient(135deg, #7C3AED 0%, #6B46C1 100%);
    margin-top: 70px;
}

.faq-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.faq-hero-text h1 {
    font-size: 56px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
}

.faq-hero-text p {
    font-size: 18px;
    color: #F3F4F6;
    line-height: 1.8;
}

.faq-hero-image img {
    max-width: 400px;
    margin: 0 auto;
}

/* Form Success Message */
.form-success {
    display: none;
    text-align: center;
    padding: 30px;
}

.form-success.show {
    display: block;
}

.form-success h3 {
    font-size: 28px;
    font-weight: 700;
    color: #27ae60;
    margin-bottom: 15px;
}

.form-success p {
    font-size: 16px;
    color: #666;
}

.spinner {
    border: 4px solid rgba(0,0,0,0.1);
    border-left-color: #7C3AED;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

/* Game Modal */
.game-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.game-modal.active {
    display: flex;
    flex-direction: column;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.game-modal-header {
    background: linear-gradient(135deg, #7C3AED 0%, #6B46C1 100%);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-modal-header h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.game-close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.game-close-btn:hover {
    transform: scale(1.2);
}

.game-modal-content {
    flex: 1;
    position: relative;
    background: #000;
}

.game-modal-content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .features-container,
    .faq-hero-container {
        grid-template-columns: 1fr;
    }

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

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .main-navigation ul {
        flex-direction: column;
        gap: 15px;
    }

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

    .newsletter-form {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .page-hero h1 {
        font-size: 36px;
    }

    .faq-hero-text h1 {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 40px 30px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .section-title {
        font-size: 32px;
    }

    .contact-form {
        padding: 30px 20px;
    }
}
