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

:root {
    --primary-color: #7c3aed;
    --secondary-color: #a78bfa;
    --light-color: #f5f3ff;
    --white-color: #ffffff;
    --dark-color: #1f2937;
    --text-color: #333333;
    --shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
    --transition: all 0.3s ease;
}

/* Body & General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white-color);
    position: relative;
    overflow-x: hidden;
}

/* Hotel-themed background decorations */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><pattern id="hotel-pattern" x="0" y="0" width="300" height="300" patternUnits="userSpaceOnUse"><rect width="300" height="300" fill="%23f5f3ff" opacity="0.3"/><g fill="%237c3aed" opacity="0.08"><rect x="20" y="30" width="60" height="80"/><rect x="100" y="30" width="60" height="80"/><rect x="180" y="30" width="60" height="80"/><rect x="20" y="130" width="60" height="80"/><rect x="100" y="130" width="60" height="80"/><rect x="180" y="130" width="60" height="80"/><circle cx="50" cy="65" r="8" fill="%23a78bfa" opacity="0.3"/><circle cx="130" cy="65" r="8" fill="%23a78bfa" opacity="0.3"/><circle cx="210" cy="65" r="8" fill="%23a78bfa" opacity="0.3"/><circle cx="50" cy="165" r="8" fill="%23a78bfa" opacity="0.3"/><circle cx="130" cy="165" r="8" fill="%23a78bfa" opacity="0.3"/><circle cx="210" cy="165" r="8" fill="%23a78bfa" opacity="0.3"/><line x1="10" y1="250" x2="290" y2="250" stroke="%237c3aed" stroke-width="1" opacity="0.1"/></g><g fill="%23a78bfa" opacity="0.05"><polygon points="75,0 150,50 75,100 0,50"/><polygon points="225,0 300,50 225,100 150,50"/><polygon points="75,150 150,200 75,250 0,200"/><polygon points="225,150 300,200 225,250 150,200"/></g><g stroke="%237c3aed" stroke-width="0.5" fill="none" opacity="0.06"><path d="M 30 280 Q 80 270 130 280 T 230 280"/><path d="M 20 300 Q 70 290 120 300 T 220 300"/></g></pattern></svg>'),
        linear-gradient(135deg, rgba(245, 243, 255, 0.5) 0%, rgba(167, 139, 250, 0.3) 100%);
    background-attachment: fixed;
    pointer-events: none;
    z-index: -1;
}

/* Floating hotel elements decoration */
body::after {
    content: '🏨 🛎️ 🔑 🚪 🛏️ 🏨 ⭐ 🧳 🏨 🔑 🛎️';
    position: fixed;
    top: -10px;
    right: -50px;
    font-size: 15rem;
    opacity: 0.02;
    z-index: 0;
    pointer-events: none;
    white-space: nowrap;
    transform: rotate(-15deg);
    font-weight: bold;
}

html {
    scroll-behavior: smooth;
}

/* Navigation Bar */
.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--white-color);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--white-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
}

.nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

/* Navigation Auth Section */
.nav-auth {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-login,
.nav-signup {
    color: var(--white-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: var(--transition);
}

.nav-login:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.nav-signup {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-signup:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.user-profile {
    display: flex;
    gap: 1rem;
    align-items: center;
    color: var(--white-color);
    font-weight: 500;
}

.nav-logout {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white-color);
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.nav-logout:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Header Section */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white-color);
    padding: 4rem 2rem;
    text-align: center;
}

.header-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.header-content p {
    font-size: 1.3rem;
    opacity: 0.95;
}

/* Decorative Hotel Graphics */
.decorative-graphics {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2.5rem 0;
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.08) 0%, rgba(167, 139, 250, 0.05) 100%);
    overflow: hidden;
    border-bottom: 2px solid rgba(124, 58, 237, 0.1);
    position: relative;
}

.decorative-graphics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(124, 58, 237, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(167, 139, 250, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hotel-graphics-svg {
    width: 100%;
    height: auto;
    max-width: 1200px;
    min-height: 150px;
    display: block;
    animation: float 8s ease-in-out infinite, glow 3s ease-in-out infinite;
    filter: drop-shadow(0 5px 15px rgba(124, 58, 237, 0.15));
    position: relative;
    z-index: 1;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 5px 15px rgba(124, 58, 237, 0.15));
    }
    50% {
        filter: drop-shadow(0 8px 25px rgba(124, 58, 237, 0.25));
    }
}

