
* {
    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-color: #f8fafc;
}

.navbar {
    background-color: #064e3b;
    color: white;
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.9rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #34d399;
}
.hero {
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.75)), 
                url('https://picsum.photos/id/1015/2000/1200') center/cover;
    color: white;
    text-align: center;
    padding: 180px 20px 120px;
}
.hero h1 { font-size: 3.8rem; margin-bottom: 1rem; }
.hero p { font-size: 1.35rem; max-width: 700px; margin: 0 auto 2rem; }

.btn {
    display: inline-block;
    background-color: #10b981;
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn:hover {
    background-color: #059669;
    transform: translateY(-3px);
}
.action-card {
    background: white;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    border: 3px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.3s;
}
.action-card:hover { border-color: #10b981; }
.action-card.active {
    background: #10b981;
    color: white;
    border-color: #10b981;
}
.action-icon { 
    font-size: 3.8rem; 
    margin-bottom: 15px; 
}
.points { 
    color: #10b981; 
    font-weight: 600; 
    margin-top: 8px; 
}
.result {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin-top: 40px;
    display: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.card {
    background: white;
    padding: 35px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    text-align: center;
}

.card:hover {
    transform: translateY(-8px);
}
.auth-container {
    max-width: 420px;
    margin: 80px auto;
    padding: 40px 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.auth-container h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #064e3b;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.form-group input {
    width: 100%;
    padding: 14px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #10b981;
}

.auth-btn {
    width: 100%;
    padding: 16px;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

.auth-btn:hover {
    background: #059669;
}

.switch-link {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.switch-link a {
    color: #10b981;
    text-decoration: none;
}

.error-message {
    color: #ef4444;
    text-align: center;
    margin: 15px 0;
}

@media (max-width: 768px) {
    .nav-links a {
        margin-left: 1rem;
        font-size: 1rem;
    }
    
    .hero h1 {
        font-size: 2.6rem;
    }
}
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.resource-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.resource-card:hover {
    transform: translateY(-10px);
}

.resource-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.resource-content {
    padding: 25px;
}

.resource-content h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: #064e3b;
}

.resource-content p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
}

.read-more {
    color: #10b981;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.read-more:hover {
    color: #059669;
}