/* ========================================
   POMOCNY MIŚ - LANDING PAGE
   Nowoczesny design z ciepłą paletą kolorów
   ======================================== */

/* ===== ZMIENNE CSS (KOLORY) ===== */
:root {
    /* Kolory */
    --color-bg-dark: #1a1410;          /* Ciemne tło */
    --color-bg-light: #2a2218;         /* Jasniejsze tło sekcji */
    --color-primary: #d4a574;          /* Ciepły brąz (główny) */
    --color-secondary: #8b6f47;        /* Ciemniejszy brąz */
    --color-accent: #d4af37;           /* Miodowe złoto */
    --color-accent-orange: #f4a460;    /* Jasny pomarańcz */
    --color-text: #e8dcc8;             /* Jasny tekst */
    --color-text-dark: #3d2817;        /* Ciemny tekst */
    --color-success: #4caf50;          /* Zielony (do cen promocyjnych) */
    --color-white: #ffffff;            /* Biały */
    
    /* Zaokrąglenie */
    --border-radius: 16px;
    
    /* Cienie */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
    
    /* Przejścia */
    --transition: all 0.3s ease-in-out;
}

/* ===== RESET CSS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--color-bg-dark);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== KONTENER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-bg-light) 100%);
    padding: 20px 0;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: bold;
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    color: var(--color-accent-orange);
    transform: scale(1.05);
}

.logo i {
    font-size: 32px;
}

/* ===== HEADER BUTTONS ===== */
.header-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-discord {
    background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
    color: var(--color-white);
    border: none;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
}

.btn-discord:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, #4752c4 0%, #3c46aa 100%);
}

.btn-discord:active {
    transform: translateY(0);
}

.btn-nav {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-orange) 100%);
    color: var(--color-text-dark);
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-nav:active {
    transform: translateY(0);
}

/* ========================================
   SEKCJA HERO
   ======================================== */
.hero {
    background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-bg-dark) 100%);
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--color-primary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* ===== PRZYCISKI ===== */
.btn {
    border: none;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-orange) 100%);
    color: var(--color-text-dark);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-text);
    border: 2px solid var(--color-primary);
    position: relative;
    overflow: hidden;
}

.btn-secondary::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: left 0.5s;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary) 100%);
    border-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3),
                0 0 15px rgba(212, 175, 55, 0.2);
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-gold {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-orange) 100%);
    color: var(--color-text-dark);
    font-weight: 700;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-gold::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius);
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
}

.btn-gold:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4),
                0 0 25px rgba(244, 164, 96, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-gold:hover::after {
    opacity: 1;
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-text {
    background: none;
    border: none;
    color: var(--color-primary);
    cursor: pointer;
    font-size: 14px;
    text-decoration: underline;
    transition: var(--transition);
    padding: 8px 16px;
    font-weight: 500;
}

.btn-text:hover {
    color: var(--color-accent-orange);
}

/* ========================================
   SEKCJA SKLEPU
   ======================================== */
.shop {
    padding: 100px 0;
    background-color: var(--color-bg-dark);
}

.shop-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--color-accent);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

/* ===== KARTY PRODUKTÓW ===== */
.product-card {
    background: linear-gradient(135deg, var(--color-bg-light) 0%, rgba(42, 34, 24, 0.8) 100%);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.15),
                0 0 20px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
    position: relative;
    border: 2px solid rgba(212, 175, 55, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Efekt świecenia w tle */
.product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    transition: var(--transition);
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.25),
                0 0 40px rgba(212, 175, 55, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, var(--color-bg-light) 100%);
}

.product-card:hover::before {
    top: 0;
    right: 0;
}

.product-card-featured {
    border: 2px solid var(--color-accent);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, var(--color-bg-light) 100%);
    transform: scale(1);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.25),
                0 0 30px rgba(212, 175, 55, 0.1);
}

.product-card-featured:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 70px rgba(212, 175, 55, 0.35),
                0 0 50px rgba(212, 175, 55, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Badge "Najlepszy wybór" */
.badge-featured {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-orange) 100%);
    color: var(--color-text-dark);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4),
                0 0 15px rgba(244, 164, 96, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

/* Header produktu */
.product-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.product-header i {
    font-size: 36px;
    color: var(--color-accent);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.5),
                 0 0 25px rgba(244, 164, 96, 0.3);
    transition: var(--transition);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}

.product-card:hover .product-header i {
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.8),
                 0 0 35px rgba(244, 164, 96, 0.5);
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.6));
    transform: scale(1.1) rotate(5deg);
}

