/* TryLumra.click - Retro Gaming Arcade Theme */
/* Unique design different from previous sites */

@import url('https://fonts.googleapis.com/css2?family=Audiowide:wght@400&family=Roboto:wght@300;400;500;700&display=swap');

:root {
    /* Retro Gaming Color Palette */
    --primary-color: #FF00FF; /* Hot Pink/Magenta */
    --secondary-color: #00FFFF; /* Electric Cyan */
    --accent-color: #FFFF00; /* Bright Yellow */
    --accent-secondary: #FF6B00; /* Electric Orange */
    
    /* Retro Gaming Backgrounds */
    --bg-primary: #1a0520; /* Deep Purple */
    --bg-secondary: #0f1419; /* Dark Blue-Black */
    --bg-card: #2a1040; /* Purple Card */
    --bg-gradient: linear-gradient(135deg, #1a0520 0%, #0f1419 50%, #2a1040 100%);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #b0b0b0;
    --text-accent: #00FFFF;
    
    /* Gaming Effects */
    --neon-glow: 0 0 10px currentColor, 0 0 20px currentColor, 0 0 30px currentColor;
    --retro-shadow: 4px 4px 0px rgba(255, 0, 255, 0.3);
    --arcade-border: 3px solid;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    --border-radius: 12px;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Retro Gaming Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 0, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, transparent 49%, rgba(255, 255, 0, 0.03) 49%, rgba(255, 255, 0, 0.03) 51%, transparent 51%);
    background-size: 200px 200px, 150px 150px, 20px 20px;
    z-index: -1;
    animation: retro-float 20s ease-in-out infinite;
}

@keyframes retro-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Section */
.section {
    padding: var(--section-padding);
    position: relative;
}

/* Retro Gaming Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Audiowide', cursive;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h1 {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: var(--retro-shadow);
}

h2 {
    font-size: 2.5rem;
    color: var(--accent-color);
    text-shadow: 2px 2px 0px rgba(255, 255, 0, 0.5);
}

h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

/* Navigation - Retro Arcade Style */
.navbar {
    background: rgba(26, 5, 32, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--primary-color);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    font-family: 'Audiowide', cursive;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--primary-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: var(--neon-glow);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--neon-glow);
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
    background: rgba(255, 255, 0, 0.1);
    box-shadow: 0 0 15px rgba(255, 255, 0, 0.3);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: var(--arcade-border);
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-size: 1.5rem;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: var(--primary-color);
    color: var(--bg-primary);
    box-shadow: var(--neon-glow);
}

/* Hero Section - Retro Gaming */
.hero {
    background: var(--bg-gradient);
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 0, 255, 0.1) 2px,
            rgba(255, 0, 255, 0.1) 4px
        );
    animation: scan-lines 2s linear infinite;
}

@keyframes scan-lines {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: neon-flicker 3s ease-in-out infinite;
}

@keyframes neon-flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Retro Gaming Buttons */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-secondary));
    color: white;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--retro-shadow);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 0, 255, 0.3);
}

/* Gaming Cards - Retro Arcade Style */
.game-card,
.feature-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    /* border: var(--arcade-border);
    border-color: var(--secondary-color); */
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-card::before,
.feature-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color), var(--accent-secondary));
    border-radius: var(--border-radius);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover::before,
.feature-card:hover::before {
    opacity: 1;
}

.game-card:hover,
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 0, 255, 0.2);
}

/* Gaming Grid */
.games-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    /* margin-top: 3rem; */
}

.game-iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: var(--border-radius);
    background: var(--bg-secondary);
}

/* Ensure game iframe is above preview/loading overlays from embedded game exports */
.game-iframe {
    position: relative;
    z-index: 1;
}

/* Features Grid - Retro Style */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--bg-primary);
    margin-bottom: 1.5rem;
    box-shadow: var(--neon-glow);
}

