:root {
    --primary: #00ff88;
    --secondary: #0077ff;
    --accent: #ff3366;
    --dark: #0a0a0a;
    --light: #ffffff;
    --gold: #ffd700;
    --silver: #c0c0c0;
    --bronze: #cd7f32;
    --gradient-primary: linear-gradient(45deg, var(--primary), var(--secondary));
    --gradient-dark: linear-gradient(45deg, rgba(0,0,0,0.9), rgba(0,0,0,0.7));
    --transition-standard: all 0.3s ease;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--dark);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
}



/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 2rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(0, 119, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(0, 255, 136, 0.2) 0%, transparent 50%);
    animation: bgPulse 10s ease-in-out infinite;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 1200px;
}

.glitch-text {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    position: relative;
    animation: glitch 5s infinite;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-quote {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    opacity: 0.8;
    margin: 2rem 0;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 3vw, 3rem);
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: bold;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-size: clamp(0.9rem, 2vw, 1rem);
    opacity: 0.8;
}

/* Fun Facts Carousel továbbfejlesztett stílusok */
.facts-carousel {
    display: flex;
    gap: 2rem;
    padding: 1rem;
    margin: 0 auto;
    max-width: 1400px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* iOS görgetés simítása */
    scrollbar-width: none; /* Firefox scrollbar elrejtése */
    -ms-overflow-style: none; /* IE scrollbar elrejtése */
    scroll-snap-type: x mandatory;
}

.facts-carousel::-webkit-scrollbar {
    display: none; /* Chrome scrollbar elrejtése */
}

/* Fun Facts színek és ikonok */
.fact-card {
    background: rgba(10, 10, 10, 0);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(0px);
    border: 1px solid rgba(255, 255, 255, 0);
    transition: all 0.4s ease;
}

.fact-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.fact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gradient-primary);
    box-shadow: 0 8px 32px rgba(0, 255, 136, 0.2);
}

.fact-svg {
    width: 40px;
    height: 40px;
    fill: none;
    stroke: var(--light);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.fact-highlight {
    font-size: 2.5rem;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 1rem 0;
    text-align: center;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Vezérlő gombok újratervezése */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 0 1rem;
}

.prev-btn,
.next-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.prev-btn:hover,
.next-btn:hover {
    background: var(--primary);
    transform: scale(1.1);
}

.prev-btn svg,
.next-btn svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: var(--light);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.carousel-dots {
    display: flex;
    gap: 0.8rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

@media (min-width: 768px) {
    .fact-card {
        flex: 0 0 calc(50% - 2rem);
    }
}

@media (min-width: 1200px) {
    .fact-card {
        flex: 0 0 calc(33.333% - 2rem);
    }
}

/* Quote Section */
.quote-section {
    padding: 6rem 2rem;
    background: rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.quote-carousel {
    position: relative;
    height: clamp(200px, 40vh, 300px);
    max-width: 1000px;
    margin: 0 auto;
}

.quote-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.quote-slide.active {
    opacity: 1;
    transform: translateY(0);
}

.quote-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: clamp(2rem, 5vw, 3rem);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

blockquote {
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.4;
    margin-bottom: 1.5rem;
    position: relative;
    padding: 0 2rem;
}

blockquote::before,
blockquote::after {
    content: '"';
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.3;
    position: absolute;
}

blockquote::before {
    left: -1rem;
    top: -1rem;
}

blockquote::after {
    right: -1rem;
    bottom: -2rem;
}

cite {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--primary);
    font-style: normal;
}

.quote-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.indicator {
    width: clamp(30px, 5vw, 40px);
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition-standard);
}

.indicator.active {
    background: var(--primary);
    width: clamp(40px, 6vw, 60px);
}

/* Skills Section */
.skills-section {
    padding: 6rem 2rem;
    background: var(--gradient-dark);
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
    max-width: 1400px;
    margin: 0 auto;
}

.skill-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
    transition: var(--transition-standard);
}

.skill-visual {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.skill-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.skill-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.skill-difficulty {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.difficulty-meter {
    width: 50px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.5s ease;
}

.skill-info {
    padding: 1.5rem;
}

.skill-info h3 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: 0.5rem;
}

.skill-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
}

.stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* World Fencing Section */
.world-fencing-section {
    padding: 6rem 2rem;
    background: rgba(0, 0, 0, 0.2);
}

.world-fencing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
    max-width: 1400px;
    margin: 0 auto;
}

.country-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: clamp(1.5rem, 3vw, 2rem);
    transition: var(--transition-standard);
    backdrop-filter: blur(10px);
}

.country-visual {
    text-align: center;
    margin-bottom: 1.5rem;
}

.country-flag {
    width: clamp(60px, 10vw, 80px);
    height: clamp(60px, 10vw, 80px);
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.5s ease;
}

