/* Rummy Game Website Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Age Restriction Banner */
.age-banner {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    text-align: center;
    padding: 15px 0;
    font-weight: bold;
    font-size: 18px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #2a5298;
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

nav a:hover,
nav a.active {
    color: #2a5298;
    border-bottom: 2px solid #2a5298;
}

/* Main Content */
main {
    background: white;
    margin: 2rem 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    overflow: hidden;
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Content Sections */
.content {
    padding: 3rem 2rem;
}

.content h1, .content h2 {
    color: #2a5298;
    margin-bottom: 1.5rem;
}

.content h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.content h2 {
    font-size: 2rem;
    margin-top: 2rem;
}

.content h3 {
    color: #555;
    margin: 1.5rem 0 1rem;
    font-size: 1.5rem;
}

.content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-align: justify;
}

.content ul, .content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.content li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Game Frame */
.game-container {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
}

.game-frame {
    width: 100%;
    max-width: 800px;
    height: 600px;
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin: 0 auto;
    display: block;
}

/* Image Styles */
.content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1.5rem 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.image-left {
    float: left;
    margin: 0 2rem 1rem 0;
    max-width: 300px;
}

.image-right {
    float: right;
    margin: 0 0 1rem 2rem;
    max-width: 300px;
}

.image-center {
    display: block;
    margin: 2rem auto;
    text-align: center;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    color: #2a5298;
    margin-bottom: 1rem;
}

/* Responsible Gaming Disclaimer */
.disclaimer {
    background: linear-gradient(135deg, #ffeaa7, #fdcb6e);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 10px;
    border-left: 5px solid #e17055;
}

.disclaimer h3 {
    color: #d63031;
    margin-bottom: 1rem;
}

.disclaimer p {
    color: #2d3436;
    font-weight: 500;
}

/* Footer */
footer {
    background: #2a5298;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #ffeaa7;
}

.footer-section a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffeaa7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        justify-content: center;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .content {
        padding: 2rem 1rem;
    }
    
    .content h1 {
        font-size: 2rem;
    }
    
    .content h2 {
        font-size: 1.5rem;
    }
    
    .game-frame {
        height: 400px;
    }
    
    .image-left,
    .image-right {
        float: none;
        margin: 1rem auto;
        display: block;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .age-banner {
        font-size: 16px;
        padding: 10px 0;
    }
    
    nav ul {
        gap: 0.5rem;
    }
    
    nav a {
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2a5298;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
