/* Layout XXXIII - Hexagonal Carnival Design for brasil-666bet.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, #009c3b 0%, #ffdf00 50%, #002776 100%);
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        repeating-linear-gradient(60deg, transparent, transparent 70px, rgba(255,255,255,0.05) 70px, rgba(255,255,255,0.05) 140px),
        repeating-linear-gradient(-60deg, transparent, transparent 70px, rgba(0,0,0,0.05) 70px, rgba(0,0,0,0.05) 140px);
    pointer-events: none;
    z-index: 0;
}

header {
    background: linear-gradient(135deg, #009c3b 0%, #006428 100%);
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 4px solid #ffdf00;
}

.brasil666-header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.brasil666-logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brasil666-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 4px solid #ffdf00;
    animation: brasil666-spin 3s linear infinite;
}

@keyframes brasil666-spin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

.brasil666-brand h1 {
    color: #ffdf00;
    font-size: 2rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    font-weight: bold;
}

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: 12px;
    transition: all 0.3s;
    background: rgba(255,255,255,0.15);
    clip-path: polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
}

nav a:hover {
    background: #ffdf00;
    color: #009c3b;
    transform: scale(1.1);
}

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.2);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 25px), calc(100% - 25px) 100%, 0 100%);
}

h1, h2, h3 {
    color: #009c3b;
    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 #ffdf00; padding-left: 1rem; }
h3 { font-size: 1.6rem; color: #006428; }

p { margin-bottom: 1.2rem; text-align: justify; }

.brasil666-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.brasil666-game-card {
    background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}

.brasil666-game-card:hover {
    transform: translateY(-12px) rotate(-2deg);
    box-shadow: 0 15px 45px rgba(255,223,0,0.5);
}

.brasil666-game-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.brasil666-game-card h3 {
    padding: 1.2rem;
    background: linear-gradient(135deg, #009c3b 0%, #006428 100%);
    color: #ffdf00;
    text-align: center;
}

.brasil666-game-card p {
    padding: 1.2rem;
    text-align: center;
}

.brasil666-cta {
    display: inline-block;
    background: linear-gradient(135deg, #ffdf00 0%, #ffc700 100%);
    color: #009c3b;
    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,223,0,0.5);
    text-transform: uppercase;
}

.brasil666-cta:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 35px rgba(255,223,0,0.7);
}

.brasil666-faq {
    margin-top: 3rem;
}

.brasil666-faq-item {
    background: #f9f9f9;
    padding: 1.8rem;
    margin-bottom: 1.2rem;
    border-radius: 12px;
    border-left: 5px solid #ffdf00;
}

.brasil666-faq-item h3 {
    color: #006428;
    margin-bottom: 0.8rem;
}

footer {
    background: linear-gradient(135deg, #006428 0%, #002776 100%);
    color: #fff;
    padding: 3rem 2rem 1rem;
    position: relative;
    z-index: 1;
}

.brasil666-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;
}

.brasil666-footer-section h3 {
    color: #ffdf00;
    margin-bottom: 1.2rem;
}

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

.brasil666-footer-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.brasil666-footer-section a:hover {
    color: #ffdf00;
}

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

@media (max-width: 768px) {
    .brasil666-header-content { flex-direction: column; text-align: center; }
    nav ul { justify-content: center; }
    section { padding: 2rem 1.5rem; }
    h1 { font-size: 2.2rem; }
    .brasil666-games-grid { grid-template-columns: 1fr; }
}
