* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #ff2c2c30;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 28px;
    font-weight: 700;
    color: #ff2c2c;
    text-decoration: none;
    margin-left: 50px;
}

.logo i {
    color: #ff2c2c;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ff2c2c;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 5;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 8px 15px;
    transition: all 0.3s;
}

.search-box:focus-within {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(255, 44, 44, 0.3);
}

.search-box form {
    display: flex;
    align-items: center;
    width: 100%;
}

.search-box input {
    background: transparent;
    border: none;
    color: #fff;
    outline: none;
    width: 180px;
    padding: 5px;
    font-size: 14px;
}

.search-box input::placeholder {
    color: #aaa;
    font-size: 14px;
}

.search-btn {
    background: transparent;
    border: none;
    color: #ff2c2c;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.search-btn:hover {
    color: #e02424;
}

.search-box i {
    color: #ff2c2c;
    cursor: pointer;
}

.user-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff2c2c 0%, #801515 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.user-icon:hover {
    transform: scale(1.1);
}

/* Genre Browser Section */
.genre-browser {
    padding: 40px 0;
}

.browser-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.browser-title {
    font-size: 32px;
    font-weight: 700;
}

.browser-title i {
    color: #ff2c2c;
    margin-right: 10px;
}

.view-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 5px;
}

.toggle-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.toggle-btn.active {
    background: #ff2c2c;
    box-shadow: 0 0 10px rgba(255, 44, 44, 0.5);
}

.genre-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.genre-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.genre-btn:hover {
    background: rgba(255, 44, 44, 0.2);
    border-color: #ff2c2c;
}

.genre-btn.active {
    background: #ff2c2c;
    border-color: #ff2c2c;
    box-shadow: 0 0 15px rgba(255, 44, 44, 0.5);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.content-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: auto;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 44, 44, 0.2);
    border-color: #ff2c2c;
}

.content-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    background: #2a2a2a;
}

.card-overlay {
    position: relative;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.95));
    padding: 15px;
    opacity: 1;
    transition: opacity 0.3s;
    margin-top: -5px;
    height: 80px;
    overflow: hidden;
}

/* Card overlay always visible */
.content-card .card-overlay {
    opacity: 1;
}



.card-title {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.card-info {
    display: flex;
    gap: 10px;
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.card-info span {
    display: flex;
    align-items: center;
    gap: 2px;
}

/* Star rating styling */
.rating-span {
    color: #ffd700 !important;
    font-weight: 600;
}

/* Content type styling */
.content-type {
    font-weight: 600;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.movie-type {
    color: #ff4757;
    background: rgba(255, 71, 87, 0.1);
}

.tvshow-type {
    color: #3742fa;
    background: rgba(55, 66, 250, 0.1);
}

/* Season number styling for TV shows (all devices) */
.season-info {
    color: #3742fa !important;
    font-weight: 600;
}

/* Action Button Styles */
.action-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.play-btn {
    background: #ff2c2c;
    color: white;
    flex: 2;
}

.play-btn:hover {
    background: #e02424;
    transform: translateY(-2px);
}

.add-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    flex: 1;
}

.add-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Featured Genre Section */
.featured-genre {
    margin: 60px 0;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
}

.featured-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
}

.featured-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: -1;
    transition: opacity 0.3s ease-in-out;
}

.featured-content {
    position: relative;
    padding: 50px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 600px;
}

.genre-tag {
    background: #ff2c2c;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
    display: inline-block;
}

.featured-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.featured-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.featured-actions {
    display: flex;
    gap: 15px;
}

/* Disclaimer */
.disclaimer {
    text-align: center;
    padding: 20px;
    background: #0d0d0d;
    margin-top: 60px;
    border-top: 1px solid #ff2c2c30;
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Loading States */
.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    width: 100%;
}

.loading-spinner {
    text-align: center;
    color: #ff2c2c;
}

.loading-spinner i {
    font-size: 48px;
    margin-bottom: 20px;
    animation: spin 1s linear infinite;
}

.loading-spinner p {
    font-size: 18px;
    color: #fff;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-container, .no-results {
    text-align: center;
    padding: 60px 20px;
    color: #fff;
}

.error-container i, .no-results i {
    font-size: 48px;
    color: #ff2c2c;
    margin-bottom: 20px;
}

.error-container h3, .no-results h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.error-container p, .no-results p {
    font-size: 16px;
    color: #aaa;
    margin-bottom: 30px;
}

.retry-btn {
    background: #ff2c2c;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.retry-btn:hover {
    background: #e02424;
    transform: translateY(-2px);
}

/* Bottom Navigation */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid #ff2c2c30;
    z-index: 1000;
    padding: 10px 0;
}

.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #fff;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s;
    flex: 1;
}

.bottom-nav .nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
}

.bottom-nav .nav-item span {
    font-size: 12px;
    font-weight: 500;
}