.product-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.product-card:hover .product-header h3 {
    color: var(--color-accent);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

/* Cena */
.product-price {
    font-size: 42px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.2));
    position: relative;
    z-index: 1;
}

.product-price span {
    font-size: 14px;
    color: var(--color-text);
    font-weight: 500;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
}

/* Lista funkcji */
.product-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.product-features li {
    padding: 12px 0;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    padding-left: 10px;
}

.product-features li:hover {
    color: var(--color-accent);
    border-bottom-color: rgba(212, 175, 55, 0.4);
    padding-left: 15px;
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features i {
    color: var(--color-accent-orange);
    font-size: 16px;
    text-shadow: 0 0 8px rgba(244, 164, 96, 0.4);
    transition: var(--transition);
    flex-shrink: 0;
}

.product-features li:hover i {
    color: var(--color-accent);
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
    transform: scale(1.2);
}

.product-card .btn {
    width: 100%;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* ========================================
   MODAL POP-UP
   ======================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-bg-dark) 100%);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    width: 90%;
    padding: 40px;
    position: relative;
    border: 2px solid var(--color-accent);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Przycisk zamknięcia */
.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(212, 175, 55, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-accent);
    font-size: 20px;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--color-accent);
    color: var(--color-text-dark);
}

/* Zawartość modala */
.modal-header {
    margin-bottom: 25px;
}

.modal-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1.3;
}

.modal-body {
    margin-bottom: 30px;
}

.modal-description {
    color: var(--color-text);
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
}

.modal-description strong {
    color: var(--color-accent-orange);
}

/* Porównanie cen */
.price-comparison {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    border-left: 4px solid var(--color-accent);
}

.price-old {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.price-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(76, 175, 80, 0.1);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--color-success);
}

.price-label {
    color: var(--color-text);
    font-size: 14px;
    font-weight: 500;
}

.price-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-accent);
}

.price-value.strikethrough {
    text-decoration: line-through;
    color: var(--color-secondary);
}

.price-new .price-value {
    color: var(--color-success);
}

/* Oferta */
.modal-offer {
    text-align: center;
    color: var(--color-success);
    font-weight: 600;
    font-size: 16px;
    background: rgba(76, 175, 80, 0.1);
    padding: 12px;
    border-radius: 8px;
    margin: 15px 0;
}

/* Przyciski w modalu */
.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-buttons .btn {
    width: 100%;
    justify-content: center;
}

.modal-buttons .btn-text {
    width: 100%;
    padding: 12px;
    margin: 0;
}

/* ========================================
   SEKCJA MINECRAFT
   ======================================== */
.minecraft-shop {
    background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-bg-light) 100%);
}

.minecraft-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.minecraft-title i {
    font-size: 50px;
    color: #90ee90;
    text-shadow: 0 0 20px rgba(144, 238, 144, 0.5);
}

/* ========================================
   SEKCJA PAKIET KLUCZY
   ======================================== */
.keys-shop {
    background: linear-gradient(135deg, var(--color-bg-dark) 0%, rgba(212, 175, 55, 0.05) 100%);
}

.keys-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.keys-title i {
    font-size: 50px;
    color: #d4af37;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--color-bg-light);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--color-text);
}

.footer p {
    font-size: 14px;
}

/* ========================================
   RESPONSIVE DESIGN (Mobile)
   ======================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .header-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .btn-discord,
    .btn-nav {
        padding: 10px 14px;
        font-size: 12px;
        width: 100%;
        justify-content: center;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-card-featured {
        transform: scale(1);
    }

    .product-card-featured:hover {
        transform: translateY(-8px) scale(1);
    }

    .modal {
        width: 95%;
        padding: 30px 20px;
    }

    .modal-header h2 {
        font-size: 22px;
    }

    .shop-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .hero {
        padding: 60px 0;
    }

    .shop {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .logo {
        font-size: 20px;
    }

    .logo i {
        font-size: 24px;
    }

    .hero-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .btn-primary {
        font-size: 14px;
        padding: 12px 20px;
    }

    .product-price {
        font-size: 28px;
    }

    .product-header h3 {
        font-size: 20px;
    }

    .product-features li {
        font-size: 13px;
        padding: 8px 0;
    }

    .modal-header h2 {
        font-size: 20px;
    }

    .price-comparison {
        padding: 15px;
    }

    .modal {
        padding: 20px;
    }

    .modal-close {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}
