/* Layout XXXII - Diamond Grid Design for mobile-rico33.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, #1a472a 0%, #2d5016 50%, #1a472a 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 50px, rgba(255,215,0,0.03) 50px, rgba(255,215,0,0.03) 100px),
        repeating-linear-gradient(-45deg, transparent, transparent 50px, rgba(34,139,34,0.03) 50px, rgba(34,139,34,0.03) 100px);
    pointer-events: none;
    z-index: 0;
}

header {
    background: linear-gradient(135deg, #2d5016 0%, #1a472a 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: 3px solid #FFD700;
}

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

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

.rico-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #FFD700;
    animation: rico-pulse 2s ease-in-out infinite;
}

@keyframes rico-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,215,0,0.7); }
    50% { transform: scale(1.05); box-shadow: 0 0 20px 10px rgba(255,215,0,0); }
}

.rico-brand h1 {
    color: #FFD700;
    font-size: 1.8rem;
    text-shadow: 2px 2px 4px 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.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s;
    background: rgba(255,255,255,0.1);
}

nav a:hover {
    background: #FFD700;
    color: #1a472a;
    transform: translateY(-2px);
}

main {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

section {
    background: rgba(255,255,255,0.95);
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

h1, h2, h3 {
    color: #1a472a;
    margin-bottom: 1.5rem;
}

h1 { font-size: 2.5rem; text-align: center; }
h2 { font-size: 2rem; border-left: 5px solid #FFD700; padding-left: 1rem; }
h3 { font-size: 1.5rem; color: #2d5016; }

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

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

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

.rico-game-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 15px 40px rgba(255,215,0,0.4);
}

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

.rico-game-card h3 {
    padding: 1rem;
    background: linear-gradient(135deg, #2d5016 0%, #1a472a 100%);
    color: #FFD700;
    text-align: center;
}

.rico-game-card p {
    padding: 1rem;
    text-align: center;
}

.rico-cta {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a472a;
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(255,215,0,0.4);
}

.rico-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(255,215,0,0.6);
}

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

.rico-faq-item {
    background: #f9f9f9;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    border-left: 4px solid #FFD700;
}

.rico-faq-item h3 {
    color: #2d5016;
    margin-bottom: 0.5rem;
}

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

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

.rico-footer-section h3 {
    color: #FFD700;
    margin-bottom: 1rem;
}

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

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

.rico-footer-section a:hover {
    color: #FFD700;
}

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

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