/* ===== ÁLTALÁNOS BEÁLLÍTÁSOK ===== */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --gold-color: #f39c12;
    --green-color: #27ae60;
    --purple-color: #9b59b6;
    --light-bg: #ecf0f1;
    --dark-text: #2c3e50;
    --light-text: #7f8c8d;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-indian: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== NAVIGÁCIÓ ===== */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
    background-color: rgba(52, 152, 219, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-text);
    border-radius: 3px;
    transition: 0.3s;
}

/* ===== FŐOLDAL HERO SZEKCIÓ ===== */
.hero {
    position: relative;
    background: var(--gradient-1);
    color: var(--white);
    padding: 8rem 2rem 6rem;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    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 1200 600"><circle cx="100" cy="100" r="3" fill="rgba(255,255,255,0.3)"/><circle cx="300" cy="150" r="2" fill="rgba(255,255,255,0.3)"/><circle cx="500" cy="80" r="2.5" fill="rgba(255,255,255,0.3)"/><circle cx="700" cy="200" r="2" fill="rgba(255,255,255,0.3)"/><circle cx="900" cy="120" r="3" fill="rgba(255,255,255,0.3)"/><circle cx="1100" cy="180" r="2" fill="rgba(255,255,255,0.3)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s, text-glow 3s ease-in-out infinite 1s;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    animation: fadeInUp 1s 0.3s both;
}

/* Atom Animáció */
.hero-animation {
    margin-top: 3rem;
    position: relative;
}

.atom-model {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    animation: float 4s ease-in-out infinite;
}

.nucleus {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, #ffd700, #ff6b6b);
    border-radius: 50%;
    animation: pulse 2s infinite, glow 3s infinite;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: glow 4s ease-in-out infinite;
}

.orbit-1 {
    width: 100px;
    height: 100px;
    animation: rotate 4s linear infinite, glow 4s ease-in-out infinite;
}

.orbit-2 {
    width: 150px;
    height: 150px;
    animation: rotate 6s linear infinite reverse, glow 4s ease-in-out infinite 0.5s;
}

.orbit-3 {
    width: 200px;
    height: 200px;
    animation: rotate 8s linear infinite, glow 4s ease-in-out infinite 1s;
}

.electron {
    position: absolute;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, #fff, #3498db);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.9), 0 0 25px rgba(52, 152, 219, 0.6);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: pulse 1s infinite alternate;
}

/* ===== OLDALFEJLÉCEK ===== */
.page-header {
    background: var(--gradient-1);
    color: var(--white);
    padding: 4rem 2rem 3rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.9;
}

.aristotle-header {
    background: var(--gradient-2);
}

.indian-header {
    background: var(--gradient-indian);
}

.summary-header {
    background: var(--gradient-3);
}

/* ===== BEVEZETŐ SZEKCIÓK ===== */
.intro-section {
    padding: 4rem 2rem;
}

.intro-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Kérdés Doboz */
.question-box {
    background: var(--gradient-1);
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin: 3rem 0;
    box-shadow: var(--shadow);
}

.question-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.question-box h3 {
    font-size: 1.5rem;
    line-height: 1.6;
}

/* Info Kártyák */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.info-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.info-card:hover::after {
    width: 400px;
    height: 400px;
}

.info-card:hover {
    transform: translateY(-15px) rotate(-2deg);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
    transition: transform 0.3s;
}

.info-card:hover .card-icon {
    transform: scale(1.2) rotate(360deg);
    animation: none;
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* ===== UTAZÁS KÁRTYÁK ===== */
.journey-section {
    padding: 4rem 2rem;
    background: var(--white);
}

.journey-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.journey-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.journey-card {
    display: block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: 200% 200%;
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.journey-card::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;
}

.journey-card:hover::before {
    left: 100%;
}

.journey-card:nth-child(2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    background-size: 200% 200%;
}

.journey-card:nth-child(3) {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    background-size: 200% 200%;
}

.journey-card:nth-child(4) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    background-size: 200% 200%;
}

