:root {
    --primary-color: #FF4757;
    --secondary-color: #2ED573;
    --dark-color: #2F3542;
    --light-color: #F1F2F6;
    --white: #FFFFFF;
    --gray: #A4B0BE;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --font-main: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Header */
.main-header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
}

.logo .highlight {
    color: var(--primary-color);
}

/* Search Bar */
.search-bar-container {
    flex: 1;
    margin: 0 40px;
    max-width: 500px;
}

.search-form {
    display: flex;
    background: var(--light-color);
    border-radius: 50px;
    padding: 5px 15px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.search-form:focus-within {
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
}

.search-form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    outline: none;
}

.search-form button {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    transition: color 0.3s;
}

.search-form button:hover {
    color: var(--primary-color);
}

/* Navigation */
.main-nav ul {
    display: flex;
    gap: 25px;
    align-items: center;
}

.main-nav a {
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.loot-link {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: var(--hover-shadow);
    border-radius: var(--radius);
    padding: 10px 0;
    top: 100%;
    left: 0;
    z-index: 100;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.2s ease;
}

.dropdown-content a {
    color: var(--dark-color);
    padding: 10px 20px;
    display: block;
}

.dropdown-content a:hover {
    background-color: var(--light-color);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

:root {
    --primary-color: #FF4757;
    --secondary-color: #2ED573;
    --dark-color: #2F3542;
    --light-color: #F1F2F6;
    --white: #FFFFFF;
    --gray: #A4B0BE;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --font-main: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Header */
.main-header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
}

.logo .highlight {
    color: var(--primary-color);
}

/* Search Bar */
.search-bar-container {
    flex: 1;
    margin: 0 40px;
    max-width: 500px;
}

.search-form {
    display: flex;
    background: var(--light-color);
    border-radius: 50px;
    padding: 5px 15px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.search-form:focus-within {
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1);
}

.search-form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    outline: none;
}

.search-form button {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    transition: color 0.3s;
}

.search-form button:hover {
    color: var(--primary-color);
}

/* Navigation */
.main-nav ul {
    display: flex;
    gap: 25px;
    align-items: center;
}

.main-nav a {
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.loot-link {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: var(--hover-shadow);
    border-radius: var(--radius);
    padding: 10px 0;
    top: 100%;
    left: 0;
    z-index: 100;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.2s ease;
}

.dropdown-content a {
    color: var(--dark-color);
    padding: 10px 20px;
    display: block;
}

.dropdown-content a:hover {
    background-color: var(--light-color);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Sections */
section {
    padding: 40px 0;
}

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

h2 {
    font-size: 1.8rem;
    font-weight: 600;
}

/* Horizontal Scroll */
.horizontal-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 10px 5px 30px 5px;
    /* Bottom padding for shadow */
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
}

.horizontal-scroll-container::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.horizontal-card {
    min-width: 280px;
    max-width: 280px;
}

.controls button {
    background: var(--white);
    border: 1px solid var(--gray);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--dark-color);
}

.controls button:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Deal Card */
.deal-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    position: relative;
}

.deal-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.deal-image {
    height: 200px;
    position: relative;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.deal-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.time-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    backdrop-filter: blur(4px);
}

.loot-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    animation: pulse 2s infinite;
}

.deal-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.store-logo {
    margin-bottom: 10px;
    height: 30px;
    display: flex;
    align-items: center;
}

.store-logo img {
    max-height: 100%;
    max-width: 100px;
    object-fit: contain;
}

.store-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.store-icon {
    height: 20px;
    width: auto;
    object-fit: contain;
}

.store-text {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 500;
}

.deal-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--dark-color);
    flex: 1;
}

.price-block {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 15px;
}

.regular-price {
    text-decoration: line-through;
    color: var(--gray);
    font-size: 0.9rem;
}

.deal-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
}

.discount {
    background: #E1FCEF;
    color: var(--secondary-color);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.grab-deal-btn {
    display: block;
    background: var(--dark-color);
    color: var(--white);
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s;
}

.grab-deal-btn:hover {
    background: var(--primary-color);
}

/* Grid Layout */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* View All Button */
.view-all-container {
    text-align: center;
    margin-top: 20px;
}

.view-all-btn {
    display: inline-block;
    padding: 10px 30px;
    border: 2px solid var(--dark-color);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.view-all-btn:hover {
    background: var(--dark-color);
    color: var(--white);
}

/* Footer */
.main-footer {
    background: var(--white);
    padding: 40px 0;
    margin-top: 60px;
    border-top: 1px solid #eee;
}

.main-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    font-size: 1.5rem;
    color: var(--gray);
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Static Pages */
.static-page {
    padding: 60px 20px;
    max-width: 800px;
}

.static-page h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.content-box {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.content-box p {
    margin-bottom: 20px;
}

/* Social Buttons Grid */
.social-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    border-radius: var(--radius);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.social-btn:hover {
    transform: translateY(-5px);
}

.youtube {
    background: #FF0000;
}

.telegram {
    background: #0088cc;
}

.twitter {
    background: #1DA1F2;
}

.whatsapp {
    background: #25D366;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }

    .search-bar-container {
        order: 3;
        margin: 15px 0 0 0;
        min-width: 100%;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: var(--shadow);
        padding: 20px;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        padding-left: 20px;
        display: none;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }
}