/*
 * NahNahK Games - Online Gaming Platform
 * Modern, vibrant styling with gaming aesthetic
 */

/* Reset and Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary: #6C3CE9;     /* Vibrant Purple */
    --primary-dark: #5228C9; /* Dark Purple */
    --secondary: #FE4A84;   /* Pink */
    --accent: #00E5A1;      /* Mint Green */
    --dark: #17161A;        /* Almost Black */
    --dark-gray: #28272C;   /* Dark Gray */
    --light: #FFFFFF;       /* White */
    --light-gray: #F0F0F2;  /* Light Gray */
    
    /* Typography */
    --heading-font: 'Orbitron', sans-serif;
    --body-font: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--body-font);
    font-weight: 300;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--dark);
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

h1 {
    font-size: 1.5rem;
    letter-spacing: 2px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    position: relative;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary);
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Standard property instead of text-fill-color */
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: inline-block;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 2px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--dark-gray);
    font-size: 1.1rem;
}

section {
    padding: var(--section-padding);
    position: relative;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--heading-font);
    text-align: center;
}

.primary-btn {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--light);
    border: none;
    box-shadow: 0 5px 15px rgba(108, 60, 233, 0.4);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108, 60, 233, 0.5);
    color: var(--light);
}

.secondary-btn {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.secondary-btn:hover {
    background-color: var(--primary);
    color: var(--light);
    transform: translateY(-3px);
}

.btn-nav {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--light);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(108, 60, 233, 0.3);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(108, 60, 233, 0.4);
    color: var(--light);
}

.play-btn {
    background-color: var(--accent);
    color: var(--dark);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 229, 161, 0.3);
}

.play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 229, 161, 0.4);
    background-color: var(--accent);
    color: var(--dark);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header and Navigation */
header {
    background-color: var(--light);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: var(--dark);
    padding: 10px 0;
}

header.scrolled h1,
header.scrolled nav ul li a {
    color: var(--light);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    margin-left: 15px;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--dark);
    font-weight: 500;
    position: relative;
    font-family: var(--heading-font);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--dark);
    color: var(--light);
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://via.placeholder.com/1920x1080?text=Gaming+Background') center/cover no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(108, 60, 233, 0.9) 0%, rgba(254, 74, 132, 0.9) 100%);
    opacity: 0.4;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--light);
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--light);
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-family: var(--heading-font);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--light);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Featured Games Section */
.featured-games {
    background-color: var(--light);
    position: relative;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.game-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(108, 60, 233, 0.2);
}

.game-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.game-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.game-image-1 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('https://via.placeholder.com/400x300?text=Cosmic+Racers');
}

.game-image-2 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('https://via.placeholder.com/400x300?text=Treasure+Hunter');
}

.game-image-3 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('https://via.placeholder.com/400x300?text=Monster+Clash');
}

.game-image-4 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('https://via.placeholder.com/400x300?text=Puzzle+Quest');
}

.game-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.game-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.game-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.game-category {
    display: inline-block;
    background-color: rgba(108, 60, 233, 0.1);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.game-rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.stars {
    color: var(--secondary);
    font-size: 0.9rem;
}

.rating-value {
    font-weight: 600;
    font-size: 0.9rem;
}

.game-info p {
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: var(--gray);
    flex: 1;
}

.section-cta {
    text-align: center;
    margin-top: 20px;
}

/* Categories Section */
.categories {
    background-color: var(--dark-gray);
    position: relative;
    overflow: hidden;
}

.categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(108, 60, 233, 0.1), transparent 60%),
                radial-gradient(circle at bottom right, rgba(254, 74, 132, 0.1), transparent 60%);
    z-index: 1;
}

.categories .container {
    position: relative;
    z-index: 2;
}

.categories .section-header h2 {
    color: var(--light);
}

.categories .section-header p {
    color: var(--light-gray);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.category-card {
    background: rgba(255, 255, 255, 0.07);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.category-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.12);
}

.category-card:hover::after {
    opacity: 1;
}

.category-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 5px 15px rgba(108, 60, 233, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.category-icon::after {
    content: '';
    position: absolute;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.5);
}

.action-icon::before { content: '🎯'; font-size: 1.8rem; }
.adventure-icon::before { content: '🗺️'; font-size: 1.8rem; }
.puzzle-icon::before { content: '🧩'; font-size: 1.8rem; }
.strategy-icon::before { content: '♟️'; font-size: 1.8rem; }
.sports-icon::before { content: '⚽'; font-size: 1.8rem; }
.rpg-icon::before { content: '⚔️'; font-size: 1.8rem; }
.arcade-icon::before { content: '👾'; font-size: 1.8rem; }
.multiplayer-icon::before { content: '👪'; font-size: 1.8rem; }

.category-card h3 {
    color: var(--light);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.game-count {
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
}

/* Trending Section */
.trending {
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.trending::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(254, 74, 132, 0.03) 0%, rgba(108, 60, 233, 0.03) 100%);
    z-index: 1;
}

.trending .container {
    position: relative;
    z-index: 2;
}

.trending-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.trending-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    border-left: 3px solid var(--primary);
    position: relative;
}

.trending-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-left-color: var(--secondary);
}

.trending-rank {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    color: #fff;
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(108, 60, 233, 0.3);
    z-index: 2;
}

.trending-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 20px;
    background-size: cover;
    background-position: center;
}

.trend-1 {
    background-image: url('https://via.placeholder.com/80x80?text=Space');
}

.trend-2 {
    background-image: url('https://via.placeholder.com/80x80?text=Wizard');
}

