/* brasil-222bet.com - Inverted Pyramid Grid Layout + Brazilian Theme */
:root {
    --primary-green: #009739;
    --primary-yellow: #FEDD00;
    --primary-blue: #002776;
    --accent-gold: #FFD700;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --bg-light: #f5f5f5;
}

* {
    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-dark);
    background: linear-gradient(135deg, var(--bg-light) 0%, #e8e8e8 100%);
}

/* Inverted Pyramid Header */
header {
    background: linear-gradient(180deg, var(--primary-green) 0%, var(--primary-yellow) 50%, var(--primary-blue) 100%);
    clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%);
    padding: 60px 20px 80px;
    text-align: center;
    position: relative;
}

header img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    animation: float 3s ease-in-out infinite;
}

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

header h1 {
    color: var(--text-light);
    font-size: 2.5em;
    margin-top: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Inverted Pyramid Navigation */
nav {
    background: var(--primary-blue);
    clip-path: polygon(5% 0, 95% 0, 100% 100%, 0 100%);
    padding: 30px 20px 20px;
    margin-top: -40px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-gold));
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
}

nav a:hover {
    transform: scale(1.1) rotate(-2deg);
    box-shadow: 0 6px 20px rgba(255,215,0,0.6);
}

/* Main Content - Inverted Pyramid Grid */
main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.pyramid-section {
    margin-bottom: 40px;
    clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
    background: white;
    padding: 40px 60px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.pyramid-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.pyramid-section h2 {
    color: var(--primary-green);
    font-size: 2em;
    margin-bottom: 20px;
    border-bottom: 3px solid var(--accent-gold);
    padding-bottom: 10px;
}

/* Game Grid - Inverted Pyramid */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.game-card {
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    clip-path: polygon(5% 0, 95% 0, 100% 100%, 0 100%);
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-yellow);
}

.game-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,151,57,0.3);
    border-color: var(--accent-gold);
}

.game-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.game-card h3 {
    color: var(--primary-blue);
    font-size: 1.3em;
    margin-bottom: 10px;
}

.game-card p {
    color: #666;
    font-size: 0.95em;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-gold));
    color: var(--text-light);
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.2em;
    font-weight: bold;
    margin: 20px 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,151,57,0.4);
}

.cta-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(255,215,0,0.6);
}

/* FAQ Section */
.faq-item {
    background: #f9f9f9;
    margin-bottom: 15px;
    padding: 20px;
    border-left: 4px solid var(--primary-green);
    border-radius: 8px;
}

.faq-item h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}

/* Reviews Section */
.review {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-top: 3px solid var(--accent-gold);
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.review-author {
    font-weight: bold;
    color: var(--primary-green);
}

.review-rating {
    color: var(--accent-gold);
}

/* Footer - Inverted Pyramid */
footer {
    background: linear-gradient(180deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
    color: var(--text-light);
    padding: 60px 20px 40px;
    margin-top: 60px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--accent-gold);
    margin-bottom: 15px;
    font-size: 1.3em;
}

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

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.3);
    font-size: 0.9em;
}

.license-badge {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--primary-blue);
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    margin-top: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.8em;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .pyramid-section {
        padding: 30px 20px;
        clip-path: polygon(5% 0, 95% 0, 100% 100%, 0 100%);
    }
    
    .game-grid {
        grid-template-columns: 1fr;
    }
}
