/* ===== Base Styles ===== */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    /* Coding-inspired dark theme palette - Darker version */
    --primary-color: #0078b4; /* Darker blue */
    --primary-dark: #005d8c; /* Even darker blue */
    --secondary-color: #576574; /* Darker secondary */
    --dark-color: #13131d; /* Darker background */
    --darker-color: #0d0d14; /* Much darker background */
    --darkest-color: #07070c; /* Almost black background */
    --light-color: #c5c6c9; /* Slightly darker text */
    --light-gray: #232731; /* Darker light gray */
    --medium-gray: #272c36; /* Darker medium gray */
    --success-color: #2b9019; /* Darker green */
    --warning-color: #d6a10d; /* Darker yellow */
    --danger-color: #c22f0a; /* Darker red */
    --info-color: #0078b4; /* Darker info blue */
    --purple: #6a49e3; /* Darker purple */
    --green: #2b9019; /* Darker green */
    --yellow: #d6a10d; /* Darker yellow */
    --red: #c22f0a; /* Darker red */
    --cyan: #009b9c; /* Darker cyan */
    --blue: #205c9a; /* Darker blue */
    --glow-color: rgba(0, 120, 180, 0.6); /* Darker glow */
    --code-accent: #e0423f; /* Darker code accent */
    --terminal-green: #0a9e5a; /* Darker terminal green */
    --pokeball-red: #bb0000; /* Slightly darker pokeball red */
    --pokeball-dark-red: #880000; /* Even darker pokeball red */
    --blurple: #4752c4; /* Darker Discord blurple */
    --fuchsia: #cd2a83; /* Darker fuchsia */

    /* Typography */
    --font-family: 'Poppins', sans-serif;
    --code-font: 'Fira Code', monospace;
    --h1-size: 2.5rem;
    --h2-size: 2rem;
    --h3-size: 1.5rem;
    --body-size: 1rem;
    --small-size: 0.875rem;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    /* Border radius */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-full: 9999px;

    /* Animation Durations */
    --transition-fast: 0.3s;
    --transition-medium: 0.5s;
    --transition-slow: 0.8s;
    --transition-very-slow: 1.2s;
    
    /* Special Effects */
    --glass-bg: rgba(13, 13, 20, 0.85);
    --glass-border: rgba(255, 255, 255, 0.03);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --neon-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color), 0 0 30px var(--primary-color);
    --neon-text-shadow: 0 0 5px var(--primary-color), 0 0 10px var(--primary-color);
}

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

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--light-color);
    background-color: var(--darkest-color);
    overflow-x: hidden;
    scroll-behavior: smooth;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%230078b4' fill-opacity='0.05'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: var(--h1-size);
}

h2 {
    font-size: var(--h2-size);
}

h3 {
    font-size: var(--h3-size);
}

p {
    margin-bottom: var(--spacing-md);
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: var(--spacing-xl) var(--spacing-lg);
    position: relative;
}

section h2 {
    position: relative;
    display: inline-block;
    margin-bottom: var(--spacing-xl);
}

section h2::before {
    content: '<';
    font-family: var(--code-font);
    color: var(--primary-color);
    opacity: 0.5;
    margin-right: 0.5rem;
    font-weight: normal;
}

section h2::after {
    content: '/>';
    font-family: var(--code-font);
    color: var(--primary-color);
    opacity: 0.5;
    margin-left: 0.5rem;
    font-weight: normal;
}

.features::before,
.testimonials::before,
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%230078b4' fill-opacity='0.03'%3E%3Cpath opacity='.5' d='M96 95h4v1h-4v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4h-9v4h-1v-4H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15v-9H0v-1h15V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h9V0h1v15h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9h4v1h-4v9zm-1 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: -1;
}