/* Country Flags Styles */
.italy-flag, .france-flag, .hungary-flag, .russia-flag {
    background-size: cover;
    transform: scale(1.1);
}

.country-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    margin: 1.5rem 0;
}

.country-stats .stat-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition-standard);
}

.signature-moves {
    list-style: none;
    margin-top: 1.5rem;
}

.signature-moves li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.signature-moves li::before {
    content: '→';
    color: var(--primary);
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
}

/* Benefits Section */
.benefits-section {
    padding: 6rem 2rem;
    background: var(--gradient-dark);
    position: relative;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
    max-width: 1400px;
    margin: 0 auto;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    transition: var(--transition-standard);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.benefit-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.benefit-stat {
    background: rgba(255, 255, 255, 0.08);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition-standard);
}

.benefit-list {
    list-style: none;
    margin-top: 1.5rem;
}

.benefit-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    transition: transform 0.3s ease;
}

/* Call to Action Section */
.cta-section {
    padding: 6rem 2rem;
    text-align: center;
    background: var(--gradient-dark);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-button {
    margin-top: 2rem;
    padding: 1rem 2rem;
    font-size: clamp(1rem, 2vw, 1.1rem);
    background: var(--primary);
    border: none;
    border-radius: 5px;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition-standard);
}
/* Country Flags - konkrét zászló definíciók */
.italy-flag {
    background: linear-gradient(to right,
        #009246 33.33%,
        #ffffff 33.33%,
        #ffffff 66.66%,
        #ce2b37 66.66%
    );
}

.france-flag {
    background: linear-gradient(to right,
        #002395 33.33%,
        #ffffff 33.33%,
        #ffffff 66.66%,
        #ed2939 66.66%
    );
}

.hungary-flag {
    background: linear-gradient(to bottom,
        #ce2b37 33.33%,
        #ffffff 33.33%,
        #ffffff 66.66%,
        #009246 66.66%
    );
}

.russia-flag {
    background: linear-gradient(to bottom,
        #ffffff 33.33%,
        #0039A6 33.33%,
        #0039A6 66.66%,
        #D52B1E 66.66%
    );
}
.skill-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: var(--dark);
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.skill-link:hover {
    background: var(--secondary);
    color: var(--light);
    transform: translateY(-2px);
}

.arrow-icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.skill-link:hover .arrow-icon {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bgPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

/* Media Queries */
@media (max-width: 1200px) {
    .facts-carousel {
        gap: 1.5rem;
    }
    
    .world-fencing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-stats {
        flex-direction: column;
    }
    
    .world-fencing-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .fact-card {
        min-width: calc(100vw - 4rem);
    }
    
    blockquote {
        padding: 0 1rem;
        font-size: 1.2rem;
    }
    
    .country-stats {
        grid-template-columns: 1fr;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 1rem;
    }
    
    .fact-card {
        padding: 1.5rem;
    }
    
    .benefit-stats {
        grid-template-columns: 1fr;
    }
    
    .country-flag {
        width: 60px;
        height: 60px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .cursor-glow {
        display: none;
    }
    
    .fact-card:hover,
    .benefit-card:hover,
    .country-card:hover {
        transform: none;
    }
}
/* Média lekérdezések a reszponzivitáshoz */
@media (max-width: 768px) {
    .facts-carousel {
        padding: 1rem 0;  
        gap: 0.8rem;    /* Csökkentett gap */
    }
    
    .fact-card {
        flex: 0 0 calc(100% - 3rem);  /* Módosított szélesség */
        margin: 0 0.75rem;  /* Csökkentett margin */
        padding: 1.75rem;   /* Kicsit kisebb padding */
        width: 90%;        /* Maximum szélesség kontroll */
        max-width: 350px;  /* Maximum szélesség limit */
    }

    /* Extra finomhangolás a középre igazításhoz */
    .facts-carousel {
        padding-left: calc((100vw - calc(100% - 3rem))/2);
    }
}

/* Extra kis képernyőkre */
@media (max-width: 480px) {
    .fact-card {
        flex: 0 0 calc(100% - 2.5rem);  /* Még kisebb szélesség */
        margin: 0 0.5rem;  /* Még kisebb margin */
    }
}

.fact-card h3 {
    font-weight: 600;
    text-shadow: none;
    color: var(--light);
    text-align: center;  /* Középre igazítás */
    margin-bottom: 1rem; /* Opcionális: több térköz a cím alatt */
}

.fact-card {
    text-align: center;  /* Ez az egész kártya tartalmát középre igazítja */
}

.fact-card p {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    letter-spacing: 0.2px;
    text-align: center;  /* A leírás szövegét is középre igazítja */
    margin-top: 1rem;   /* Opcionális: több térköz a szöveg felett */
}