@media (max-width: 768px) {
    .decorative-graphics {
        padding: 2rem 0;
    }
    
    .hotel-graphics-svg {
        min-height: 120px;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Cards Section */
.cards-section {
    padding: 3rem 0;
}

/* Balance Card Container */
.balance-card-container {
    margin-bottom: 3rem;
}

.balance-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white-color);
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: var(--shadow);
    animation: slideDown 0.6s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes balanceUpdate {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.balance-icon {
    font-size: 3.5rem;
    min-width: 80px;
    text-align: center;
}

.balance-content {
    flex: 1;
}

.balance-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.balance-amount {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.balance-refresh {
    display: flex;
    align-items: center;
}

.balance-refresh button {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white-color);
    padding: 0.8rem;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.balance-refresh button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(180deg);
}

/* Responsive Balance Card */
@media (max-width: 768px) {
    .balance-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .balance-amount {
        font-size: 2rem;
    }

    .balance-icon {
        min-width: auto;
    }
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

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

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Card Styling */
.card {
    background: var(--white-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--light-color);
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

.card:hover::after {
    width: 100%;
}

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

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.card-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.card-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Level Card Styles */
.level-card {
    position: relative;
    display: flex;
    flex-direction: column;
}

.level-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.5rem 0.8rem;
    background: #ff6b6b;
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: 6px;
    text-align: center;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(255, 107, 107, 0.3);
}

.level-badge.unlocked,
.level-badge.active {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    box-shadow: 0 3px 10px rgba(34, 197, 94, 0.3);
}

.level-badge.completed {
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
    box-shadow: 0 3px 10px rgba(107, 114, 128, 0.3);
}

.level-card.level-active {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.level-card.level-completed {
    filter: grayscale(0.25);
}

.level-card.level-locked {
    cursor: default;
}

.level-threshold {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 0.75rem;
}

.level-progress-banner {
    max-width: 900px;
    margin: 0 auto 2rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    border: 2px solid rgba(124, 58, 237, 0.15);
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    color: var(--dark-color);
    line-height: 1.5;
}

.level-amount {
    display: none;
}

/* Card Button */
.card-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white-color);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.95rem;
}

.card-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(124, 58, 237, 0.4);
}

/* Tasks Card Styles */
.tasks-card-container {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.tasks-card {
    background: var(--white-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--light-color);
}

.card-header {
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--light-color);
    padding-bottom: 1.5rem;
}

.card-header .card-title {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.completion-indicator {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

#completionText {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1rem;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background-color: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 10px;
}

.tasks-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.task-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: #f9f7ff;
    border-radius: 8px;
    border: 2px solid var(--light-color);
    transition: var(--transition);
    cursor: pointer;
}

.task-item:hover {
    background-color: var(--light-color);
    border-color: var(--primary-color);
}

.task-item.completed {
    background-color: #ecfdf5;
    border-color: #22c55e;
}

.task-item.completed label {
    text-decoration: line-through;
    color: #22c55e;
}

.task-checkbox {
    width: 20px;
    height: 20px;
    margin-right: 1rem;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.task-item label {
    flex: 1;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-color);
}

.task-reward {
    display: none;
}

.task-reward-hint {
    display: none;
    font-size: 0.85rem;
    font-weight: 600;
    color: #059669;
}

.clickable-task.completed .task-reward-hint {
    display: block;
}

/* Clickable Task Items */
.clickable-task {
    background: white !important;
    border: 2px solid var(--light-color) !important;
    border-radius: 8px !important;
    padding: 1.2rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.clickable-task:hover {
    border-color: var(--primary-color) !important;
    background: var(--light-color) !important;
    transform: translateX(5px) !important;
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.15) !important;
}

.clickable-task.completed {
    background: #ecfdf5 !important;
    border-color: #22c55e !important;
}

.task-number {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.task-description {
    font-weight: 500;
    color: var(--text-color);
    font-size: 1rem;
}

.task-status {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    display: inline-block;
    width: fit-content;
}

.task-status.incomplete {
    color: var(--primary-color);
}

.task-status.complete {
    background: #22c55e;
    color: white;
}

.task-status.locked {
    background: #f97316;
    color: white;
}

.clickable-task.locked {
    background: #fef3c7 !important;
    border-color: #f97316 !important;
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

.clickable-task.locked:hover {
    transform: none !important;
    background: #fef3c7 !important;
}

.task-unlock-time {
    font-size: 0.75rem;
    color: #f97316;
    font-weight: 600;
    margin-top: 0.3rem;
}

/* Earned Card */
.earned-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.2);
    animation: slideDown 0.4s ease-out;
}

.earned-card-icon {
    font-size: 2.5rem;
    font-weight: bold;
}

.earned-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    color: white;
}