.journey-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-hover);
    animation: gradient-shift 2s ease infinite;
}

.journey-card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.journey-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.journey-card .arrow {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-size: 2rem;
    transition: transform 0.3s;
}

.journey-card:hover .arrow {
    transform: translateX(10px);
}

/* ===== IDŐVONALAS ===== */
.timeline-section {
    padding: 4rem 2rem;
}

.timeline-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-1);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    cursor: pointer;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: calc(50% + 2rem);
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: calc(50% + 2rem);
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border: 4px solid var(--white);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.2);
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

.timeline-marker::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--secondary-color);
    transform: translate(-50%, -50%);
    animation: ripple 2s infinite;
}

.timeline-item:hover .timeline-marker {
    transform: translateX(-50%) scale(1.5);
    background: var(--accent-color);
    animation: bounce 0.6s;
}

.timeline-item:hover .timeline-marker::after {
    background: var(--accent-color);
}

.timeline-content {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.timeline-item:hover .timeline-content {
    transform: scale(1.05);
}

.timeline-content h3 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* ===== FILOZÓFUS KÁRTYÁK ===== */
.philosopher-section {
    padding: 2rem;
}

.philosopher-card {
    background: var(--white);
    border-radius: 15px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow);
}

.philosopher-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid var(--light-bg);
}

.philosopher-image {
    flex-shrink: 0;
}

.placeholder-image {
    width: 120px;
    height: 120px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    box-shadow: var(--shadow);
}

.philosopher-info h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.subtitle {
    color: var(--light-text);
    font-size: 1.2rem;
}

.date {
    color: var(--secondary-color);
    font-weight: bold;
    margin-top: 0.5rem;
}

.philosopher-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

.key-teaching {
    background: var(--light-bg);
    padding: 1.5rem;
    border-left: 4px solid var(--secondary-color);
    border-radius: 5px;
    font-size: 1.1rem;
    margin: 1.5rem 0;
}

/* Tooltip */
.tooltip {
    color: var(--secondary-color);
    font-weight: bold;
    cursor: help;
    text-decoration: underline dotted;
    position: relative;
}

/* Tulajdonság Kártyák */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.property-card {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.property-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s;
}

.property-card:hover::before {
    left: 100%;
}

.property-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, var(--light-bg) 0%, rgba(102, 126, 234, 0.05) 100%);
}

.property-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.property-card h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Idézet Doboz */
.quote-box {
    background: var(--gradient-1);
    background-size: 200% 200%;
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    margin: 3rem 0;
    position: relative;
    box-shadow: var(--shadow);
    animation: gradient-shift 8s ease infinite;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s;
}

.quote-box:hover {
    transform: scale(1.02);
}

.quote-mark {
    font-size: 5rem;
    position: absolute;
    top: -20px;
    left: 20px;
    opacity: 0.3;
    animation: wave 3s ease-in-out infinite;
}

blockquote {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.quote-author {
    text-align: right;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Innováció Szekció */
.innovation-section {
    margin-top: 2rem;
}

.innovation-item {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 10px;
}

.innovation-item.highlight {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 2px solid var(--secondary-color);
}

.innovation-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.innovation-item h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.clinamen-explanation {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
}

.clinamen-explanation h5 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.clinamen-explanation ul {
    margin-left: 1.5rem;
}

.clinamen-explanation li {
    margin: 0.5rem 0;
}

/* ===== INTERAKTÍV SZEKCIÓ ===== */
.interactive-section {
    padding: 4rem 2rem;
    background: var(--white);
}

.interactive-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.atom-visualization {
    max-width: 600px;
    margin: 0 auto;
}

.vis-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.vis-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--secondary-color);
    background: var(--white);
    color: var(--secondary-color);
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s;
}

.vis-btn:hover,
.vis-btn.active {
    background: var(--secondary-color);
    color: var(--white);
    transform: scale(1.05);
}