/* ===== Navigation Bar ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
    background-color: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--light-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo img {
    height: 40px;
    margin-right: var(--spacing-sm);
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.nav-links a {
    color: var(--light-color);
    margin-left: var(--spacing-lg);
    padding: var(--spacing-sm);
    border-radius: var(--border-radius-md);
    transition: background-color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ===== Hero Section ===== */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--darker-color) 100%);
    background-image: url("https://images.pexels.com/photos/1714208/pexels-photo-1714208.jpeg");
    background-attachment: fixed;
    background-size: cover;
    background-position: center right;
    color: var(--light-color);
    padding: var(--spacing-xl) var(--spacing-lg);
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(7, 7, 12, 0.85) 0%, rgba(13, 13, 20, 0.9) 100%);
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://i.imgur.com/SLz6sOQ.png') center/cover no-repeat;
    z-index: 0;
    opacity: 0.2;
    animation: pulse 8s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% {
        opacity: 0.1;
        transform: scale(1);
    }
    100% {
        opacity: 0.3;
        transform: scale(1.05);
    }
}

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

.hero-content {
    flex: 1;
    padding-right: var(--spacing-lg);
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    display: inline-block;
    position: relative;
}

.hero-content h2::after {
    content: '|';
    position: absolute;
    right: -15px;
    top: 0;
    color: var(--primary-color);
    animation: blink 1s step-end infinite;
}

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

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
    font-family: var(--code-font);
    position: relative;
    padding-left: 20px;
    border-left: 2px solid var(--primary-color);
}

.hero-content p::before {
    content: '>';
    position: absolute;
    left: 5px;
    color: var(--terminal-green);
    font-family: var(--code-font);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    max-height: 400px;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(204, 0, 0, 0.5));
}

.glow-effect {
    position: relative;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 30px 15px rgba(204, 0, 0, 0.3), 
                0 0 60px 30px rgba(204, 0, 0, 0.2);
    animation: pulse-glow 4s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes pulse-glow {
    0% {
        opacity: 0.5;
        transform: scale(0.95);
    }
    100% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.rotate-logo {
    animation: rotate 20s linear infinite;
}

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

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius-md);
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    margin-right: var(--spacing-md);
    cursor: pointer;
    border: none;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--light-color);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-medium) ease;
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.primary-btn:hover {
    background-color: var(--primary-dark);
    color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.4);
}

.primary-btn:hover::before {
    left: 100%;
}

.primary-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 168, 255, 0.3);
}

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

.secondary-btn:hover {
    background-color: var(--light-color);
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
}

/* ===== Features Section ===== */
.features {
    background-color: var(--light-gray);
    text-align: center;
}

.features h2 {
    margin-bottom: var(--spacing-xl);
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    background-color: var(--medium-gray);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-medium) ease;
    border-left: 3px solid transparent;
    color: var(--light-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-left: 3px solid var(--primary-color);
}

.feature-card:nth-child(1):hover {
    border-left-color: var(--red);
    box-shadow: 0 15px 30px rgba(232, 65, 24, 0.2);
}

.feature-card:nth-child(2):hover {
    border-left-color: var(--green);
    box-shadow: 0 15px 30px rgba(76, 209, 55, 0.2);
}

.feature-card:nth-child(3):hover {
    border-left-color: var(--blue);
    box-shadow: 0 15px 30px rgba(0, 168, 255, 0.2);
}

.feature-card:nth-child(4):hover {
    border-left-color: var(--purple);
    box-shadow: 0 15px 30px rgba(156, 136, 255, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--light-color);
}

.moderation-icon {
    background-color: var(--red);
    position: relative;
}

.moderation-icon::before {
    content: "🛡️";
    font-size: 2rem;
}

.economy-icon {
    background-color: var(--green);
    position: relative;
}

.economy-icon::before {
    content: "💰";
    font-size: 2rem;
}

.custom-icon {
    background-color: var(--blurple);
    position: relative;
}

.custom-icon::before {
    content: "⚙️";
    font-size: 2rem;
}

.poketwo-icon {
    background-color: var(--fuchsia);
    position: relative;
}

.poketwo-icon::before {
    content: "🎮";
    font-size: 2rem;
}

.feature-card h3 {
    margin-bottom: var(--spacing-sm);
}

/* ===== Testimonials Section ===== */
.testimonials {
    background-color: var(--dark-color);
    color: var(--light-color);
    text-align: center;
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
    position: relative;
}