/* About Section - Gaming Theme */
.about-section {
    background: rgba(42, 16, 64, 0.3);
    border-top: 3px solid var(--accent-color);
    border-bottom: 3px solid var(--accent-color);
}

/* About image with overlay */
.about-image {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 100%;
}

.about-image .about-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
    border-radius: 12px;
    display: block;
}

.about-image .about-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-primary);
    text-align: center;
    padding: 1rem 1.5rem;
    background: rgba(10, 6, 20, 0.45);
    backdrop-filter: blur(6px) saturate(120%);
    border-radius: 10px;
    max-width: 85%;
    box-shadow: 0 8px 30px rgba(0,0,0,0.6);
}

.about-image .about-overlay h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    color: var(--accent-color);
}

.about-image .about-overlay p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .about-image .about-photo {
        height: 300px;
    }
    .about-image .about-overlay h3 { font-size: 1.1rem; }
    .about-image .about-overlay p { font-size: 0.9rem; }
}

@media (max-width: 480px) {
    .about-image .about-photo { height: 220px; }
    .about-image .about-overlay { padding: 0.75rem 1rem; }
    .about-image .about-overlay h3 { font-size: 1rem; }
    .about-image .about-overlay p { font-size: 0.85rem; }
}

/* Reviews Section - Arcade Style */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--primary-color);
    position: relative;
}

.review-stars {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-author {
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: 1rem;
}

/* Footer - Retro Gaming */
.footer {
    background: var(--bg-secondary);
    border-top: 3px solid var(--primary-color);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

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

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 2px solid var(--primary-color);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
}

/* Disclaimer Card - Gaming Style */
.disclaimer-card {
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.1), rgba(0, 255, 255, 0.1));
    border: var(--arcade-border);
    border-color: var(--accent-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-top: 1rem;
}

.disclaimer-card h3 {
    color: var(--accent-color) !important;
    margin-bottom: 1rem;
}

.disclaimer-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

/* Age Verification Popup - Retro Style */
.age-verification {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.age-popup {
    background: var(--bg-card);
    border: var(--arcade-border);
    border-color: var(--primary-color);
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(255, 0, 255, 0.3);
    animation: popup-glow 2s ease-in-out infinite alternate;
}

@keyframes popup-glow {
    from { box-shadow: 0 0 20px rgba(255, 0, 255, 0.3); }
    to { box-shadow: 0 0 30px rgba(255, 0, 255, 0.6); }
}

.popup-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-confirm {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--bg-primary);
}

.btn-reject {
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: white;
}

/* Contact Form - Gaming Style */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 2px solid var(--secondary-color);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(255, 255, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateY(-100%);
        visibility: hidden;
        opacity: 0;
        transition: all 0.3s ease;
        border-top: 3px solid var(--primary-color);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        visibility: visible;
        opacity: 1;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .popup-buttons {
        flex-direction: column;
    }
    
    .age-popup {
        padding: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .game-iframe {
        height: 300px;
    }
}

/* Improved responsive rules */
@media (max-width: 1024px) {
    .games-grid {
        grid-template-columns: 1fr;
    }
    .game-iframe {
        height: 60vh;
    }
}

@media (max-width: 768px) {
    .about-section .container > div {
        grid-template-columns: 1fr !important;
    }
    .about-image .about-overlay {
        position: absolute;
        left: 50%;
        top: auto;
        bottom: 12px;
        transform: translateX(-50%);
        width: calc(100% - 30px);
        max-width: 480px;
        padding: 0.75rem 1rem;
    }
    .about-image .about-photo {
        height: 320px;
    }
    .hero {
        padding: 100px 0 60px;
    }
    h1 { font-size: 2.4rem; }
    h2 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
    .game-iframe {
        height: 50vh;
    }
    .about-image .about-photo {
        height: 220px;
    }
    .about-image .about-overlay {
        bottom: 10px;
        padding: 0.5rem 0.75rem;
        font-size: 0.95rem;
    }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
}