/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(135deg, #8B5CF6, #A855F7, #9333EA);
    padding: 12px 0;
    position: static;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(139, 92, 246, 0.3);
}

.announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.announcement-content i {
    font-size: 16px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Navigation */
.navbar {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: static;
    z-index: 999;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.6);
}

.nav-tabs {
    display: flex;
    gap: 8px;
    background: rgba(42, 42, 74, 0.8);
    padding: 6px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-tab {
    padding: 12px 24px;
    border-radius: 12px;
    border: none;
    background: transparent;
    color: #888;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    display: inline-block;
}

.nav-tab.active {
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.nav-tab:hover:not(.active) {
    color: #A855F7;
    background: rgba(168, 85, 247, 0.1);
}

.nav-icons {
    display: flex;
    gap: 12px;
}

.nav-icon {
    width: 44px;
    height: 44px;
    background: rgba(42, 42, 74, 0.8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.nav-icon:hover {
    background: rgba(168, 85, 247, 0.2);
    color: #A855F7;
    transform: translateY(-2px);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* Page System */
.page {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero Section */
.hero {
    padding: 80px 0 60px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.brand-section {
    text-align: left;
}

.brand-logo-large {
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 24px;
    box-shadow: 0 8px 40px rgba(139, 92, 246, 0.4);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.brand-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff, #e5e7eb, #d1d5db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.brand-subtitle {
    font-size: 1.2rem;
    color: #9CA3AF;
    margin-bottom: 40px;
    font-weight: 500;
}

.cta-button {
    background: linear-gradient(135deg, #ffffff, #f3f4f6);
    color: #1a1a2e;
    border: none;
    padding: 18px 36px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #f9fafb, #ffffff);
    text-decoration: none;
}

.rating-card {
    background: rgba(42, 42, 74, 0.8);
    backdrop-filter: blur(20px);
    padding: 32px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 240px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.rating-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.rating-label {
    color: #9CA3AF;
    font-size: 14px;
    font-weight: 500;
}

.rating-header i {
    color: #6B7280;
    font-size: 14px;
}

.rating-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rating-star {
    color: #10B981;
    font-size: 28px;
}

.rating-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #10B981;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 32px 24px;
    background: rgba(42, 42, 74, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(42, 42, 74, 0.8);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.2);
}

.stat-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: white;
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
}

.stat-label {
    color: #9CA3AF;
    font-size: 14px;
    font-weight: 500;
}

/* Featured Section */
.featured-section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.product-card {
    background: rgba(42, 42, 74, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3);
}

.product-image {
    background: linear-gradient(135deg, #8B5CF6, #A855F7, #9333EA);
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-icon {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
    opacity: 0.9;
}

.product-tag {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-info {
    padding: 24px;
}

.product-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
}

.product-badge {
    color: #10B981;
    font-size: 16px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    color: #8B5CF6;
    font-weight: 700;
    font-size: 16px;
}

.product-vendor {
    color: #6B7280;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Support Section */
.support-section {
    padding: 80px 0;
    text-align: center;
}

.support-content {
    max-width: 600px;
    margin: 0 auto;
}

.support-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    font-size: 32px;
    color: white;
    box-shadow: 0 8px 40px rgba(139, 92, 246, 0.4);
}

.support-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.support-description {
    font-size: 1.1rem;
    color: #9CA3AF;
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-button {
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
    text-decoration: none;
}

.contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.6);
}

/* Explore Page */
.explore-section {
    padding: 60px 0 80px;
}

.explore-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
    gap: 40px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.search-container {
    position: relative;
    max-width: 320px;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 16px 20px;
    padding-right: 52px;
    background: rgba(42, 42, 74, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #8B5CF6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.search-input::placeholder {
    color: #6B7280;
}

.search-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #6B7280;
    font-size: 16px;
}

/* About Page */
.about-section {
    padding: 80px 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    margin-bottom: 60px;
}

.about-text p {
    font-size: 1.1rem;
    color: #D1D5DB;
    margin-bottom: 24px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.about-stat {
    text-align: center;
    padding: 32px 24px;
    background: rgba(42, 42, 74, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #8B5CF6;
    margin-bottom: 8px;
}

.about-stat-label {
    color: #9CA3AF;
    font-size: 14px;
    font-weight: 500;
}

/* Footer */
.footer {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 40px;
    margin-top: 80px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-button {
    background: rgba(42, 42, 74, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #D1D5DB;
    padding: 14px 24px;
    border-radius: 16px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.footer-button:hover {
    background: rgba(168, 85, 247, 0.2);
    color: #A855F7;
    transform: translateY(-2px);
}

.footer-branding {
    text-align: center;
}

.powered-by {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #9CA3AF;
    font-size: 14px;
    font-weight: 500;
}

.sellvibe-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #A855F7;
    font-weight: 700;
    font-size: 16px;
}

.sellvibe-logo i {
    font-size: 14px;
}

.copyright {
    color: #6B7280;
    font-size: 12px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 968px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .brand-title {
        font-size: 2.5rem;
    }
    
    .explore-header {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }
    
    .search-container {
        max-width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-links {
        flex-direction: column;
        width: 100%;
    }
    
    .footer-button {
        justify-content: center;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .nav-content {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .nav-tabs {
        order: 3;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .brand-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .announcement-bar {
        position: static;
    }
    
    .navbar {
        position: static;
    }
    
    .stat-card,
    .about-stat {
        padding: 24px 16px;
    }
}

/* Modal Base Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: rgba(42, 42, 74, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 0;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 24px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: white;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.modal-close {
    color: #9CA3AF;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: white;
}

.modal-body {
    padding: 24px 32px;
    max-height: 60vh;
    overflow-y: auto;
}

/* Group Modal Styles */
.group-modal-content {
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.group-products-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.group-product-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(55, 65, 81, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.group-product-item:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

.group-product-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-size: 24px;
}

.group-product-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.group-product-info {
    flex: 1;
}

.group-product-name {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.group-product-stock {
    color: #9CA3AF;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.group-product-price {
    color: #10B981;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Modal responsive */
@media (max-width: 768px) {
    .group-modal-content {
        width: 95%;
        margin: 20px auto;
    }
    
    .group-product-item {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .group-product-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Bottom Right Social Media Widget */
.social-media-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.social-media-widget .social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.social-media-widget .social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.social-media-widget .discord-btn {
    background: linear-gradient(135deg, #5865f2, #4752c4);
}

.social-media-widget .discord-btn:hover {
    background: linear-gradient(135deg, #4752c4, #3c45a3);
}

.social-media-widget .telegram-btn {
    background: linear-gradient(135deg, #0088cc, #006699);
}

.social-media-widget .telegram-btn:hover {
    background: linear-gradient(135deg, #006699, #004466);
}

/* Mobile adjustments for social widget */
@media (max-width: 768px) {
    .social-media-widget {
        bottom: 15px;
        right: 15px;
    }

    .social-media-widget .social-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}