.bottom-nav .nav-item:hover,
.bottom-nav .nav-item.active {
    color: #ff2c2c;
    background: rgba(255, 44, 44, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) and (min-width: 769px) {
    .container {
        max-width: 1200px;
        padding: 0 30px;
    }
    
    .logo {
        font-size: 26px;
    }
    
    .nav-links {
        gap: 25px;
    }
    
    .search-box input {
        width: 160px;
    }
    
    .content-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
    
    .featured-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        position: relative;
    }
    
    .logo {
        font-size: 24px;
        margin-left: 50px;
    }
    
    /* Hide desktop navigation on mobile */
    .nav-links {
        display: none;
    }
    
    /* Show bottom navigation on mobile */
    .bottom-nav {
        display: flex;
    }
    
    /* Add bottom padding to main content to account for bottom nav */
    main {
        padding-bottom: 80px;
    }
    
    .disclaimer {
        margin-bottom: 80px;
    }
    
    .header-right {
        gap: 15px;
    }
    
    .search-box {
        padding: 6px 12px;
    }
    
    .search-box input {
        width: 140px;
        font-size: 14px;
    }
    
    .user-icon {
        width: 35px;
        height: 35px;
    }
    
    .browser-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .content-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .content-card img {
        height: 200px;
    }
    
    .card-overlay {
        padding: 12px;
        height: 70px;
    }
    
    .card-title {
        font-size: 12px;
        margin-bottom: 5px;
    }
    
    .card-info {
        font-size: 0.7rem;
        gap: 5px;
        margin-bottom: 5px;
    }
    
    .featured-genre {
        height: 350px;
    }
    
    .featured-content {
        padding: 30px;
    }
    
    .featured-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
        position: relative;
    }
    
    .logo {
        font-size: 22px;
        justify-content: center;
        margin-left: 0;
    }
    
    /* Hide desktop navigation on mobile */
    .nav-links {
        display: none;
    }
    
    /* Show bottom navigation on mobile */
    .bottom-nav {
        display: flex;
    }
    
    /* Add bottom padding to main content to account for bottom nav */
    main {
        padding-bottom: 80px;
    }
    
    .disclaimer {
        margin-bottom: 80px;
    }
    
    .header-right {
        justify-content: center;
        gap: 20px;
    }
    
    .search-box {
        flex: 1;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .search-box input {
        width: 100%;
        min-width: 120px;
    }
    
    .genre-filters {
        overflow-x: auto;
        padding-bottom: 10px;
        width: 100%;
        -webkit-overflow-scrolling: touch;
    }
    
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .content-card img {
        height: 150px;
    }
    
    .card-overlay {
        padding: 10px;
        height: 60px;
    }
    
    .card-title {
        font-size: 11px;
        margin-bottom: 3px;
    }
    
    .card-info {
        font-size: 0.6rem;
        gap: 3px;
        margin-bottom: 3px;
    }
    
    .featured-genre {
        height: 400px;
    }
    
    .featured-title {
        font-size: 24px;
    }
    
    .featured-actions {
        flex-direction: column;
    }
}

/* User Avatar in Header */
.user-icon img.user-avatar{width:40px;height:40px;border-radius:50%;object-fit:contain;border:2px solid #2a2a2a;background:#1a1a1a;padding:3px;transition:all 0.2s ease}
.user-icon img.user-avatar:hover{border-color:#ff2c2c;transform:scale(1.05)}

/* User dropdown styles */
.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-icon {
    min-width: 40px;
    height: 40px;
    border-radius: 25px;
    background: linear-gradient(135deg, #ff2c2c 0%, #801515 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0 16px;
    box-shadow: 0 4px 15px rgba(255, 44, 44, 0.3);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.user-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 44, 44, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.user-icon:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 44, 44, 0.3);
}

.user-icon .fa-sign-in-alt {
    color: #fff;
    font-size: 16px;
    margin-right: 6px;
    transition: transform 0.3s ease;
}

.user-icon:hover .fa-sign-in-alt {
    transform: scale(1.1);
}

.user-icon span {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.user-icon i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.user-icon:hover i {
    transform: scale(1.1);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 2px solid #ff2c2c;
    border-radius: 12px;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(255, 44, 44, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 10px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #ff2c2c;
    z-index: 1;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 15px 20px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 44, 44, 0.05);
}

.dropdown-header span {
    color: #ff2c2c;
    font-weight: 700;
    font-size: 14px;
    display: block;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.dropdown-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 44, 44, 0.3), transparent);
    margin: 5px 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    cursor: pointer;
    position: relative;
}

.dropdown-item:hover {
    background: rgba(255, 44, 44, 0.1);
    color: #ff2c2c;
    transform: translateX(5px);
}

.dropdown-item:active {
    background: rgba(255, 44, 44, 0.2);
    transform: translateX(3px);
}

.dropdown-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.dropdown-item:hover i {
    transform: scale(1.1);
}

/* Special styling for logout button */
.dropdown-item#logoutBtn:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.dropdown-item#logoutBtn:hover i {
    color: #dc3545;
}

