* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 600;
    color: #667eea;
}

.language-select {
    padding: 8px 15px;
    border: 2px solid #667eea;
    border-radius: 25px;
    background: white;
    color: #667eea;
    font-weight: 600;
    cursor: pointer;
}

.back-btn {
    padding: 8px 15px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

/* Hero */
.hero {
    text-align: center;
    padding: 60px 0;
    color: white;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Content */
.content {
    background: white;
    margin: 0 20px;
    border-radius: 20px;
    padding: 40px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.content h1 {
    color: #667eea;
    margin-bottom: 20px;
    text-align: center;
}

.content h2 {
    text-align: center;
    margin: 40px 0 30px 0;
    color: #667eea;
    font-size: 2rem;
}

.content h2:first-child {
    margin-top: 0;
}

/* Items Grid */
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.item-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #f0f0f0;
}

.item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.item-card img {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    margin-bottom: 15px;
    object-fit: cover;
}

.item-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
}

.rating {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.buttons a {
    padding: 10px 16px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    min-width: 80px;
    white-space: nowrap;
}

.buttons a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a6fd8, #6a4c93);
}

/* Footer */
.footer {
    background: rgba(0,0,0,0.8);
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
}

.footer .links {
    margin: 15px 0;
}

.footer .links a {
    color: #667eea;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
}

.footer .links a:hover {
    text-decoration: underline;
}

/* Legal Pages */
.content ul {
    margin: 15px 0;
    padding-left: 30px;
}

.content li {
    margin: 5px 0;
}

.content p {
    margin: 15px 0;
    text-align: justify;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .content h2 {
        font-size: 1.5rem;
    }
    
    .items-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .item-card {
        padding: 15px;
    }
    
    .item-card img {
        width: 60px;
        height: 60px;
    }
    
    .buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .buttons a {
        flex: none;
        min-width: auto;
    }
    
    .content {
        margin: 0 10px;
        padding: 30px 15px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer .links a {
        display: block;
        margin: 5px 0;
    }
}

@media (max-width: 480px) {
    .items-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 12px;
    }
    
    .item-card {
        padding: 12px;
    }
    
    .item-card img {
        width: 50px;
        height: 50px;
    }
    
    .item-card h3 {
        font-size: 1rem;
    }
    
    .buttons a {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

