/* Try Explore Mates - Turbo Rush Theme Styles */

:root {
    --primary-color: #D4AF37;
    --secondary-color: #B8860B;
    --accent-color: #FFD700;
    --dark-color: #8B7355;
    --light-color: #FFF8DC;
    --text-color: #654321;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    --gradient-secondary: linear-gradient(135deg, #B8860B 0%, #8B7355 100%);
    --gradient-accent: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: #F5E6A3;
    min-height: 100vh;
}

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

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.78); /* more translucent header */
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    z-index: 1000;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition);
}

.header:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.navbar {
    padding: 1.2rem 2rem;
}

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

.logo h1 {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 15px;
    transition: var(--transition);
    position: relative;
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
}

.hamburger:hover {
    background: rgba(212, 175, 55, 0.1);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: #F5E6A3; /* fallback color if image fails to load */
    color: var(--text-color);
    overflow: hidden;
    position: relative; /* create stacking context for background overlay */
}

/* Dulled hero background image implemented with a pseudo-element so we can apply filters */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('4026.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(20%) brightness(65%) contrast(90%);
    opacity: 0.85;
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    
    align-items: center;
    justify-items: center;
    place-items: center; /* Ensures full centering */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative; /* keep content above the pseudo-element background */
    z-index: 1;
}

/* Center hero content horizontally and make text centered for a balanced layout */
.hero-content {
    justify-items: center;
}

.hero-text {
    text-align: center;
    max-width: 720px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(90deg, #d38415 0%, #f8e6ce 50%, #b87333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: var(--light-color);
}

.cta-button {
    display: inline-block;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Translucent variant for CTA when placed on the hero */
.hero .cta-button {
    background: rgba(255, 215, 0, 0.12); /* translucent gold tint */
    color: var(--white);
    border: 1px solid rgba(212, 175, 55, 0.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.hero .cta-button:hover {
    background: rgba(255, 215, 0, 0.18);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
}

.hero-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 4rem 2rem;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

/* Disclaimer Section */
.disclaimer-section {
    padding: 4rem 0;
    background: #F5E6A3;
}

.disclaimer-box {
    background: linear-gradient(135deg, #ff4757 0%, #ff3838 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    border-left: 5px solid var(--accent-color);
}

.disclaimer-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Game Section */
.game-section {
    padding: 4rem 0;
    background: #F5E6A3;
}

.game-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
    aspect-ratio: 16/9;
}

/* About Section */
.about {
    padding: 4rem 0;
    background: #F5E6A3;
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.about-image {
  max-width: 350px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20%;
  /* Soft shaded border effect */
  border: 6px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 25px rgba(120, 80, 50, 0.4); /* adjust tone here */
  animation: floatImage 4s ease-in-out infinite;
  transition: box-shadow 0.3s ease;
}

.about-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  filter: brightness(1.05) contrast(1);
}

.about-image:hover {
  box-shadow: 0 0 40px rgba(120, 80, 50, 0.6); /* slightly stronger glow on hover */
}

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

/* Reviews Section */
.reviews {
    padding: 4rem 0;
    background: #F5E6A3;
}

.reviews h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-card p {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.review-card h4 {
    color: var(--primary-color);
    font-weight: 600;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: #F5E6A3;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.feature-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature-card:hover {
    background: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

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

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Play Section */
.play-section {
    padding: 140px 0 80px;
    background: #F5E6A3;
    color: var(--text-color);
}

.play-header {
    text-align: center;
    margin-bottom: 3rem;
}

.play-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.play-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.play-info {
    max-width: 600px;
    margin: 3rem auto 0;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.play-info h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.play-info ul {
    list-style: none;
    padding: 0;
}

.play-info li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

/* Contact Section */
.contact-section {
    padding: 140px 0 80px;
    background: #F5E6A3;
    color: var(--text-color);
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.contact-form-wrapper h2 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-color);
    font-size: 1rem;
}

.submit-btn {
    background: var(--gradient-accent);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.contact-info h2 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.info-item ul {
    list-style: none;
    padding: 0;
}

.info-item li {
    padding: 0.3rem 0;
}

/* Legal Pages */
.legal-section {
    padding: 140px 0 80px;
    background: #F5E6A3;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.legal-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.last-updated {
    color: var(--text-color);
    opacity: 0.7;
    font-style: italic;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.section {
    margin-bottom: 3rem;
}

.section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section h3 {
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem;
    color: var(--secondary-color);
}

.section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.section li {
    margin-bottom: 0.5rem;
}

.warning-box,
.important-notice,
.critical-notice {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    box-shadow: var(--shadow);
}

.critical-notice {
    background: var(--gradient-secondary);
    border-left: 5px solid var(--accent-color);
}

/* Dark Content Cards */
.dark-content-card {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    margin: 2rem 0;
    border: 1px solid var(--primary-color);
}

.dark-content-card h1,
.dark-content-card h2,
.dark-content-card h3,
.dark-content-card h4 {
    color: var(--accent-color);
}

.dark-content-card a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.dark-content-card a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.dark-content-card .last-updated {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.dark-content-card .warning-box,
.dark-content-card .important-notice,
.dark-content-card .critical-notice {
    background: var(--gradient-primary);
    border-left: 5px solid var(--accent-color);
    margin: 2rem 0;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.popup-overlay.hidden {
    display: none;
}

.popup-content {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    margin: 2rem;
    text-align: center;
    box-shadow: var(--shadow-hover);
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.popup-content p {
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-accept {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header {
        top: 10px;
        left: 10px;
        right: 10px;
        border-radius: 15px;
    }
    
    .navbar {
        padding: 1rem 1.5rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        -webkit-backdrop-filter: blur(15px);
        backdrop-filter: blur(15px);
        flex-direction: column;
        gap: 0;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        border-radius: 15px;
        border: 1px solid rgba(212, 175, 55, 0.2);
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        padding: 1rem 1.5rem;
        border-radius: 0;
        margin: 0.25rem 0.5rem;
        border-radius: 10px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .game-frame {
        height: 400px;
    }
    
    .popup-content {
        margin: 1rem;
        padding: 2rem;
    }
    
    .contact-header h1,
    .legal-header h1,
    .play-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .header {
        top: 5px;
        left: 5px;
        right: 5px;
        border-radius: 12px;
    }
    
    .navbar {
        padding: 0.8rem 1rem;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .game-frame {
        height: 300px;
    }
    
    .contact-header h1,
    .legal-header h1,
    .play-header h1 {
        font-size: 2rem;
    }
    
    .features h2,
    .game-section h2,
    .about-text h2,
    .reviews h2 {
        font-size: 2rem;
    }
}