@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@700;800;900&display=swap');

:root {
    --primary: #ff1e1e;
    --secondary: #1e90ff;
    --primary-gradient: linear-gradient(135deg, #ff1e1e 0%, #ff5e5e 100%);
    --secondary-gradient: linear-gradient(135deg, #1e90ff 0%, #00d2ff 100%);
    --bg-dark: #0f1115;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.1);
    --text-white: #ffffff;
    --text-gray: #b0b3b8;
    --accent-blue: #00d2ff;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(255, 30, 30, 0.05) 0%, transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1400px; /* Wider container for premium feel */
    margin: 0 auto;
    padding: 0 40px;
}

/* Navbar */
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 12px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: white;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 30, 30, 0.15) 0%, rgba(30, 144, 255, 0.1) 50%, transparent 70%);
    z-index: 0;
    filter: blur(80px);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 20px;
    align-items: center;
    z-index: 1;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 5.5rem); /* Responsive font size */
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 24px;
    background: linear-gradient(to bottom, #fff 50%, #888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content h1 span {
    display: block;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-image {
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
}

.render-img {
    width: 170%; /* Even larger and closer */
    max-width: 1000px;
    transform: translateX(10%);
    filter: drop-shadow(0 0 100px rgba(255, 75, 145, 0.2));
    animation: floating 6s ease-in-out infinite;
    pointer-events: none; /* Let clicks pass through to text if needed */
}

@keyframes floating {
    0%, 100% { transform: translateY(0) translateX(10%); }
    50% { transform: translateY(-30px) translateX(12%); }
}

/* Buttons */
.btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 10px 20px rgba(255, 75, 145, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 75, 145, 0.5);
}

.btn-outline {
    border: 1px solid var(--border);
    color: white;
    background: rgba(255,255,255,0.05);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

/* Product Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(255, 30, 30, 0.15);
}

.card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.03), transparent);
    transform: rotate(45deg);
    transition: 0.8s;
}

.card:hover::after {
    left: 100%;
}

/* Cart Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 400px;
    height: 100%;
    background: #111418;
    border-left: 1px solid var(--border);
    z-index: 2500;
    transition: var(--transition);
    padding: 40px;
    display: flex;
    flex-direction: column;
    box-shadow: -20px 0 50px rgba(0,0,0,0.5);
}

.cart-drawer.active {
    right: 0;
}

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

.cart-items {
    flex: 1;
    overflow-y: auto;
}

.cart-item {
    background: rgba(255,255,255,0.03);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border);
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    z-index: 2400;
    display: none;
}


.card img {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 30px;
}

.pulse {
    animation: pulse-simple 0.5s ease-out;
}

@keyframes pulse-simple {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

.profile-stat {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
}

.profile-stat:hover {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.04);
}


/* Custom Notifications (Embed style) */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification {
    background: rgba(15, 17, 21, 0.95);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    padding: 16px 24px;
    border-radius: 12px;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 300px;
    backdrop-filter: blur(10px);
    animation: slideIn 0.4s ease-out forwards;
}

.notification.success { border-left-color: #00ff88; }
.notification.error { border-left-color: var(--primary); }
.notification.info { border-left-color: var(--secondary); }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.9); }
}

/* Free Fire Angles */
.ff-border {
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
}


/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-content {
    background: #111418;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    width: 90%;
    max-width: 420px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    padding: 14px 18px;
    border-radius: 12px;
    color: white;
    margin-bottom: 15px;
    font-family: inherit;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.form-input::placeholder {
    color: #555;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* Footer */
footer {
    background: #0a0c10;
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
    margin-top: 100px;
}

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

.footer-col h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 1200px) {
    .container { padding: 0 20px; }
    .hero-content h1 { font-size: 4rem; }
}

@media (max-width: 1100px) {
    .hero-grid { 
        grid-template-columns: 1fr; 
        text-align: center; 
        gap: 0;
    }
    .hero-content { 
        display: flex; 
        flex-direction: column; 
        align-items: center; 
        padding-top: 50px;
    }
    .hero-image { 
        justify-content: center; 
        margin-top: -50px; 
        order: -1;
    }
    .render-img { 
        width: 100%; 
        max-width: 500px;
        transform: none; 
    }
    @keyframes floating {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-20px); }
    }
}

@media (max-width: 768px) {
    nav { 
        width: 95%; 
        padding: 10px 20px;
    }
    .nav-links { display: none; }
    .hero-content h1 { font-size: 3rem; }
    .grid { grid-template-columns: 1fr; }
}
