/* Global Styles */
:root {
    --primary-color: #7c4dff;
    --secondary-color: #ff4081;
    --background-color: #0a0a0a;
    --text-color: #ffffff;
    --card-background: #1a1a1a;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 5%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 1001;
}

.logo:hover {
    opacity: 0.8;
}

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

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

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #1a1a1a 0%, var(--background-color) 100%);
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #b3b3b3;
}

.cta-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background: var(--gradient);
    border: none;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 5rem 10%;
    background-color: var(--background-color);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

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

.feature-card {
    background: var(--card-background);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Deck Builder Section */
.deck-builder {
    padding: 5rem 10%;
    background-color: var(--card-background);
}

.deck-builder h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.deck-preview {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
}

.deck-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.card-slot {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
}

.card-slot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.card-slot:hover {
    transform: translateY(-5px);
}

.card-slot:hover img {
    transform: scale(1.1);
}

/* Statistics Section */
.statistics {
    padding: 5rem 10%;
}

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

.stat-card {
    background: var(--card-background);
    padding: 2rem;
    border-radius: 15px;
    min-height: 350px;
    display: flex;
    flex-direction: column;
}

.stat-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.stat-chart {
    height: 250px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-top: 1rem;
    padding: 1rem;
    position: relative;
}

.chart-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
}

/* Strategies Section */
.strategies {
    padding: 5rem 10%;
    background-color: var(--card-background);
}

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

.strategy-card {
    background: var(--background-color);
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.strategy-card:hover {
    transform: translateY(-5px);
}

/* Footer */
footer {
    background-color: #050505;
    padding: 3rem 10% 1rem;
}

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

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

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.section-title-h2 {
    margin-bottom: 2rem;
}

.deck-stats {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
}

.deck-stats h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.stat {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.deck-chart {
    margin-top: 1.5rem;
    height: 150px;
    position: relative;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .deck-preview {
        grid-template-columns: 1fr;
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .deck-cards {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.35rem;
    }

    .card-slot {
        aspect-ratio: 1;
    }

    .card-slot img {
        padding: 0.15rem;
    }

    .deck-stats {
        padding: 0.75rem;
    }

    .deck-chart {
        height: 100px;
    }

    .stat {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .deck-preview {
        padding: 0.5rem;
    }

    .deck-cards {
        gap: 0.25rem;
    }

    .card-slot img {
        padding: 0.1rem;
    }

    .deck-stats {
        padding: 0.5rem;
    }

    .deck-chart {
        height: 80px;
    }

    .stat {
        font-size: 0.85rem;
    }

    .deck-stats h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 360px) {
    .deck-preview {
        padding: 0.35rem;
    }

    .deck-cards {
        gap: 0.2rem;
    }

    .card-slot img {
        padding: 0.08rem;
    }

    .deck-stats {
        padding: 0.35rem;
    }

    .deck-chart {
        height: 70px;
    }

    .stat {
        font-size: 0.8rem;
    }
}

.nav-container {
    display: flex;
    align-items: center;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media (max-width: 1024px) {
    .navbar {
        padding: 1rem;
    }

    .hamburger {
        display: block;
        margin-left: auto;
        z-index: 1001;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--background-color);
        transition: right 0.3s ease;
        z-index: 999;
        padding: 5rem 2rem 2rem 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }

    .nav-container.active {
        right: 0;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 2rem;
        padding-top: 2rem;
        height: 100%;
    }

    .nav-links li {
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.3s ease;
        width: 100%;
        text-align: center;
    }

    .nav-links li a {
        display: block;
        padding: 0.5rem 0;
        font-size: 1.2rem;
    }

    .nav-container.active .nav-links li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links li:nth-child(4) { transition-delay: 0.4s; }
}

@media (max-width: 480px) {
    .nav-container {
        width: 100%;
    }
    
    .navbar {
        padding: 1rem;
    }
    
    .hamburger {
        margin-left: auto;
        margin-right: 0;
    }
}

/* Notification Styles */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--card-background);
    color: var(--text-color);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient);
    border-radius: 4px 0 0 4px;
}

@media (max-width: 480px) {
    .notification {
        bottom: 10px;
        right: 10px;
        left: 10px;
        text-align: center;
    }
}
