/* 
 * ScriptZone Premium Theme - Main Stylesheet
 * 1.0.0
 */

:root {
    --bg-color: #030305;
    --text-color: #e2e8f0;
    --text-muted: #94a3b8;
    
    /* Neon Colors */
    --neon-purple: #9d4edd;
    --neon-purple-glow: rgba(157, 78, 221, 0.7);
    --neon-blue: #00f5d4;
    --neon-blue-glow: rgba(0, 245, 212, 0.7);
    --neon-green: #38b000;
    
    /* Glassmorphism */
    --glass-bg: rgba(20, 20, 25, 0.4);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.5);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --container-width: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body.dark-theme {
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(157, 78, 221, 0.08), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 245, 212, 0.08), transparent 25%);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Glow Effects */
.bg-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    opacity: 0.3;
    animation: pulseGlow 8s infinite alternate ease-in-out;
}
@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.2; }
    100% { transform: scale(1.1); opacity: 0.4; }
}
.bg-glow-purple { top: -150px; left: -250px; background: var(--neon-purple); }
.bg-glow-blue { bottom: 10%; right: -200px; background: var(--neon-blue); }
.bg-glow-green { background: rgba(56, 176, 0, 0.2); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

a { color: var(--neon-blue); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: var(--neon-purple); }

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Glassmorphism Utility */
.glassmorphism {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-top: 1px solid rgba(255,255,255,0.1);
    border-left: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--glass-shadow);
    border-radius: 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--neon-purple), #7b2cbf);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}
.btn-primary:hover {
    color: #fff;
    box-shadow: 0 0 25px var(--neon-purple-glow);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid var(--neon-blue);
}
.btn-secondary:hover {
    background: rgba(0, 245, 212, 0.1);
    box-shadow: 0 0 20px var(--neon-blue-glow);
}

.btn-discord {
    background: #5865F2;
    color: white;
}
.btn-discord:hover {
    background: #4752C4;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.6);
}

.btn-block { width: 100%; }
.lg-btn { padding: 18px 40px; font-size: 1.1rem; }

/* Header */
.site-header {
    position: sticky;
    top: 20px;
    z-index: 100;
    margin: 0 auto;
    max-width: calc(var(--container-width) - 40px);
    border-radius: 16px;
    padding: 15px 30px;
    transition: all 0.3s ease;
}

.brand-logo-text {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #fff, var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.main-navigation a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}
.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-blue);
    transition: width 0.3s ease;
}
.main-navigation a:hover::after { width: 100%; }
.main-navigation a:hover { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.5); }

/* Hero Section - handled inline in home.php for dynamic image paths */

.hero-content {
    max-width: 900px;
    animation: fadeIn 1s ease-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.badge-wrapper { margin-bottom: 30px; }
.neon-badge {
    background: rgba(0, 245, 212, 0.1);
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--neon-blue-glow);
    box-shadow: 0 0 15px rgba(0, 245, 212, 0.2) inset;
}

.glitch {
    font-size: 5.5rem;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 900;
    line-height: 1;
    text-shadow: 2px 2px 0px var(--neon-purple), -2px -2px 0px var(--neon-blue);
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--neon-blue);
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 15px var(--neon-blue-glow);
}

.hero-desc {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Neon Text */
.neon-text {
    color: #fff;
    text-shadow: 0 0 10px var(--neon-purple-glow), 0 0 30px var(--neon-purple-glow);
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 60px;
}

/* Products Section */
.products-section { padding: 100px 0; }

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

.product-card {

    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    border-top: 1px solid rgba(255,255,255,0.15);

    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(157, 78, 221, 0.3);
    border-color: var(--neon-purple);
    background: rgba(157, 78, 221, 0.05);
}

.product-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.3), rgba(0, 245, 212, 0.3));
    border-radius: 50%;
    border: 2px solid var(--neon-purple);
    box-shadow: 0 0 20px var(--neon-purple-glow) inset;
}

.product-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #fff;
}

.product-features {
    list-style: none;
    text-align: left;
    margin-bottom: 40px;
}

.product-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-color);
    font-weight: 500;
}

.status-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.status-dot.green { background-color: var(--neon-green); box-shadow: 0 0 12px var(--neon-green); }

/* Info Section */
.info-section { padding: 100px 0; }
.info-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center;}
.info-text { padding: 50px; }
.info-text h2 { font-size: 2.5rem; margin-bottom: 25px; }
.info-text p { font-size: 1.1rem; margin-bottom: 20px; }

.neon-text-sub {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue-glow);
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.feature-list { list-style: none; color: var(--text-color); }
.feature-list li { margin-bottom: 15px; position: relative; padding-left: 25px; font-size: 1.1rem; }
.feature-list li::before {
    content: '⚡';
    position: absolute;
    left: 0;
    color: var(--neon-purple);
    font-size: 1rem;
    top: 2px;
}

/* FAQ */
.faq-section { padding: 100px 0; }
.faq-container { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }

.faq-item {
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.faq-question { padding: 25px 30px; display: flex; justify-content: space-between; align-items: center; }
.faq-question h3 { margin: 0; font-size: 1.3rem; color: #fff; }
.faq-icon { font-size: 2rem; color: var(--neon-blue); transition: transform 0.3s ease; font-weight: 300; }

.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--neon-purple); }
.faq-item.active { border-color: var(--neon-purple); box-shadow: 0 0 20px rgba(157, 78, 221, 0.2); }

.faq-answer { padding: 0 30px; max-height: 0; transition: all 0.4s ease; color: var(--text-muted); opacity: 0; }
.faq-item.active .faq-answer { padding: 0 30px 25px; max-height: 300px; opacity: 1; }

/* CTA */
.cta-section { padding: 80px 0 120px; }
.cta-box {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, rgba(20,20,25,0.8), rgba(157, 78, 221, 0.1));
}
.neon-border { border: 2px solid var(--neon-purple); box-shadow: 0 0 30px var(--neon-purple-glow), inset 0 0 20px var(--neon-purple-glow); }

.cta-box h2 { font-size: 4rem; margin-bottom: 20px; }
.cta-box p { font-size: 1.4rem; color: var(--text-color); margin-bottom: 40px; }

/* Footer */
.site-footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 80px;
    background: #000;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-col p { color: var(--text-muted); font-size: 1.1rem; line-height: 1.8; max-width: 400px; }
.footer-col h3 { font-size: 1.4rem; color: #fff; margin-bottom: 25px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 15px; }
.footer-col ul a { color: var(--text-muted); font-size: 1.1rem; }
.footer-col ul a:hover { color: var(--neon-blue); padding-left: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding: 30px 0; text-align: center; color: var(--text-muted); }

/* Responsive */
@media (max-width: 768px) {
    .main-navigation, .header-actions { display: none; }
    .glitch { font-size: 3.5rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .info-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .section-title { font-size: 2.5rem; }
    
    .hero-game-cards { gap: 10px; }
    .hero-game-card { width: 100px; height: 45px; }
    .hero-game-card .card-overlay { font-size: 0.7rem; }
    
    .hero-text-content h1 { font-size: 3.5rem !important; }
    .hero-text-content p { font-size: 1rem !important; }
    
    .btn-hero-primary, .btn-hero-secondary { padding: 12px 25px; font-size: 0.9rem; }
}

.card-btn-wrapper {
    margin-top: auto;
}

