/* Layout XLI - Neon Glow Circuit Design for brazil-9fgame.com */
* { 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: linear-gradient(135deg, #4a148c 0%, #6a1b9a 25%, #7b1fa2 50%, #8e24aa 75%, #4a148c 100%);
    position: relative; overflow-x: hidden;
}
body::before {
    content: ''; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255,215,0,0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255,215,0,0.15) 0%, transparent 40%),
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,215,0,0.03) 2px, rgba(255,215,0,0.03) 4px);
    pointer-events: none; z-index: 0;
    animation: brazil9f-glow 6s ease-in-out infinite;
}
@keyframes brazil9f-glow {
    0%, 100% { opacity: 0.5; filter: brightness(1); }
    50% { opacity: 1; filter: brightness(1.3); }
}
header {
    background: linear-gradient(135deg, #4a148c 0%, #6a1b9a 100%);
    padding: 1.5rem 2rem; box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    position: sticky; top: 0; z-index: 100;
    border-bottom: 5px solid #ffd700;
}
.brazil9f-header-content {
    max-width: 1400px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1.5rem;
}
.brazil9f-logo-section { display: flex; align-items: center; gap: 1rem; }
.brazil9f-logo {
    width: 80px; height: 80px; border-radius: 50%;
    border: 5px solid #ffd700;
    animation: brazil9f-neon 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255,215,0,0.6);
}
@keyframes brazil9f-neon {
    0%, 100% { box-shadow: 0 0 20px rgba(255,215,0,0.6); }
    50% { box-shadow: 0 0 40px rgba(255,215,0,1), 0 0 60px rgba(138,43,226,0.8); }
}
.brazil9f-brand h1 {
    color: #ffd700; font-size: 2.4rem;
    text-shadow: 0 0 10px rgba(255,215,0,0.8), 3px 3px 6px rgba(0,0,0,0.6);
    font-weight: bold; letter-spacing: 3px;
}
nav ul { list-style: none; display: flex; gap: 1.5rem; flex-wrap: wrap; }
nav a {
    color: #fff; text-decoration: none; font-weight: 600;
    padding: 0.6rem 1.2rem; border-radius: 25px;
    transition: all 0.3s; background: rgba(255,255,255,0.2);
    border: 2px solid transparent; position: relative;
}
nav a:hover {
    background: #ffd700; color: #4a148c;
    border-color: #fff; transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255,215,0,0.8);
}
main { max-width: 1400px; margin: 3rem auto; padding: 0 2rem; position: relative; z-index: 1; }
section {
    background: rgba(255,255,255,0.98); padding: 3rem; border-radius: 25px;
    margin-bottom: 3rem; box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    border: 4px solid #ffd700;
}
h1, h2, h3 { color: #4a148c; margin-bottom: 1.5rem; }
h1 { font-size: 2.8rem; text-align: center; text-shadow: 2px 2px 4px rgba(0,0,0,0.1); }
h2 { font-size: 2.2rem; border-left: 6px solid #ffd700; padding-left: 1rem; }
h3 { font-size: 1.6rem; color: #6a1b9a; }
p { margin-bottom: 1.2rem; text-align: justify; }
.brazil9f-games-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem; margin: 3rem 0;
}
.brazil9f-game-card {
    background: linear-gradient(135deg, #fff 0%, #f3e5f5 100%);
    border-radius: 20px; overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: all 0.3s; border: 3px solid #ffd700;
    position: relative;
}
.brazil9f-game-card::before {
    content: '9F'; position: absolute; top: 10px; right: 10px;
    font-size: 2.5rem; font-weight: bold;
    color: rgba(138,43,226,0.2); z-index: 1;
}
.brazil9f-game-card:hover {
    transform: translateY(-12px) rotate(-2deg);
    box-shadow: 0 15px 45px rgba(138,43,226,0.6), 0 0 30px rgba(255,215,0,0.4);
}
.brazil9f-game-card img { width: 100%; height: 210px; object-fit: cover; }
.brazil9f-game-card h3 {
    padding: 1.2rem;
    background: linear-gradient(135deg, #4a148c 0%, #6a1b9a 100%);
    color: #ffd700; text-align: center;
}
.brazil9f-game-card p { padding: 1.2rem; text-align: center; }
.brazil9f-cta {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700 0%, #ffeb3b 100%);
    color: #4a148c; padding: 1.2rem 3.5rem; border-radius: 50px;
    text-decoration: none; font-weight: bold; font-size: 1.3rem;
    transition: all 0.3s;
    box-shadow: 0 6px 25px rgba(255,215,0,0.5), 0 0 20px rgba(138,43,226,0.3);
    text-transform: uppercase; border: 3px solid #6a1b9a;
    position: relative;
}
.brazil9f-cta::before {
    content: '9F'; position: absolute; left: 10px;
    font-size: 0.8rem;
    animation: brazil9f-pulse 1.5s ease-in-out infinite;
}
@keyframes brazil9f-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}
.brazil9f-cta:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 35px rgba(255,215,0,0.8), 0 0 40px rgba(138,43,226,0.6);
}
.brazil9f-faq { margin-top: 3rem; }
.brazil9f-faq-item {
    background: #f3e5f5; padding: 1.8rem; margin-bottom: 1.2rem;
    border-radius: 15px; border-left: 5px solid #6a1b9a;
}
.brazil9f-faq-item h3 { color: #4a148c; margin-bottom: 0.8rem; }
footer {
    background: linear-gradient(135deg, #4a148c 0%, #6a1b9a 100%);
    color: #fff; padding: 3rem 2rem 1rem;
    position: relative; z-index: 1;
}
.brazil9f-footer-content {
    max-width: 1400px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem; margin-bottom: 2rem;
}
.brazil9f-footer-section h3 { color: #ffd700; margin-bottom: 1.2rem; }
.brazil9f-footer-section ul { list-style: none; }
.brazil9f-footer-section a {
    color: #fff; text-decoration: none; transition: color 0.3s;
}
.brazil9f-footer-section a:hover { color: #ffd700; }
.brazil9f-footer-bottom {
    text-align: center; padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}
@media (max-width: 768px) {
    .brazil9f-header-content { flex-direction: column; text-align: center; }
    nav ul { justify-content: center; }
    section { padding: 2rem 1.5rem; }
    h1 { font-size: 2.2rem; }
    .brazil9f-games-grid { grid-template-columns: 1fr; }
}
