/* Layout XXXVI - WAP Optimized Zigzag Design for wap-595bet.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(45deg, #ff6b00 0%, #ff9500 25%, #ffb800 50%, #ffd000 75%, #ffe600 100%);
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,0.08) 35px, rgba(255,255,255,0.08) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(0,0,0,0.05) 35px, rgba(0,0,0,0.05) 70px);
    pointer-events: none;
    z-index: 0;
    animation: wap595-zigzag 8s linear infinite;
}

@keyframes wap595-zigzag {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(70px) translateY(70px); }
}

header {
    background: linear-gradient(135deg, #d84315 0%, #ff5722 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: 5px solid #ffd000;
}

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

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

.wap595-logo {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    border: 5px solid #ffd000;
    animation: wap595-bounce 2s ease-in-out infinite;
}

@keyframes wap595-bounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(-5deg); }
    75% { transform: translateY(-10px) rotate(5deg); }
}

.wap595-brand h1 {
    color: #ffd000;
    font-size: 2.2rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    font-weight: bold;
    letter-spacing: 2px;
}

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.25);
    border: 2px solid transparent;
}

nav a:hover {
    background: #ffd000;
    color: #d84315;
    border-color: #fff;
    transform: scale(1.08);
}

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);
    border: 3px solid #ffd000;
}

h1, h2, h3 {
    color: #d84315;
    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 #ffd000; padding-left: 1rem; }
h3 { font-size: 1.6rem; color: #ff5722; }

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

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

.wap595-game-card {
    background: linear-gradient(135deg, #fff 0%, #fff3e0 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s;
    border: 3px solid #ffd000;
}

.wap595-game-card:hover {
    transform: translateY(-12px) rotate(2deg);
    box-shadow: 0 15px 45px rgba(255,87,34,0.6);
}

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

.wap595-game-card h3 {
    padding: 1.2rem;
    background: linear-gradient(135deg, #d84315 0%, #ff5722 100%);
    color: #ffd000;
    text-align: center;
}

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

.wap595-cta {
    display: inline-block;
    background: linear-gradient(135deg, #ffd000 0%, #ffe600 100%);
    color: #d84315;
    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,208,0,0.5);
    text-transform: uppercase;
    border: 3px solid #ff5722;
}

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

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

.wap595-faq-item {
    background: #fff3e0;
    padding: 1.8rem;
    margin-bottom: 1.2rem;
    border-radius: 12px;
    border-left: 5px solid #ff5722;
}

.wap595-faq-item h3 {
    color: #ff5722;
    margin-bottom: 0.8rem;
}

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

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

.wap595-footer-section h3 {
    color: #ffd000;
    margin-bottom: 1.2rem;
}

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

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

.wap595-footer-section a:hover {
    color: #ffd000;
}

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

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