* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #0f0f0f;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Content wrapper for sticky footer */
.content-wrapper {
    flex: 1;
    display: flex;
    margin-top: 100px; /* Account for fixed header */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #1a1a1a;
    border-bottom: 1px solid #333;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.menu-toggle:hover {
    background: #333;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.profile-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #333;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(42, 42, 42, 0.8);
    border: 2px solid #666;
    border-radius: 25px;
    font-weight: bold;
    color: #999;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.status-indicator:hover {
    border-color: #FF6B35;
    color: #FF6B35;
    transform: translateY(-1px);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #666;
    transition: all 0.3s ease;
}

.status-dot.offline {
    background: #666;
}

.status-dot.online {
    background: #FF6B35;
    animation: pulse 2s infinite;
}

.status-indicator.online {
    color: #FF6B35;
    border-color: #FF6B35;
}

.status-indicator.online:hover {
    color: #66BB6A;
    border-color: #66BB6A;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}

.header-center {
    display: flex;
    align-items: center;
}

.logo h1 {
    color: #FF6B35;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.header-right {
    display: flex;
    align-items: center;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.btn-login, .btn-register {
    background: transparent;
    color: #fff;
    border: 1px solid #333;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-login:hover {
    border-color: #666;
    background: #222;
}

.btn-register {
    background: #FF6B35;
    border-color: #FF6B35;
}

.btn-register:hover {
    background: #E55A2B;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #FF6B35;
}

.user-name {
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
}

.btn-logout {
    background: transparent;
    color: #ccc;
    border: 1px solid #333;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.btn-logout:hover {
    background: #333;
    border-color: #666;
    color: #fff;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 80px;
    left: 0;
    width: 200px;
    height: calc(100vh - 80px);
    background: #1a1a1a;
    border-right: 1px solid #333;
    padding: 1rem 0;
    z-index: 50;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 0.5rem;
}

.sidebar-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.sidebar-menu a:hover {
    background: #222;
    color: #FF6B35;
    border-left-color: #FF6B35;
}

.sidebar-menu a.active {
    background: #222;
    color: #FF6B35;
    border-left-color: #FF6B35;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 200px;
    margin-top: 0;
    margin-bottom: 0;
    padding: 2rem;
}

.hero {
    text-align: center;
    padding: 4rem 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #FF6B35, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 2rem;
}

.btn-primary {
    background: linear-gradient(45deg, #FF6B35, #E55A2B);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: #1a1a1a;
    padding: 3rem 0 1rem;
    border-top: 1px solid #333;
    margin-left: 200px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #FF6B35;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #FF6B35;
}

.footer-section p {
    color: #999;
    font-size: 0.9rem;
}

.footer-logo {
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    display: block;
}

/* Hero Tiles Layout */
.hero-tiles {
    padding: 0;
}

.tiles-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-tile {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 1px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tile-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-tile h3 {
    color: #FF6B35;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.hero-tile p {
    color: #ccc;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.tile-button {
    background: #FF6B35;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.tile-button:hover {
    background: #E55A2B;
}

.tile-button.disabled {
    background: #666;
    cursor: not-allowed;
}

.tile-button.disabled:hover {
    background: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tiles-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-tile {
        min-width: auto;
        max-width: none;
    }
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #666;
    font-size: 0.8rem;
}

/* Bonus Hunts Page */
.bonus-hunts-container {
    padding: 0.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.page-header {
    text-align: center;
    margin-bottom: 1rem;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #FF6B35;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: #ccc;
    font-size: 1.1rem;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.filter-btn {
    background: transparent;
    color: #ccc;
    border: 1px solid #333;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: #FF6B35;
    border-color: #FF6B35;
    color: white;
}

.hunts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.hunt-card {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
    cursor: pointer;
}

.hunt-card:hover {
    transform: translateY(-5px);
}

.hunt-thumbnail {
    position: relative;
    overflow: hidden;
}

.hunt-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #FF6B35;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.win-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #FF6B35;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.hunt-amount {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: #FF6B35;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: bold;
}

.hunt-info {
    padding: 1rem;
}

.hunt-info h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.hunt-info p {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.hunt-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #ccc;
}

.no-hunts-message {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
    font-size: 1.1rem;
}

/* Hunt Detail View */
.hunt-detail {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 2rem;
    border: 1px solid #333;
}

.hunt-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #333;
}

.hunt-header h2 {
    color: #FF6B35;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.hunt-multiplier {
    font-size: 3rem;
    font-weight: bold;
    color: #FF6B35;
    margin-bottom: 0.5rem;
}

.req-avg {
    color: #999;
    font-size: 1rem;
}

.hunt-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item {
    text-align: center;
    padding: 1rem;
    background: #222;
    border-radius: 6px;
}

.info-label {
    font-size: 1.2rem;
    font-weight: bold;
    color: #FF6B35;
    margin-bottom: 0.25rem;
}

.info-value {
    color: #ccc;
    font-size: 0.9rem;
}

.bonus-list h3 {
    color: #FF6B35;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.bonus-table {
    width: 100%;
    border-collapse: collapse;
    background: #222;
    border-radius: 6px;
    overflow: hidden;
}

.bonus-table th {
    background: #333;
    color: #FF6B35;
    padding: 1rem;
    text-align: left;
    font-weight: bold;
}

.bonus-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #333;
    color: #ccc;
}

.bonus-table tr:last-child td {
    border-bottom: none;
}

.bonus-table tr:hover {
    background: #2a2a2a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .content-wrapper {
        margin-top: 80px; /* Smaller margin for mobile */
    }
    
    .main-content {
        margin-left: 0;
        padding: 1rem;
    }
    
    .footer {
        margin-left: 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .header {
        flex-direction: row;
        gap: 1rem;
        padding: 1rem;
        justify-content: space-between;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Mobile overlay for sidebar */
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }
    
    .sidebar-overlay.active {
        display: block;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .auth-buttons {
        flex-direction: column;
        width: 100%;
    }
}