.trend-3 {
    background-image: url('https://via.placeholder.com/80x80?text=Candy');
}

.trending-info {
    flex: 1;
}

.trending-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.trending-meta {
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.trending-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.players, .trending-up {
    display: flex;
    align-items: center;
    gap: 5px;
}

.player-icon {
    color: var(--primary);
}

.trending-up {
    color: #4CAF50;
}

.trend-icon {
    font-weight: bold;
}

/* Signup Section */
.signup {
    background-color: var(--dark-gray);
    color: var(--light);
    position: relative;
    overflow: hidden;
}

.signup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom right, rgba(0, 229, 161, 0.1), transparent 60%),
                radial-gradient(circle at top left, rgba(254, 74, 132, 0.1), transparent 60%);
    z-index: 1;
}

.signup .container {
    position: relative;
    z-index: 2;
}

.signup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.signup-content h2 {
    color: var(--light);
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.signup-content p {
    color: var(--light-gray);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.signup-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 15px;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.benefit-text {
    color: var(--light);
    font-weight: 500;
}

.signup-form {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.signup-form h3 {
    color: var(--light);
    margin-bottom: 25px;
    font-size: 1.5rem;
    text-align: center;
}

.signup-form .form-group {
    margin-bottom: 20px;
}

.signup-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--light);
    font-weight: 500;
}

.signup-form input {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--light);
    font-family: var(--body-font);
}

.signup-form input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 229, 161, 0.2);
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.form-check input {
    width: auto;
    margin-right: 10px;
}

.form-check label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.form-check a {
    color: var(--accent);
}

.login-link {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--light-gray);
}

.login-link a {
    color: var(--accent);
    font-weight: 500;
}

/* Resources Section */
.resources {
    background-color: var(--dark-gray);
    color: var(--light);
    position: relative;
    overflow: hidden;
}

.resources::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(108, 60, 233, 0.15), transparent 60%),
                radial-gradient(circle at bottom left, rgba(254, 74, 132, 0.15), transparent 60%);
    z-index: 1;
}

.resources .container {
    position: relative;
    z-index: 2;
}

.resources .section-header h2 {
    color: var(--light);
    position: relative;
}

.resources .section-header h2::before {
    content: '🎮';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
}

.resources .section-header p {
    color: var(--light-gray);
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 40px;
}

.resource-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.resource-column a {
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: var(--light);
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.resource-column a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    opacity: 0.7;
    transition: all 0.3s ease;
}

.resource-column a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--accent);
}

.resource-column a:hover::before {
    width: 100%;
    opacity: 0.1;
}

/* Alternate styling for each column */
.resource-column:nth-child(odd) a::before {
    background: linear-gradient(to bottom, var(--secondary), var(--primary));
}

.resource-column:nth-child(3) a {
    border-color: rgba(0, 229, 161, 0.2);
}

/* Add glowing effect to specific links */
.resource-column a:nth-child(1),
.resource-column a:nth-child(5) {
    box-shadow: 0 0 15px rgba(108, 60, 233, 0.15);
}

.resource-column a:nth-child(2),
.resource-column a:nth-child(4) {
    box-shadow: 0 0 15px rgba(254, 74, 132, 0.15);
}

.resource-column a:nth-child(3) {
    box-shadow: 0 0 15px rgba(0, 229, 161, 0.15);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 80px 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo svg {
    margin-bottom: 15px;
}

.footer-logo p {
    color: var(--light);
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin: 15px 0 0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-column h3 {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--light-gray);
    opacity: 0.7;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-column ul li a:hover {
    color: var(--secondary);
    opacity: 1;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.social-icon {
    font-size: 1.2rem;
}

.newsletter {
    margin-top: 20px;
}

.newsletter h4 {
    color: var(--light);
    font-size: 1rem;
    margin-bottom: 10px;
}

.newsletter form {
    display: flex;
}

.newsletter input {
    flex-grow: 1;
    padding: 10px 15px;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 30px 0 0 30px;
    color: var(--light);
    font-family: var(--body-font);
}

.newsletter button {
    background-color: var(--primary);
    color: var(--light);
    border: none;
    border-radius: 0 30px 30px 0;
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter button:hover {
    background-color: var(--secondary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--light-gray);
    opacity: 0.5;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: var(--light-gray);
    opacity: 0.5;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.legal-links a:hover {
    color: var(--secondary);
    opacity: 1;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero h2 {
        font-size: 3.5rem;
    }
    
    .resource-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 3rem;
    }
    
    .nav-toggle-label {
        display: block;
        cursor: pointer;
        height: 24px;
        width: 30px;
        position: relative;
    }
    
    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        height: 2px;
        width: 30px;
        background-color: var(--primary);
        position: absolute;
        transition: all 0.3s ease;
    }
    
    .nav-toggle-label span {
        top: 11px;
    }
    
    .nav-toggle-label span::before {
        content: '';
        top: -8px;
    }
    
    .nav-toggle-label span::after {
        content: '';
        top: 8px;
    }
    
    .nav-toggle:checked + .nav-toggle-label span {
        background-color: transparent;
    }
    
    .nav-toggle:checked + .nav-toggle-label span::before {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle:checked + .nav-toggle-label span::after {
        transform: rotate(-45deg) translate(7px, -8px);
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--dark);
        width: 100%;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    }
    
    .nav-toggle:checked ~ nav {
        height: auto;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px 0;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    nav ul li a {
        color: var(--light);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 80%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .resource-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-logo {
        align-items: center;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .resource-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}
