/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #7C9A92;    /* Soft sage green */
    --secondary-color: #8BB8A8;  /* Muted teal */
    --accent-color: #E6D5AC;     /* Soft cream */
    --text-color: #4A4A4A;       /* Soft dark gray */
    --background-color: #F5F7F6; /* Very light gray */
    --card-color: #FFFFFF;       /* White */
    --gradient-start: #7C9A92;   /* Soft sage green */
    --gradient-end: #8BB8A8;     /* Muted teal */
    --hover-color: #A8C4B8;      /* Light sage */
    --shadow-color: rgba(124, 154, 146, 0.2); /* Soft sage shadow */
    --logo-dark-teal: #22505A;
    --logo-red-orange: #E05C4B;
    --logo-yellow: #F2C66D;
    --logo-teal: #4CB6B6;
    --logo-offwhite: #F5EEDD;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    background-image: 
        radial-gradient(circle at 100% 100%, var(--shadow-color) 0%, transparent 50%),
        radial-gradient(circle at 0% 0%, var(--shadow-color) 0%, transparent 50%);
}

/* Header and Navigation */
header {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    padding: 1rem 2rem;
    box-shadow: 0 4px 15px var(--shadow-color);
    border-bottom: 3px solid var(--accent-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo i {
    font-size: 2.5rem;
    color: var(--logo-red-orange);
    filter: drop-shadow(2px 2px 4px rgba(34, 80, 90, 0.15));
}

.logo h1 {
    font-family: 'Comic Neue', cursive;
    color: var(--logo-dark-teal);
    font-size: 2.2rem;
    text-shadow: 2px 2px 4px rgba(34, 80, 90, 0.08);
    letter-spacing: 1px;
}

/* Remove logo image styles */
.logo-img {
    display: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    border: 2px solid transparent;
}

.nav-links a:hover, .nav-links a.active {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    border-color: #FFFFFF;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    border: 2px solid transparent;
    background: none;
    cursor: pointer;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
    border-radius: 12px;
    z-index: 10;
    margin-top: 0.5rem;
    padding: 0.5rem 0;
}

.dropdown-content a {
    color: var(--primary-color);
    padding: 0.7rem 1.2rem;
    text-decoration: none;
    display: block;
    border-radius: 8px;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
}

.dropdown-content a:hover {
    background-color: var(--hover-color);
    color: var(--accent-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn,
.dropbtn:focus {
    background-color: rgba(255,255,255,0.2);
    border-color: #FFFFFF;
}

/* Hero Section */
.hero {
    padding: 0.5rem 2rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--accent-color);
    overflow: hidden;
    position: relative;
    border-bottom: 3px solid var(--accent-color);
    background-image: url('images/banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(124, 154, 146, 0.9), 
        rgba(139, 184, 168, 0.9)
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero h2 {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    font-family: 'Comic Neue', cursive;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    color: var(--accent-color);
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.5rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Game Categories */
.game-categories {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.game-categories h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2d3748;
    font-family: 'Comic Neue', cursive;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: var(--card-color);
    padding: 2.5rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 8px 20px var(--shadow-color);
    transition: all 0.4s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.category-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-color);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.category-card:hover::before {
    opacity: 0.05;
}

.category-card i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.category-card:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--accent-color);
}

.category-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-family: 'Comic Neue', cursive;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.category-card p {
    color: var(--text-color);
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

/* Features Section */
.features {
    background-color: var(--background-color);
    padding: 5rem 2rem;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2d3748;
    font-family: 'Comic Neue', cursive;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    text-align: center;
    padding: 2.5rem;
    transition: all 0.4s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.feature:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--accent-color);
}

.feature h3 {
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #718096;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--accent-color);
    padding: 4rem 2rem 1rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-family: 'Comic Neue', cursive;
    font-size: 1.4rem;
}

.footer-section a {
    color: var(--accent-color);
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.footer-section a:hover {
    transform: translateX(5px);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2) rotate(5deg);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-text {
        text-align: center;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .hero-img {
        max-width: 100%;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }
}

/* Add some fun animations */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.category-card {
    animation: float 5s ease-in-out infinite;
}

.category-card:nth-child(2n) {
    animation-delay: 0.8s;
}

.category-card:nth-child(3n) {
    animation-delay: 1.6s;
} 