.testimonial-card::before {
    content: """";
    font-size: 4rem;
    position: absolute;
    top: -20px;
    left: 20px;
    color: var(--primary-color);
    opacity: 0.2;
}

.testimonial-author {
    margin-top: var(--spacing-md);
    font-weight: 600;
    font-style: italic;
    color: var(--secondary-color);
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--light-color);
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

/* ===== Footer ===== */
footer {
    background-color: var(--darker-color);
    color: var(--light-color);
    padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-md);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo img {
    height: 30px;
    margin-right: var(--spacing-sm);
}

.footer-logo h2 {
    font-size: 1.2rem;
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-links a {
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--light-color);
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-full);
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
}

.discord-icon {
    position: relative;
}

.discord-icon::before {
    content: "📱";
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: var(--small-size);
    color: var(--secondary-color);
}

/* ===== Shop Page ===== */
.shop-hero {
    background: linear-gradient(135deg, var(--darker-color) 0%, var(--dark-color) 100%);
    color: var(--light-color);
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-lg);
}

.shop-hero h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.shop-hero p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
}

.shop-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    margin: 0 auto;
    max-width: 600px;
}

.notice-icon {
    margin-right: var(--spacing-md);
    font-size: 1.5rem;
    position: relative;
}

.notice-icon::before {
    content: "⚠️";
}

.shop-items {
    display: grid;
    gap: var(--spacing-xl);
    padding: var(--spacing-xl) var(--spacing-lg);
}

.shop-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-lg);
    background-color: var(--medium-gray);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-medium) ease;
    border-left: 3px solid transparent;
    color: var(--light-color);
}

.shop-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 168, 255, 0.15);
    border-left: 3px solid var(--primary-color);
}

.shop-item:nth-child(1):hover {
    border-left-color: var(--red);
}

.shop-item:nth-child(2):hover {
    border-left-color: var(--purple);
}

.shop-item:nth-child(3):hover {
    border-left-color: var(--green);
}

.shop-item:nth-child(4):hover {
    border-left-color: var(--yellow);
}

.shop-item:nth-child(5):hover {
    border-left-color: var(--cyan);
}

.item-image {
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
}

.item-image img {
    max-width: 100%;
    max-height: 200px;
}

.item-details {
    padding: var(--spacing-lg);
}

.item-pricing {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.price {
    font-size: 1.1rem;
    color: var(--primary-color);
}

.divider {
    margin: 0 var(--spacing-sm);
    color: var(--secondary-color);
}

.item-description {
    margin-bottom: var(--spacing-lg);
    color: var(--light-color);
    opacity: 0.9;
}

.buy-btn {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-md);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(88, 101, 242, 0.2);
}

.purchase-info {
    background-color: var(--light-gray);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-xl);
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
    text-align: center;
}

.purchase-info h3 {
    margin-bottom: var(--spacing-lg);
}

.purchase-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

/* ===== Modal ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--dark-color);
    color: var(--light-color);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-xl);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 168, 255, 0.2);
    animation: modalOpen 0.5s ease;
}

.modal-content::before {
    content: 'Purchase > ';
    position: absolute;
    top: 16px;
    left: 20px;
    font-family: var(--code-font);
    color: var(--terminal-green);
    font-size: 0.9rem;
}

.modal-content h3 {
    margin-top: var(--spacing-md);
    font-family: var(--code-font);
    color: var(--primary-color);
}

.modal-content p {
    font-family: var(--font-family);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

@keyframes modalOpen {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
    transition: all var(--transition-fast) ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-full);
}

.close-modal:hover {
    color: var(--light-color);
    background-color: var(--danger-color);
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-lg);
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: var(--spacing-xl);
    }

    .cta-buttons {
        justify-content: center;
    }

    .shop-item {
        grid-template-columns: 1fr;
    }

    .item-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    :root {
        --h1-size: 2rem;
        --h2-size: 1.75rem;
        --h3-size: 1.3rem;
    }

    .navbar {
        flex-direction: column;
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .logo {
        margin-bottom: var(--spacing-sm);
    }

    .nav-links a {
        margin-left: var(--spacing-md);
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: var(--spacing-lg);
    }

    .purchase-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    section {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        margin-right: 0;
        margin-bottom: var(--spacing-md);
        width: 100%;
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }

    .testimonial-cards {
        grid-template-columns: 1fr;
    }
}