.vis-display {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.atom-shape {
    position: absolute;
    width: 100px;
    height: 100px;
    opacity: 0;
    transition: opacity 0.5s;
}

.atom-shape.active {
    opacity: 1;
}

.atom-shape.sphere {
    background: radial-gradient(circle, #3498db, #2980b9);
    border-radius: 50%;
}

.atom-shape.hook {
    width: 80px;
    height: 80px;
    background: #e74c3c;
    border-radius: 50% 50% 0 50%;
    transform: rotate(45deg);
}

.atom-shape.rough {
    width: 90px;
    height: 90px;
    background: #27ae60;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.atom-shape.smooth {
    width: 120px;
    height: 60px;
    background: #f39c12;
    border-radius: 50%;
}

.vis-description {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light-text);
}

/* ===== ELEMEK (ARISZTOTELÉSZ) ===== */
.elements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.element-card {
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.element-card:hover {
    transform: scale(1.05);
}

.element-card.earth {
    background: linear-gradient(135deg, #8B4513, #D2691E);
}

.element-card.water {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
}

.element-card.air {
    background: linear-gradient(135deg, #87CEEB, #E0F6FF);
    color: var(--dark-text);
}

.element-card.fire {
    background: linear-gradient(135deg, #ff4500, #ffa500);
}

.element-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.element-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.element-properties {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.property {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: bold;
}

.property.cold {
    background: rgba(255, 255, 255, 0.3);
}

.property.hot {
    background: rgba(255, 0, 0, 0.3);
}

.property.wet {
    background: rgba(0, 0, 255, 0.3);
}

.property.dry {
    background: rgba(255, 255, 0, 0.3);
}

/* Átalakulás Példa */
.qualities-explanation {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 10px;
}

.transformation-example {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.transform-item {
    font-size: 2rem;
    padding: 1rem 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.transform-arrow {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
}

.transform-explain {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
    color: var(--light-text);
}

/* Összehasonlítás */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.comparison-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.comparison-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.comparison-card ul {
    list-style: none;
}

.comparison-card li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-bg);
}

.comparison-card li:last-child {
    border-bottom: none;
}

/* Hatás Szekció */
.impact-section {
    padding: 4rem 2rem;
    background: var(--light-bg);
}

.impact-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.impact-icon {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 1rem;
}

.impact-card h2 {
    font-size: 2rem;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.impact-text {
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 2rem;
}

.timeline-impact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.impact-period {
    flex: 1;
    min-width: 200px;
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.impact-period h4 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.impact-arrow {
    font-size: 2rem;
    color: var(--accent-color);
}

.legacy-note {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: 10px;
}

.legacy-note h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Reflexió */
.reflection-section {
    padding: 4rem 2rem;
}

.reflection-box {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.reflection-box h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.reason-card {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.reason-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.reason-card h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* ===== INDIAI STÍLUSOK ===== */
.indian-card .placeholder-image {
    background: var(--gradient-indian);
}

.paramanu-box {
    display: flex;
    gap: 2rem;
    align-items: center;
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.paramanu-icon {
    flex-shrink: 0;
}

.atom-symbol {
    font-size: 4rem;
    width: 100px;
    height: 100px;
    background: var(--gradient-indian);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow);
}

.paramanu-text h4 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.indian-property {
    background: linear-gradient(135deg, rgba(250, 112, 154, 0.1) 0%, rgba(254, 225, 64, 0.1) 100%);
}

/* Indiai Elemek */
.indian-elements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.indian-element-card {
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.indian-element-card:hover {
    transform: scale(1.05);
}

.indian-element-card.prithvi {
    background: linear-gradient(135deg, #8B4513, #CD853F);
}

.indian-element-card.jala {
    background: linear-gradient(135deg, #0077be, #00bfff);
}

.indian-element-card.tejas {
    background: linear-gradient(135deg, #ff4500, #ff8c00);
}

.indian-element-card.vayu {
    background: linear-gradient(135deg, #87ceeb, #b0e0e6);
}

.indian-element-card.akasha {
    background: linear-gradient(135deg, #4b0082, #9370db);
}

.element-symbol {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.indian-element-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.element-quality {
    font-style: italic;
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* Adrsta Szekció */
.adrsta-section {
    padding: 4rem 2rem;
    background: var(--white);
}

.adrsta-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(250, 112, 154, 0.1) 0%, rgba(254, 225, 64, 0.1) 100%);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.adrsta-card h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.adrsta-intro {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.adrsta-explanation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.adrsta-concept,
.adrsta-function {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
}

.adrsta-concept h3,
.adrsta-function h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.comparison-note {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    border-left: 4px solid var(--gold-color);
}

.comparison-note h4 {
    color: var(--gold-color);
    margin-bottom: 1rem;
}

/* Összehasonlító Táblázat */
.comparison-section {
    padding: 4rem 2rem;
    background: var(--light-bg);
}

.comparison-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.comparison-table {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1px;
    background: var(--light-bg);
}

.comparison-cell {
    background: var(--white);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.header-row {
    background: var(--gradient-1);
}

.header-row .comparison-cell {
    background: var(--gradient-1);
    color: var(--white);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Jelentőség */
.significance-section {
    padding: 4rem 2rem;
}

.significance-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.significance-card h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.universal-quest h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    text-align: center;
    margin: 2rem 0;
}

.quest-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.quest-point {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.quest-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

/* ===== ÖSSZEGZÉS STÍLUSOK ===== */
.summary-intro {
    text-align: center;
}

.difference-cards {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin: 3rem 0;
}

.difference-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.difference-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-bg);
}

.ancient-icon,
.modern-icon {
    font-size: 2.5rem;
}

.difference-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.difference-content h4 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.difference-arrow {
    font-size: 3rem;
    color: var(--accent-color);
    text-align: center;
}

/* Modern Idővonalas */
.timeline-modern {
    padding: 4rem 2rem;
    background: var(--white);
}

.timeline-modern h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--light-text);
}

.modern-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.timeline-item-modern {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 10px;
    transition: transform 0.3s;
}

.timeline-item-modern:hover {
    transform: translateX(10px);
}

.timeline-item-modern.highlight {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    border: 2px solid var(--secondary-color);
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    min-width: 120px;
    flex-shrink: 0;
}

.timeline-content-modern h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Dalton Szekció */
.dalton-section {
    padding: 4rem 2rem;
    background: var(--light-bg);
}

.dalton-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
}

.dalton-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.scientist-image {
    font-size: 5rem;
}

.dalton-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.dalton-postulates {
    margin: 2rem 0;
}

.postulate {
    display: flex;
    gap: 1.5rem;
    align-items: start;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 10px;
}

.postulate-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.connection-box {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--gradient-3);
    color: var(--white);
    border-radius: 10px;
}

.connection-box h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Örökség */
.legacy-section {
    padding: 4rem 2rem;
}

.legacy-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.legacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.legacy-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.legacy-card:hover {
    transform: translateY(-10px);
}

.legacy-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.legacy-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

/* Záró Reflexió */
.reflection-final {
    padding: 4rem 2rem;
    background: var(--light-bg);
}

.reflection-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
}

.reflection-card h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.reflection-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.quote-final {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--gradient-1);
    color: var(--white);
    border-radius: 10px;
}

.quote-text {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.8;
    text-align: center;
}

/* Források */
.sources-section {
    padding: 4rem 2rem;
}

.sources-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.source-category {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.source-category h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.source-category ul {
    list-style: none;
}

.source-category li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.source-category li::before {
    content: '📖';
    position: absolute;
    left: 0;
}

/* ===== NAVIGÁCIÓS GOMBOK ===== */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.nav-btn {
    flex: 1;
    min-width: 200px;
    padding: 1rem 2rem;
    background: var(--gradient-1);
    color: var(--white);
    text-decoration: none;
    border-radius: 10px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: var(--shadow);
}

.nav-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.nav-btn.next {
    background: var(--gradient-2);
}

/* ===== LÁBLÉC ===== */
.footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: shimmer 3s infinite;
}

.footer-note {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== TOOLTIP POPUP ===== */
.tooltip-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    max-width: 500px;
    width: 90%;
}

.tooltip-popup.show {
    display: block;
    animation: fadeIn 0.3s;
}

.tooltip-content {
    position: relative;
}

.tooltip-close {
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 30px;
    height: 30px;
    border: none;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#tooltipTitle {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ===== ANIMÁCIÓK ===== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        box-shadow: 0 0 40px rgba(255, 215, 0, 1);
    }
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(102, 126, 234, 1), 0 0 50px rgba(118, 75, 162, 0.8);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-200deg) scale(0);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes wave {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(5deg);
    }
    75% {
        transform: translateY(-5px) rotate(-5deg);
    }
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes particle-float {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes text-glow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(102, 126, 234, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(102, 126, 234, 1), 0 0 30px rgba(118, 75, 162, 0.8);
    }
}

/* ===== SPECIÁLIS ANIMÁCIÓS OSZTÁLYOK ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.fade-in-right {
    animation: slideInRight 0.8s ease-out;
}

.scale-in {
    animation: scaleIn 0.6s ease-out;
}

.rotate-in {
    animation: rotateIn 0.8s ease-out;
}

.bounce-in {
    animation: bounce 1s ease-out;
}

.glow-effect {
    animation: glow 2s ease-in-out infinite;
}

.float-effect {
    animation: float 3s ease-in-out infinite;
}

.shimmer-effect {
    position: relative;
    overflow: hidden;
}

.shimmer-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

/* Hover növekedés effekt */
.hover-grow {
    transition: transform 0.3s ease;
}

.hover-grow:hover {
    transform: scale(1.1);
}

/* Hover ragyogás effekt */
.hover-glow {
    transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.6), 0 0 40px rgba(118, 75, 162, 0.4);
}

/* Pulzáló gomb */
.pulse-button {
    animation: pulse 2s infinite;
    cursor: pointer;
}

/* Lebegő szöveg */
.floating-text {
    animation: float 3s ease-in-out infinite;
}

/* Gradiens szöveg */
.gradient-text {
    background: var(--gradient-1);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
}

/* Neon effekt */
.neon-effect {
    text-shadow: 
        0 0 5px rgba(102, 126, 234, 0.5),
        0 0 10px rgba(102, 126, 234, 0.5),
        0 0 20px rgba(102, 126, 234, 0.5),
        0 0 40px rgba(118, 75, 162, 0.5);
    animation: text-glow 2s ease-in-out infinite;
}

/* Kártya flip */
.flip-card {
    perspective: 1000px;
}

.flip-card-inner {
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* Zajongó hatás */
.shake-on-hover:hover {
    animation: shake 0.5s;
}

/* Konfetti effekt konténer */
#confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* ===== RESZPONZÍV DIZÁJN ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 50px;
        margin-right: 0;
        text-align: left;
    }

    .timeline-marker {
        left: 20px;
    }

    .philosopher-header {
        flex-direction: column;
        text-align: center;
    }

    .difference-cards {
        grid-template-columns: 1fr;
    }

    .difference-arrow {
        transform: rotate(90deg);
    }

    .comparison-row {
        grid-template-columns: 1fr;
    }

    .timeline-item-modern {
        flex-direction: column;
    }

    .timeline-year {
        min-width: auto;
    }

    .paramanu-box {
        flex-direction: column;
        text-align: center;
    }

    .adrsta-explanation {
        grid-template-columns: 1fr;
    }

    .navigation-buttons {
        flex-direction: column;
    }

    .nav-btn {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .intro-content h2,
    .journey-section h2,
    .timeline-section h2 {
        font-size: 2rem;
    }

    .info-cards,
    .properties-grid,
    .elements-grid {
        grid-template-columns: 1fr;
    }

    .atom-model {
        width: 150px;
        height: 150px;
    }

    .orbit-1 {
        width: 75px;
        height: 75px;
    }

    .orbit-2 {
        width: 112px;
        height: 112px;
    }

    .orbit-3 {
        width: 150px;
        height: 150px;
    }
}

/* === ULTRA FEJLETT ANIMÁCIÓK === */

/* Smooth 3D kártya effektek */
.info-card, .property-card, .legacy-card, .difference-card,
.element-card, .indian-element-card, .philosopher-card {
    transform-style: preserve-3d;
    transition: all 0.3s ease;
    will-change: transform;
}

/* Glow pulse effekt */
@keyframes glow-pulse-ultra {
    0%, 100% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.4),
                    0 0 40px rgba(102, 126, 234, 0.2),
                    0 0 60px rgba(102, 126, 234, 0.1);
    }
    50% {
        box-shadow: 0 0 40px rgba(102, 126, 234, 0.6),
                    0 0 80px rgba(102, 126, 234, 0.4),
                    0 0 120px rgba(102, 126, 234, 0.2);
    }
}

/* Holografikus effekt */
@keyframes hologram {
    0% {
        background-position: 0% 50%;
        filter: hue-rotate(0deg);
    }
    50% {
        background-position: 100% 50%;
        filter: hue-rotate(30deg);
    }
    100% {
        background-position: 0% 50%;
        filter: hue-rotate(0deg);
    }
}

.hologram-effect {
    background: linear-gradient(
        45deg,
        rgba(102, 126, 234, 0.1),
        rgba(118, 75, 162, 0.1),
        rgba(102, 126, 234, 0.1)
    );
    background-size: 200% 200%;
    animation: hologram 4s ease infinite;
}

/* Lebegő animáció intenzívebb */
@keyframes float-intense {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(2deg);
    }
    50% {
        transform: translateY(-25px) rotate(0deg);
    }
    75% {
        transform: translateY(-15px) rotate(-2deg);
    }
}

/* Neon text effekt */
.neon-text {
    color: #fff;
    text-shadow:
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px #667eea,
        0 0 40px #667eea,
        0 0 80px #667eea,
        0 0 90px #667eea,
        0 0 100px #667eea,
        0 0 150px #667eea;
    animation: neon-flicker 2s infinite alternate;
}

@keyframes neon-flicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        text-shadow:
            0 0 5px #fff,
            0 0 10px #fff,
            0 0 20px #667eea,
            0 0 40px #667eea,
            0 0 80px #667eea,
            0 0 90px #667eea,
            0 0 100px #667eea,
            0 0 150px #667eea;
    }
    20%, 24%, 55% {
        text-shadow: none;
    }
}

/* Glitch effekt */
@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);
    }
}

/* Zoom-in-out folyamatos */
@keyframes zoom-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Forgás 3D-ben */
@keyframes rotate-3d {
    0% {
        transform: rotate3d(0, 0, 0, 0deg);
    }
    100% {
        transform: rotate3d(0, 1, 0, 360deg);
    }
}

/* Szivárványos border */
@keyframes rainbow-border {
    0% {
        border-color: #667eea;
    }
    25% {
        border-color: #764ba2;
    }
    50% {
        border-color: #f093fb;
    }
    75% {
        border-color: #f5576c;
    }
    100% {
        border-color: #667eea;
    }
}

.rainbow-border {
    border: 3px solid;
    animation: rainbow-border 3s linear infinite;
}

/* Pulsating shadow */
@keyframes shadow-pulse {
    0%, 100% {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
    }
}

/* Smooth scroll snap kiegészítés */
.timeline-modern,
.properties-grid,
.legacy-grid {
    scroll-snap-type: y proximity;
}

.timeline-item-modern,
.property-card,
.legacy-card {
    scroll-snap-align: center;
}

/* Canvas container styling */
canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Gradient animated background */
@keyframes gradient-flow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.gradient-animated {
    background: linear-gradient(
        -45deg,
        #667eea,
        #764ba2,
        #f093fb,
        #f5576c
    );
    background-size: 400% 400%;
    animation: gradient-flow 15s ease infinite;
}

/* Parallax layering support */
[data-parallax] {
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* Blink cursor for typewriter */
@keyframes blink {
    0%, 50% {
        border-color: transparent;
    }
    51%, 100% {
        border-color: currentColor;
    }
}
