/*
Theme Name: EPICCARD
Description: Profesjonalny motyw WordPress dla marki EPICCARD - polska marka akcesoriów TCG (Trading Card Games). Kompletna strona landing page z Advanced Custom Fields.
Author: EPICCARD Team
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, responsive-design, gaming, ecommerce, landing-page
Text Domain: epiccard
*/

/* ==========================================================================
   BASE STYLES
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */

@keyframes float {
    0% { 
        transform: translateY(0px) rotate(0deg); 
    }
    100% { 
        transform: translateY(-100px) rotate(360deg); 
    }
}

@keyframes glow {
    from { 
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5)); 
    }
    to { 
        filter: drop-shadow(0 0 30px rgba(255, 140, 0, 0.8)); 
    }
}

@keyframes spin {
    0% { 
        transform: rotate(0deg); 
    }
    100% { 
        transform: rotate(360deg); 
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.05); 
    }
    100% { 
        transform: scale(1); 
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==========================================================================
   ANIMATION CLASSES
   ========================================================================== */

.animated-title {
    animation: glow 2s ease-in-out infinite alternate;
}

.floating-particles {
    position: relative;
    overflow: hidden;
}

.floating-particles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23ffd700" opacity="0.1"/><circle cx="20" cy="20" r="1" fill="%23ff8c00" opacity="0.2"/><circle cx="80" cy="30" r="1.5" fill="%23ffd700" opacity="0.15"/><circle cx="30" cy="80" r="1" fill="%23ff6b35" opacity="0.1"/><circle cx="70" cy="70" r="2" fill="%23ffd700" opacity="0.1"/></svg>') repeat;
    animation: float 20s infinite linear;
    pointer-events: none;
    z-index: 1;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.hover-scale {
    transition: all 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.03) rotateY(5deg);
}

.hover-glow {
    transition: all 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 20px 40px rgba(255, 140, 0, 0.3) !important;
}

.pulse-on-hover:hover {
    animation: pulse 0.6s ease-in-out;
}

/* ==========================================================================
   SCROLLBAR STYLING
   ========================================================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #ff8c00, #ffd700);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #ffd700, #ff8c00);
}

/* ==========================================================================
   HEADER STYLES
   ========================================================================== */

header {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid rgba(255, 165, 0, 0.3);
    transition: all 0.3s ease;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(45deg, #ffd700, #ffaa00, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
    transition: all 0.3s ease;
}

#nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

#nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

#mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffd700;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

#mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 140, 0, 0.3);
}

#mobile-menu ul {
    list-style: none;
    padding: 1rem 0;
    margin: 0;
}

#mobile-menu li {
    text-align: center;
    border-bottom: 1px solid rgba(255, 140, 0, 0.1);
}

#mobile-menu a {
    display: block;
    padding: 1rem;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

#mobile-menu a:hover {
    background: rgba(255, 140, 0, 0.1);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

#home {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), 
                radial-gradient(circle at center, #ff8c00 0%, #ff6b35 30%, rgba(255, 107, 53, 0) 70%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#home h1 {
    font-size: 4rem;
    font-weight: bold;
    background: linear-gradient(45deg, #ffd700, #ffaa00, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

#home .hero-content {
    z-index: 2;
    position: relative;
}

#home p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #f0f0f0;
    font-weight: 300;
}

#home p:last-of-type {
    font-size: 1.2rem;
}

/* ==========================================================================
   BUTTONS & CTA STYLES
   ========================================================================== */

.btn-primary {
    background: linear-gradient(45deg, #ff8c00, #ffd700);
    color: #000;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary {
    background: linear-gradient(45deg, #ff8c00, #ffd700);
    color: #000;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    text-align: center;
}

/* ==========================================================================
   SECTION STYLES
   ========================================================================== */

section {
    padding: 5rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    background: linear-gradient(45deg, #ffd700, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3rem;
    font-weight: bold;
}

#about {
    background: rgba(0, 0, 0, 0.2);
}

#products {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
}

#b2b {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 140, 0, 0.1) 100%);
}

#where-to-buy {
    background: rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   GRID LAYOUTS
   ========================================================================== */

.grid-auto-fit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.grid-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.grid-stores {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    justify-items: center;
}

.grid-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.grid-footer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* ==========================================================================
   CARD STYLES
   ========================================================================== */

.card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 140, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-align: center;
}

.card-feature {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 140, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-align: center;
}

.card-product {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(255, 140, 0, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.card-store {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(255, 140, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-align: center;
    max-width: 400px;
}

.card-b2b {
    background: rgba(0, 0, 0, 0.4);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 140, 0, 0.3);
    backdrop-filter: blur(10px);
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.product-image {
    height: 200px;
    background: linear-gradient(45deg, #ff8c00, #ffd700);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-emoji {
    font-size: 4rem;
    color: #000;
    font-weight: bold;
}

.product-content {
    padding: 1.5rem;
}

.product-title {
    color: #ffd700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.product-description {
    color: #e0e0e0;
    margin-bottom: 1rem;
    min-height: 80px;
    line-height: 1.5;
}

.product-price {
    font-size: 1.5rem;
    color: #ff8c00;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* ==========================================================================
   SPECIAL STYLES
   ========================================================================== */

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.feature-title {
    color: #ffd700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.store-type {
    background: linear-gradient(45deg, #ff8c00, #ffd700);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 1rem;
    display: inline-block;
}

.contact-section {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    border: 1px solid rgba(255, 140, 0, 0.3);
}

/* ==========================================================================
   FOOTER STYLES
   ========================================================================== */

footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 3rem 0 1rem;
    border-top: 2px solid rgba(255, 140, 0, 0.3);
}

footer h3 {
    color: #ffd700;
    margin-bottom: 1rem;
}

footer a {
    color: #e0e0e0;
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
    transition: all 0.3s ease;
}

footer a:hover {
    color: #ffd700;
    transform: translateX(5px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 140, 0, 0.3);
    color: #b0b0b0;
}

/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */

@media (max-width: 768px) {
    #nav-links {
        display: none !important;
    }
    
    #mobile-menu-toggle {
        display: block !important;
    }
    
    #home h1 {
        font-size: 2.5rem;
    }
    
    #home p {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .grid-auto-fit,
    .grid-products,
    .grid-stores,
    .grid-benefits,
    .grid-footer {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .card,
    .card-feature,
    .card-product,
    .card-store,
    .card-b2b {
        padding: 1.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    #home h1 {
        font-size: 2rem;
    }
    
    #home p {
        font-size: 1rem;
    }
    
    .btn-primary {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .card,
    .card-feature,
    .card-product,
    .card-store,
    .card-b2b {
        padding: 1rem;
    }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.color-gold {
    color: #ffd700;
}

.color-orange {
    color: #ff8c00;
}

.color-light {
    color: #e0e0e0;
}

.fw-bold {
    font-weight: bold;
}

.fs-large {
    font-size: 1.2rem;
}

.fs-small {
    font-size: 0.9rem;
}