/* Reset e Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3c2859;
    --secondary-color: #471835;
    --accent-color: #c81e50;
    --dark-purple: #2d103b;
    --medium-purple: #5c1b52;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #333333;
    --text-color: #2c2c2c;
    --border-color: #e0e0e0;
    
    --font-family: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    background: #ffffff;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(60, 40, 89, 0.15);
    border-bottom: 1px solid rgba(60, 40, 89, 0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3c2859;
}

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

.nav-list a {
    color: #3c2859;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-list a:hover {
    color: #c81e50;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #c81e50;
    transition: var(--transition);
}

.nav-list a:hover::after {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #3c2859;
    font-size: 1.2rem;
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 50%;
    background: rgba(60, 40, 89, 0.05);
}

.social-links a:hover {
    color: #ffffff;
    background: #c81e50;
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #3c2859;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 120px 0 80px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    max-width: 100%;
    padding: 0;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    width: 100%;
    padding: 0 4rem;
}

.hero-text {
    text-align: left;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(45deg, var(--white), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    height: 500px;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: #a91842;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Categories Section */
.categories {
    padding: 80px 0;
    background: var(--light-gray);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 3rem;
    opacity: 0.8;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.category-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow
.category-card:hover .category-img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.discount-badge {
    background: var(--accent-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.category-content {
    padding: 1.5rem;
}

.category-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.category-description {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: #ffd700;
    font-size: 0.9rem;
}

.rating-text {
    font-weight: 600;
    color: var(--primary-color);
}

.sales-count {
    font-size: 0.9rem;
    color: var(--dark-gray);
    opacity: 0.7;
    margin-bottom: 1rem;
}

.btn-category {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    width: 100%;
    text-align: center;
}

.btn-category:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
}

/* Super Deals Section */
.super-deals {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark-purple), var(--medium-purple));
    color: var(--white);
}

.deals-header {
    text-align: center;
    margin-bottom: 3rem;
}

.deals-header .section-title {
    color: var(--white);
}

.deals-header .section-subtitle {
    color: var(--white);
    opacity: 0.9;
}

.deals-banner {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.banner-content {
    padding: 3rem;
    color: var(--primary-color);
}

.banner-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.banner-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.countdown-timer {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.timer-item {
    text-align: center;
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem;
    border-radius: var(--border-radius);
    min-width: 80px;
}

.timer-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.timer-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

.btn-deals {
    background: var(--accent-color);
    color: var(--white);
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

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

.banner-image {
    height: 400px;
}

.deals-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--white);
    text-align: center;
}

.about-content {
    display: block;
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.8;
    text-align: center;
}

.about-features {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.feature-item i {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.about-image {
    position: relative;
    margin-top: 3rem;
}

.about-img {
    width: 100%;
    max-width: 500px;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 0 auto;
    display: block;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    width: 40px;
    text-align: center;
}

.contact-item h4 {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-logo-text {
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-description {
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--white);
    font-size: 1.3rem;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
    opacity: 0.7;
}

/* Ad Container */
.ad-container {
    margin: 2rem 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        min-height: 80vh;
        padding: 100px 0 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 2rem;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
        order: 1;
    }
    
    .hero-image {
        order: 2;
        height: 300px;
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .countdown-timer {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 80px 0 40px;
        min-height: 70vh;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-image {
        height: 250px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .categories,
    .about,
    .contact {
        padding: 60px 0;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content {
        padding: 0 3rem;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-image {
        height: 400px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-card,
.deals-banner,
.about-content,
.contact-content {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus States */
.btn:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.4);
    }
}


/* Legal Pages Styles */
.legal-page {
    padding: 120px 0 80px;
    background: var(--white);
    min-height: 100vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-content h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: var(--dark-gray);
    opacity: 0.7;
    margin-bottom: 3rem;
    font-style: italic;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.legal-section h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin: 1.5rem 0 0.5rem;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.legal-section p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.legal-section strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* 404 Error Page Styles */
.error-page {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--light-gray), var(--white));
    min-height: 100vh;
}

.error-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.error-illustration {
    text-align: center;
    position: relative;
}

.error-number {
    font-size: 8rem;
    font-weight: 700;
    color: var(--accent-color);
    opacity: 0.3;
    line-height: 1;
}

.error-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: var(--primary-color);
}

.error-text {
    text-align: left;
}

.error-text h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.error-text p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.redirect-info {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    border-left: 4px solid var(--accent-color);
}

.redirect-info p {
    margin: 0;
    color: var(--primary-color);
    font-weight: 500;
}

.redirect-info i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.error-actions .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.popular-categories {
    text-align: center;
    margin-top: 4rem;
}

.popular-categories h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.categories-grid-404 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.category-link {
    text-decoration: none;
    color: inherit;
}

.category-card-404 {
    background: var(--white);
    padding: 2rem 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

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

.category-card-404 i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.category-card-404 span {
    font-weight: 500;
    color: var(--primary-color);
}

/* Responsive Design for Legal and Error Pages */
@media (max-width: 768px) {
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
    }
    
    .error-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .error-text {
        text-align: center;
    }
    
    .error-number {
        font-size: 6rem;
    }
    
    .error-icon {
        font-size: 3rem;
    }
    
    .error-text h1 {
        font-size: 2rem;
    }
    
    .error-actions {
        justify-content: center;
    }
    
    .categories-grid-404 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .legal-page,
    .error-page {
        padding: 100px 0 60px;
    }
    
    .legal-content {
        padding: 0 1rem;
    }
    
    .legal-section ul {
        padding-left: 1.5rem;
    }
    
    .error-number {
        font-size: 4rem;
    }
    
    .error-icon {
        font-size: 2rem;
    }
    
    .error-text h1 {
        font-size: 1.5rem;
    }
    
    .error-actions {
        flex-direction: column;
    }
    
    .categories-grid-404 {
        grid-template-columns: 1fr;
    }
}

/* Print Styles for Legal Pages */
@media print {
    .header,
    .footer,
    .ad-container {
        display: none;
    }
    
    .legal-page {
        padding: 0;
    }
    
    .legal-content {
        max-width: none;
        margin: 0;
    }
    
    .legal-content h1,
    .legal-section h2 {
        color: #000;
    }
    
    .legal-section {
        break-inside: avoid;
    }
}

