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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(120, 119, 198, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 60% 60%, rgba(255, 119, 198, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

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

/* Notification Bar */
.notification-bar {
    background: linear-gradient(135deg, #ff77c6, #7777c6);
    color: #000;
    padding: 8px 0;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.notification-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.notification-close {
    margin-left: auto;
}

/* Header */
.header {
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 119, 198, 0.2);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff77c6;
}

.search-bar {
    flex: 1;
    max-width: 400px;
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 119, 198, 0.3);
    border-radius: 25px;
    overflow: hidden;
}

.search-bar input {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 0.9rem;
}

.search-bar input::placeholder {
    color: #cccccc;
}

.search-bar input:focus {
    outline: none;
}

.search-bar button {
    padding: 12px 20px;
    background: linear-gradient(135deg, #ff77c6, #7777c6);
    border: none;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-bar button:hover {
    transform: scale(1.05);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-btn, .user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: rgba(255, 119, 198, 0.1);
    border: 1px solid rgba(255, 119, 198, 0.3);
    border-radius: 20px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.cart-btn:hover, .user-btn:hover {
    background: rgba(255, 119, 198, 0.2);
    border-color: #ff77c6;
}

.cart-count {
    background: #ff77c6;
    color: #000;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    position: absolute;
    top: -5px;
    right: -5px;
}

.user-menu {
    position: relative;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 119, 198, 0.2);
    border-radius: 12px;
    padding: 15px;
    min-width: 200px;
    display: none;
    z-index: 1001;
}

.user-dropdown.show {
    display: block;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(255, 119, 198, 0.1), rgba(120, 119, 198, 0.1));
    border-radius: 20px;
    margin: 30px 0;
}

.hero h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.highlight {
    background: linear-gradient(135deg, #ff77c6, #7777c6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #cccccc;
    font-weight: 300;
}

/* Products Section */
.products-section {
    padding: 40px 0;
}

.category-section {
    margin-bottom: 60px;
}

.category-header {
    margin-bottom: 30px;
}

.category-header h2 {
    color: #ff77c6;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 119, 198, 0.3);
}

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

/* Product Card */
.product-card {
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 119, 198, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: #ff77c6;
    box-shadow: 0 10px 30px rgba(255, 119, 198, 0.3);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #333, #555);
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.4;
}

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

.current-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #ff77c6;
}

.old-price {
    font-size: 1rem;
    color: #888;
    text-decoration: line-through;
}

.discount {
    background: #ff77c6;
    color: #000;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.buy-btn, .cart-btn-product {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.buy-btn {
    background: linear-gradient(135deg, #ff77c6, #7777c6);
    color: #000;
}

.buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 119, 198, 0.4);
}

.cart-btn-product {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cart-btn-product:hover {
    background: rgba(255, 255, 255, 0.2);
}

.social-share {
    display: flex;
    gap: 5px;
    margin-top: 10px;
}

.share-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-btn {
    background: #25d366;
    color: #fff;
}

.telegram-btn {
    background: #0088cc;
    color: #fff;
}

.share-btn:hover {
    transform: scale(1.1);
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    border-left: 1px solid rgba(255, 119, 198, 0.2);
    z-index: 2000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 119, 198, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    color: #ff77c6;
}

.close-cart {
    background: none;
    border: none;
    color: #cccccc;
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.empty-cart {
    text-align: center;
    color: #888;
    padding: 40px 20px;
}

.empty-cart i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #555;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-size: 0.9rem;
    color: #ffffff;
    margin-bottom: 5px;
}

.cart-item-price {
    color: #ff77c6;
    font-weight: bold;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.quantity-btn {
    width: 25px;
    height: 25px;
    border: 1px solid rgba(255, 119, 198, 0.3);
    background: rgba(255, 119, 198, 0.1);
    color: #ffffff;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity {
    color: #ffffff;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
}

.remove-btn {
    background: rgba(255, 69, 69, 0.2);
    color: #ff4545;
    border: 1px solid #ff4545;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 119, 198, 0.2);
}

.cart-total {
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.2rem;
    color: #ff77c6;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ff77c6, #7777c6);
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 119, 198, 0.4);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    margin: 5% auto;
    border: 1px solid rgba(255, 119, 198, 0.2);
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.login-modal-content {
    max-width: 400px;
    margin: 10% auto;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 119, 198, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: #ff77c6;
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    color: #cccccc;
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
}

.close-modal:hover {
    color: #ff77c6;
}

.modal-body {
    padding: 30px;
}

/* Product Modal */
.product-modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.product-modal-image {
    width: 100%;
    border-radius: 12px;
}

.product-modal-info h2 {
    color: #ffffff;
    margin-bottom: 15px;
}

.product-modal-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.product-modal-description {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.stock-info {
    color: #ff77c6;
    margin-bottom: 20px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.quantity-input {
    width: 60px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 119, 198, 0.3);
    border-radius: 4px;
    color: #ffffff;
    text-align: center;
}

/* Login/Register Forms */
.social-login {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.social-btn {
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.google-btn {
    background: #4285f4;
    color: #ffffff;
}

.discord-btn {
    background: #5865f2;
    color: #ffffff;
}

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

.divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
    color: #888;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.divider span {
    background: rgba(20, 20, 20, 0.95);
    padding: 0 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.9rem;
}

.form-group input::placeholder {
    color: #888;
}

.form-group input:focus {
    outline: none;
    border-color: #ff77c6;
    box-shadow: 0 0 0 2px rgba(255, 119, 198, 0.2);
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #ff77c6, #7777c6);
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 119, 198, 0.4);
}

.register-link {
    text-align: center;
    margin-top: 20px;
    color: #cccccc;
}

.register-link a {
    color: #ff77c6;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 119, 198, 0.2);
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff77c6;
    margin-bottom: 15px;
}

.footer-left p {
    color: #cccccc;
    line-height: 1.6;
}

.footer-center h3, .footer-right h3 {
    color: #ff77c6;
    margin-bottom: 15px;
}

.footer-center ul {
    list-style: none;
}

.footer-center li {
    margin-bottom: 8px;
}

.footer-center a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-center a:hover {
    color: #ff77c6;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 119, 198, 0.1);
    border: 1px solid rgba(255, 119, 198, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff77c6;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #ff77c6;
    color: #000;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
}

.powered-by {
    color: #ff77c6;
}

/* Overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
}

.overlay.show {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-bar {
        order: 3;
        max-width: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .product-modal-content {
        grid-template-columns: 1fr;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 119, 198, 0.3);
    border-radius: 50%;
    border-top-color: #ff77c6;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

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

.product-card {
    animation: fadeIn 0.5s ease-out;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 119, 198, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 119, 198, 0.7);
}


/* Botão Secundário */
.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ff77c6;
    color: #ff77c6;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