/* Login button specific styles */
.user-icon:has(.fa-sign-in-alt) {
    background: linear-gradient(135deg, #ff2c2c 0%, #d42424 50%, #801515 100%);
    animation: loginPulse 2s infinite;
}

@keyframes loginPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 44, 44, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 44, 44, 0.5);
    }
}

/* Mobile responsive styles for login button */
@media (max-width: 768px) {
    .user-icon {
        min-width: 50px;
        height: 44px;
        padding: 0 16px;
        border-radius: 22px;
    }
    
    .user-icon .fa-sign-in-alt {
        font-size: 16px;
        margin-right: 8px;
    }
    
    .user-icon span {
        font-size: 13px;
        font-weight: 700;
        color: #ffffff;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    }
    
    .user-icon:hover {
        transform: translateY(-1px);
    }
}

@media (max-width: 480px) {
    .user-icon {
        min-width: 70px;
        height: 48px;
        padding: 0 20px;
        border-radius: 24px;
    }
    
    .user-icon .fa-sign-in-alt {
        font-size: 16px;
        margin-right: 8px;
    }
    
    .user-icon span {
        font-size: 10px;
        font-weight: 700;
        color: #ffffff;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    }
    
    .user-icon:hover {
        transform: none;
    }
    
    .user-icon:active {
        transform: scale(0.95);
    }
}

/* Login/Register Popup Styles */
.auth-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.auth-popup.active {
    display: flex;
    opacity: 1;
}

.auth-container {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 2px solid #ff2c2c;
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(255, 44, 44, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.auth-popup.active .auth-container {
    transform: scale(1);
}

.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff2c2c, #801515, #ff2c2c);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.auth-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ff2c2c30;
}

.auth-header h2 {
    color: #ff2c2c;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.close-btn {
    background: transparent;
    border: none;
    color: #ff2c2c;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: rgba(255, 44, 44, 0.2);
    transform: scale(1.1);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 5px;
}

.form-group input {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 12px 15px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus {
    border-color: #ff2c2c;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(255, 44, 44, 0.3);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.auth-btn {
    background: linear-gradient(135deg, #ff2c2c 0%, #d42424 50%, #801515 100%);
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(255, 44, 44, 0.3);
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 44, 44, 0.4);
}

.auth-btn:active {
    transform: translateY(0);
}

.login-btn {
    background: linear-gradient(135deg, #ff2c2c 0%, #d42424 50%, #801515 100%);
}

.register-btn {
    background: linear-gradient(135deg, #ff2c2c 0%, #d42424 50%, #801515 100%);
    box-shadow: 0 4px 15px rgba(255, 44, 44, 0.3);
}

.auth-switch {
    text-align: center;
    margin-top: 15px;
}

.auth-switch p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin: 0;
}

.auth-switch a {
    color: #ff2c2c;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-switch a:hover {
    color: #d42424;
    text-decoration: underline;
}

/* Toast Notification Styles */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border: 2px solid #ff2c2c;
    border-radius: 12px;
    padding: 15px 20px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 8px 25px rgba(255, 44, 44, 0.3);
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 300px;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.success {
    border-color: #28a745;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.toast.error {
    border-color: #dc3545;
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
}

.toast i {
    font-size: 16px;
}

.toast.success i {
    color: #28a745;
}

.toast.error i {
    color: #dc3545;
}

.toast.info i {
    color: #ff2c2c;
}

/* Mobile responsive styles for toast */
@media (max-width: 768px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .toast {
        max-width: none;
        padding: 12px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .toast-container {
        top: 5px;
        right: 5px;
        left: 5px;
    }
    
    .toast {
        padding: 10px 14px;
        font-size: 12px;
        border-radius: 10px;
    }
}



/* Advertisement Section Styles */
.advertisement-container {
    margin: 30px auto;
    max-width: 1400px;
    padding: 0 20px;
    position: relative;
}

.advertisement-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ff2c2c;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    padding: 8px 15px;
    background: rgba(255, 44, 44, 0.1);
    border: 1px solid rgba(255, 44, 44, 0.3);
    border-radius: 8px;
    width: fit-content;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.advertisement-label i {
    font-size: 16px;
    color: #ff2c2c;
}

.advertisement-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.advertisement-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff2c2c, #801515, #ff2c2c);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

/* Mobile responsive styles for advertisement */
@media (max-width: 768px) {
    .advertisement-container {
        margin: 20px auto;
        padding: 0 15px;
    }
    
    .advertisement-label {
        font-size: 13px;
        padding: 6px 12px;
        margin-bottom: 12px;
    }
    
    .advertisement-label i {
        font-size: 14px;
    }
    
    .advertisement-content {
        padding: 15px;
        min-height: 80px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .advertisement-container {
        margin: 15px auto;
        padding: 0 10px;
    }
    
    .advertisement-label {
        font-size: 12px;
        padding: 5px 10px;
        margin-bottom: 10px;
    }
    
    .advertisement-label i {
        font-size: 13px;
    }
    
    .advertisement-content {
        padding: 12px;
        min-height: 70px;
        border-radius: 8px;
    }
}