/* Layout XXXIX - Hexagon Honeycomb Design for wap-6zbet.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, #0d47a1 0%, #1565c0 25%, #1976d2 50%, #42a5f5 75%, #0d47a1 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 25% 25%, rgba(255,215,0,0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255,215,0,0.1) 0%, transparent 50%),
        repeating-linear-gradient(60deg, transparent, transparent 40px, rgba(255,215,0,0.02) 40px, rgba(255,215,0,0.02) 80px);
    pointer-events: none;
    z-index: 0;
    animation: wap6z-hexagon 10s ease-in-out infinite;
}

@keyframes wap6z-hexagon {
    0%, 100% { opacity: 0.7; transform: rotate(0deg); }
    50% { opacity: 1; transform: rotate(2deg); }
}

header {
    background: linear-gradient(135deg, #01579b 0%, #0d47a1 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;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    padding-bottom: 2rem;
}

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

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

.wap6z-logo {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    border: 5px solid #ffd700;
    animation: wap6z-float 3s ease-in-out infinite;
    transform-origin: center;
}

@keyframes wap6z-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
}

.wap6z-brand h1 {
    color: #ffd700;
    font-size: 2.4rem;
    text-shadow: 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: 20px;
    transition: all 0.3s;
    background: rgba(255,255,255,0.2);
    border: 2px solid transparent;
    position: relative;
}

nav a::before {
    content: '⬡';
    position: absolute;
    left: 5px;
    opacity: 0;
    transition: opacity 0.3s;
}

nav a:hover {
    background: #ffd700;
    color: #01579b;
    border-color: #fff;
    transform: scale(1.1);
}

nav a:hover::before {
    opacity: 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.4);
    border: 4px solid #ffd700;
    clip-path: polygon(2% 0, 98% 0, 100% 2%, 100% 98%, 98% 100%, 2% 100%, 0 98%, 0 2%);
}

h1, h2, h3 {
    color: #0d47a1;
    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: #1565c0; }

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

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

.wap6z-game-card {
    background: linear-gradient(135deg, #fff 0%, #e3f2fd 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;
}

.wap6z-game-card::before {
    content: '⬡';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2.5rem;
    color: rgba(255,215,0,0.3);
    z-index: 1;
}

.wap6z-game-card:hover {
    transform: translateY(-12px) rotate(2deg);
    box-shadow: 0 15px 45px rgba(66,165,245,0.6);
}

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

.wap6z-game-card h3 {
    padding: 1.2rem;
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%);
    color: #ffd700;
    text-align: center;
}

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

.wap6z-cta {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700 0%, #ffeb3b 100%);
    color: #01579b;
    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);
    text-transform: uppercase;
    border: 3px solid #0d47a1;
    position: relative;
}

.wap6z-cta::before {
    content: '⬡';
    position: absolute;
    left: 15px;
    animation: wap6z-pulse 1.5s ease-in-out infinite;
}

@keyframes wap6z-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.wap6z-cta:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 35px rgba(255,215,0,0.8);
}

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

.wap6z-faq-item {
    background: #e3f2fd;
    padding: 1.8rem;
    margin-bottom: 1.2rem;
    border-radius: 15px;
    border-left: 5px solid #1565c0;
}

.wap6z-faq-item h3 {
    color: #0d47a1;
    margin-bottom: 0.8rem;
}

footer {
    background: linear-gradient(135deg, #01579b 0%, #0d47a1 100%);
    color: #fff;
    padding: 3rem 2rem 1rem;
    position: relative;
    z-index: 1;
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
    padding-top: 4rem;
}

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

.wap6z-footer-section h3 {
    color: #ffd700;
    margin-bottom: 1.2rem;
}

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

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

.wap6z-footer-section a:hover {
    color: #ffd700;
}

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

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