.earned-label {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.9;
}

.earned-amount {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.earned-reset-info {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.85;
}

@media (max-width: 768px) {
    .earned-card {
        padding: 1rem;
        gap: 1rem;
    }
    
    .earned-card-icon {
        font-size: 2rem;
    }
    
    .earned-amount {
        font-size: 1.5rem;
    }
}

/* Modal Styling */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--white-color);
    border-radius: 15px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 2px solid var(--light-color);
}

.modal-header h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-body {
    padding: 2rem;
}

.modal-instruction {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.hotel-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.2rem;
    margin-bottom: 1rem;
}

.hotel-option {
    background: var(--light-color);
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hotel-option:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(167, 139, 250, 0.1) 100%);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(124, 58, 237, 0.2);
}

.hotel-rating {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.hotel-name {
    font-weight: 700;
    color: var(--text-color);
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    min-height: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hotel-price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.select-hotel-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white-color);
    border: none;
    padding: 0.6rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.select-hotel-btn:hover {
    transform: scale(1.05);
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 2px solid var(--light-color);
    text-align: right;
}

.cancel-btn {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cancel-btn:hover {
    background: #e5e7eb;
}

.complete-all-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white-color);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.complete-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(124, 58, 237, 0.4);
}

/* About Section */
.about-section {
    background-color: var(--light-color);
    padding: 3rem 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    text-align: center;
    line-height: 1.8;
}

.about-section p {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Section */
.contact-section {
    padding: 3rem 0;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 2rem auto;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 2px solid var(--light-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.2);
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white-color);
    border: none;
    padding: 1rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white-color);
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

.footer-admin-wrap {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-admin-link {
    display: inline-block;
    color: var(--white-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.45rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.footer-admin-link:hover {
    background: var(--white-color);
    color: var(--primary-color);
}

.footer-admin-hint {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.75rem;
    opacity: 0.85;
}

/* Authentication Pages Styling */
.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white-color) 100%);
    padding: 2rem;
}

.auth-card {
    background: var(--white-color);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.15);
    width: 100%;
    max-width: 450px;
    border: 2px solid var(--light-color);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: #666;
    font-size: 1rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-group input {
    padding: 0.9rem 1rem;
    border: 2px solid var(--light-color);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-hint {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    margin-top: -1rem;
}

.error-message {
    color: #ef4444;
    font-size: 0.85rem;
    min-height: 1.2rem;
    display: block;
}

.auth-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white-color);
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(124, 58, 237, 0.4);
}

.auth-link {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--text-color);
}

.auth-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-link a:hover {
    text-decoration: underline;
}

.success-box {
    background: #ecfdf5;
    border: 2px solid #22c55e;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.success-box h3 {
    color: #22c55e;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.success-box p {
    color: #047857;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.success-box span {
    font-weight: 700;
    color: var(--primary-color);
}

/* Responsive Authentication */
@media (max-width: 768px) {
    .auth-card {
        padding: 2rem;
    }

    .auth-header h1 {
        font-size: 1.5rem;
    }

    .form-group input {
        padding: 0.8rem 0.9rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
    }

    .nav-menu {
        gap: 1rem;
        width: 100%;
    }

    .nav-auth {
        width: 100%;
        gap: 0.5rem;
        justify-content: center;
    }

    .nav-login,
    .nav-signup {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .user-profile {
        width: 100%;
        justify-content: center;
        flex-direction: column;
    }

    .header-content h1 {
        font-size: 2rem;
    }

    .header-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 2rem 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .header-content h1 {
        font-size: 1.5rem;
    }

    .card {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}
