/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #1a1a1a;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

/* Header Styles */
.main-header {
    background: #2d2d2d;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-left .logo {
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
    white-space: nowrap;
}

.header-center {
    flex: 1;
    text-align: center;
}

.promo-banner {
    color: #ffffff;
    font-size: 14px;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    display: inline-block;
}

.header-right {
    display: flex;
    align-items: center;
}

.signup-btn {
    background: linear-gradient(135deg, #ee4c2c 0%, #ff6b35 100%);
    color: #ffffff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(238, 76, 44, 0.4);
    white-space: nowrap;
}

.signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 76, 44, 0.6);
}

/* Main Content */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    gap: 30px;
    position: relative;
}

.container {
    flex: 1;
}

.section-title {
    font-size: 42px;
    font-weight: bold;
    color: #ff6b35;
    margin-bottom: 30px;
    text-align: center;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.card {
    background: #2d2d2d;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 180px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    border-color: rgba(255, 107, 53, 0.5);
}

.card-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    flex: 1;
    justify-content: center;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 8px;
}

.logo-icon {
    font-size: 18px;
    color: #ff6b35;
    margin-top: 5px;
}

.vip-badge {
    background: #ff6b35;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    margin-top: 8px;
    display: inline-block;
}

.card-button {
    background: linear-gradient(135deg, #ff6b35 0%, #ee4c2c 100%);
    color: #ffffff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(238, 76, 44, 0.4);
    width: 100%;
    text-align: center;
    display: block;
}

.card-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 76, 44, 0.6);
    background: linear-gradient(135deg, #ff7b45 0%, #ff5c3c 100%);
}

/* Sidebar */
.sidebar {
    width: 300px;
    background: #2d2d2d;
    border-radius: 12px;
    padding: 20px;
    position: sticky;
    top: 90px;
    height: fit-content;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.sidebar-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 15px;
}

.close-btn {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ff6b35;
}

.sidebar-content {
    margin-bottom: 20px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 10px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.sidebar-item:hover {
    background: rgba(255, 107, 53, 0.1);
}

.sidebar-brand {
    font-weight: bold;
    color: #ffffff;
    font-size: 14px;
}

.sidebar-offer {
    color: #cccccc;
    font-size: 13px;
    margin-left: auto;
    margin-right: 10px;
}

.sidebar-close {
    color: #999999;
    cursor: pointer;
    font-size: 18px;
    width: 20px;
    text-align: center;
    transition: color 0.3s ease;
}

.sidebar-close:hover {
    color: #ff6b35;
}

.sidebar-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-footer .signup-btn {
    width: 100%;
    text-align: center;
    display: block;
}

/* Footer */
.main-footer {
    background: #1a1a1a;
    padding: 30px 20px;
    text-align: center;
    border-top: 2px solid #2d2d2d;
}

.footer-brand {
    font-size: 24px;
    font-weight: bold;
    color: #ee4c2c;
    margin-bottom: 10px;
}

.footer-text {
    color: #cccccc;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sidebar {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        width: 100%;
        position: relative;
        top: 0;
        max-height: none;
    }
    
    .header-container {
        flex-wrap: wrap;
    }
    
    .header-center {
        order: 3;
        width: 100%;
        margin-top: 10px;
    }
    
    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }
    
    .card {
        min-height: 160px;
        padding: 20px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .card-button {
        font-size: 14px;
        padding: 10px 20px;
    }
}

/* Scrollbar Styling */
.sidebar::-webkit-scrollbar {
    width: 8px;
}

.sidebar::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #ff6b35;
    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: #ee4c2c;
}

