* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background: linear-gradient(135deg, rgba(0, 120, 150, 0.03) 0%, rgba(0, 168, 150, 0.05) 100%);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 168, 150, 0.1);
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 40px rgba(0, 168, 150, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #00a896;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 0 0 20px rgba(0, 168, 150, 0.5);
}

.logo-icon {
    width: 40px;
    height: 40px;
    animation: logoSpin 20s linear infinite;
}

@keyframes logoSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-links a:hover,
.nav-links a.active {
    color: #00a896;
    background: rgba(0, 168, 150, 0.1);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #00a896, #0077b6);
    border-radius: 2px;
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 80%;
}

.sidebar {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    z-index: 999;
    border: 1px solid rgba(0, 168, 150, 0.1);
    transition: all 0.4s ease;
}

.sidebar:hover {
    box-shadow: 0 15px 50px rgba(0, 168, 150, 0.2);
    transform: translateY(-50%) scale(1.02);
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar a {
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sidebar a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 168, 150, 0.2), transparent);
    transition: left 0.5s ease;
}

.sidebar a:hover::before {
    left: 100%;
}

.sidebar a:hover {
    background: #00a896;
    color: white;
    transform: translateX(-5px);
}

.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    animation: patternMove 30s linear infinite;
}

@keyframes patternMove {
    from { background-position: 0 0; }
    to { background-position: 60px 60px; }
}

.carousel {
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease, transform 1.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(1.05);
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
}

.carousel-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

.slide-content {
    text-align: center;
    color: white;
    z-index: 10;
    position: relative;
}

.slide-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease, textGlow 3s ease-in-out infinite;
    background: linear-gradient(90deg, #fff, #fff, rgba(255,255,255,0.8));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes textGlow {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.slide-content p {
    font-size: 1.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: particleFloat 8s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-100px) translateX(50px) scale(1.5);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-200px) translateX(-30px) scale(1);
        opacity: 0.5;
    }
    75% {
        transform: translateY(-100px) translateX(-50px) scale(1.2);
        opacity: 0.7;
    }
}

.light-spot {
    position: absolute;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 4s ease-in-out infinite;
    filter: blur(2px);
}

.spot-1 {
    width: 300px;
    height: 300px;
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.spot-2 {
    width: 250px;
    height: 250px;
    top: 60%;
    right: 25%;
    animation-delay: 1.5s;
}

.spot-3 {
    width: 280px;
    height: 280px;
    top: 40%;
    left: 60%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-30px) scale(1.15);
        opacity: 0.7;
    }
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 2rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 20;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.carousel-prev {
    left: 3rem;
}

.carousel-next {
    right: 3rem;
}

.carousel-dots {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 20;
}

.dot {
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.dot.active,
.dot:hover {
    background: white;
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.5);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.8rem;
    color: #0077b6;
    position: relative;
    display: inline-block;
    animation: titleReveal 1s ease forwards;
    opacity: 0;
}

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(-30px);
        letter-spacing: 10px;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: normal;
    }
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #00a896, #0077b6, #00a896);
    border-radius: 2px;
    animation: lineExpand 1s ease 0.5s forwards;
    transform-origin: center;
    width: 0;
}

@keyframes lineExpand {
    to { width: 80px; }
}

.overview {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 50%, #0d1b2a 100%);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: overviewBgMove 30s linear infinite;
}

@keyframes overviewBgMove {
    from { background-position: 0 0; }
    to { background-position: 120px 120px; }
}

.overview::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    animation: overviewPulse 8s ease-in-out infinite;
}

@keyframes overviewPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
}

.overview-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.overview-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.energy-orb-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.energy-orb {
    width: 350px;
    height: 350px;
    position: relative;
    cursor: pointer;
    transition: transform 0.5s ease;
}

.energy-orb:hover {
    transform: scale(1.05);
}

.orb-label {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    pointer-events: none;
}

.orb-title {
    display: block;
    font-size: 1.3rem;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 0.3rem;
}

.orb-desc {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.orb-controls {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.orb-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s ease;
    color: rgba(255, 255, 255, 0.7);
}

.orb-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.orb-btn.active {
    background: rgba(255, 215, 0, 0.15);
    border-color: #ffd700;
    color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.orb-btn-icon {
    font-size: 1.5rem;
}

.orb-btn-text {
    font-size: 0.85rem;
    font-weight: 500;
}

.orb-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 50px rgba(255, 215, 0, 0.3));
}

.orb-glow {
    animation: orbGlow 3s ease-in-out infinite;
}

@keyframes orbGlow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

.orb-core {
    filter: url(#glow);
}

.energy-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    min-width: 140px;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.15);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.3rem;
}

.stat-unit {
    font-size: 1.5rem;
    color: #ffd700;
}

.overview-content {
    padding: 2rem;
}

.overview-content .section-title {
    margin-bottom: 2.5rem;
}

.overview-content .section-title h2 {
    color: white;
    font-size: 3rem;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.title-word {
    display: inline-block;
    animation: titleWordFloat 2s ease-in-out infinite;
    background: linear-gradient(135deg, #ffd700, #00a896, #0077b6);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-word:nth-child(1) { animation-delay: 0s; }
.title-word:nth-child(2) { animation-delay: 0.1s; }
.title-word:nth-child(3) { animation-delay: 0.2s; }
.title-word:nth-child(4) { animation-delay: 0.3s; }

@keyframes titleWordFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.title-decoration {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ffd700, #00a896, #0077b6);
    margin: 1rem auto 0;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.title-decoration::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    animation: titleShine 2s ease-in-out infinite;
}

@keyframes titleShine {
    0% { left: -100%; }
    100% { left: 200%; }
}

.overview-text-container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.overview-text-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #00a896, #0077b6);
}

.overview-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: #ffd700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.highlight-icon {
    font-size: 1.5rem;
    animation: highlightPulse 1.5s ease-in-out infinite;
}

@keyframes highlightPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.overview-text {
    font-size: 1.1rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateX(-30px);
    animation: textSlideIn 0.8s ease forwards;
}

.overview-text:nth-child(2) { animation-delay: 0.2s; }
.overview-text:nth-child(3) { animation-delay: 0.4s; }
.overview-text:nth-child(4) { animation-delay: 0.6s; }

@keyframes textSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.text-highlight {
    color: #00a896;
    font-weight: 600;
    position: relative;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #00a896, #0077b6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.text-highlight:hover::after {
    transform: scaleX(1);
}

.text-bold {
    color: #ffd700;
    font-weight: 700;
}

.energy-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.energy-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

.energy-tag.solar {
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #ffd700;
}

.energy-tag.wind {
    background: rgba(0, 168, 150, 0.15);
    border: 1px solid rgba(0, 168, 150, 0.3);
    color: #00a896;
}

.energy-tag.hydro {
    background: rgba(0, 180, 216, 0.15);
    border: 1px solid rgba(0, 180, 216, 0.3);
    color: #00b4d8;
}

.energy-tag.hydrogen {
    background: rgba(144, 224, 239, 0.15);
    border: 1px solid rgba(144, 224, 239, 0.3);
    color: #90e0ef;
}

.energy-tag:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.overview-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(0, 168, 150, 0.2));
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    color: white;
}

.overview-cta:hover {
    transform: translateX(10px);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(0, 168, 150, 0.3));
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.cta-text {
    font-weight: 600;
}

.cta-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.overview-cta:hover .cta-arrow {
    transform: translateX(5px);
}

.overview-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 1024px) {
    .overview-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .overview-content .section-title h2 {
        justify-content: center;
    }

    .energy-tags {
        justify-content: center;
    }

    .overview-visual {
        order: -1;
    }

    .energy-orb {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 768px) {
    .overview {
        padding: 4rem 1.5rem;
    }

    .overview-content .section-title h2 {
        font-size: 2.2rem;
    }

    .overview-text-container {
        padding: 1.5rem;
    }

    .overview-text {
        font-size: 1rem;
    }

    .energy-stats {
        gap: 1rem;
    }

    .stat-item {
        padding: 1rem 1.5rem;
        min-width: 120px;
    }

    .stat-number {
        font-size: 2rem;
    }
}

.data-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.data-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%2300a896' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    animation: bgSlide 20s linear infinite;
}

@keyframes bgSlide {
    from { background-position: 0 0; }
    to { background-position: 100px 100px; }
}

.chart-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.chart {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 450px;
    gap: 2.5rem;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 1px solid rgba(0, 168, 150, 0.1);
}

.bar-group {
    display: flex;
    align-items: flex-end;
    gap: 2.5rem;
    height: 100%;
}

.bar {
    width: 90px;
    background: linear-gradient(180deg, #00a896, #0077b6);
    border-radius: 12px 12px 0 0;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: slideUp 0.8s ease backwards;
    box-shadow: 0 10px 30px rgba(0, 168, 150, 0.2);
}

.bar:nth-child(1) { animation-delay: 0.1s; }
.bar:nth-child(2) { animation-delay: 0.2s; }
.bar:nth-child(3) { animation-delay: 0.3s; }
.bar:nth-child(4) { animation-delay: 0.4s; }
.bar:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, transparent 50%);
    border-radius: 12px 12px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bar:hover::before {
    opacity: 1;
}

.bar:hover {
    transform: scale(1.1) translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 168, 150, 0.4);
}

.bar-label {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.bar:hover + .bar-label,
.bar-label:hover {
    color: #00a896;
    transform: translateX(-50%) scale(1.1);
}

.chart-tooltip {
    position: absolute;
    background: rgba(0, 119, 182, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1.2rem 1.8rem;
    border-radius: 12px;
    font-size: 0.95rem;
    pointer-events: none;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 100;
    max-width: 280px;
    box-shadow: 0 10px 40px rgba(0, 119, 182, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-tooltip.active {
    opacity: 1;
    transform: translateY(-10px);
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: #555;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.legend-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.legend-color {
    width: 24px;
    height: 18px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.types-section {
    padding: 6rem 2rem;
    background: white;
    position: relative;
    overflow: hidden;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1300px;
    margin: 0 auto;
}

.type-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 168, 150, 0.08);
    opacity: 0;
    transform: translateY(50px);
}

.type-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.type-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 168, 150, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.type-card:hover::before {
    opacity: 1;
}

.type-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 25px 60px rgba(0, 168, 150, 0.25);
    border-color: rgba(0, 168, 150, 0.3);
}

.card-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.8rem;
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
}

.type-card:hover .card-icon {
    transform: scale(1.15) rotate(10deg);
    filter: drop-shadow(0 10px 20px rgba(0, 168, 150, 0.3));
}

.type-card h3 {
    color: #0077b6;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.type-card:hover h3 {
    color: #00a896;
}

.type-card p {
    color: #666;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.about-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #0077b6 0%, #00a896 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: aboutPattern 15s linear infinite;
}

@keyframes aboutPattern {
    from { background-position: 0 0; }
    to { background-position: 60px 60px; }
}

.about-section .section-title h2 {
    color: white;
}

.about-section .section-title h2::after {
    background: linear-gradient(90deg, #fff, rgba(255,255,255,0.5), #fff);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.about-content p {
    font-size: 1.2rem;
    line-height: 2;
    opacity: 0.95;
    animation: fadeInUp 1s ease;
}

.game-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.game-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(0, 168, 150, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(0, 119, 182, 0.15) 0%, transparent 40%);
    animation: gameBgPulse 6s ease-in-out infinite;
}

@keyframes gameBgPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.game-section .section-title h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.game-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.game-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto 3rem;
    position: relative;
    z-index: 1;
}

.energy-source {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 1.5rem;
    cursor: grab;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    min-width: 140px;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    animation: cardFloat 3s ease-in-out infinite;
}

.energy-source:nth-child(1) { animation-delay: 0s; }
.energy-source:nth-child(2) { animation-delay: 0.2s; }
.energy-source:nth-child(3) { animation-delay: 0.4s; }
.energy-source:nth-child(4) { animation-delay: 0.6s; }
.energy-source:nth-child(5) { animation-delay: 0.8s; }
.energy-source:nth-child(6) { animation-delay: 1s; }

@keyframes cardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.energy-source::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 168, 150, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.energy-source:hover::before {
    opacity: 1;
}

.energy-source:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 168, 150, 0.3);
    border-color: #00a896;
}

.energy-source:active {
    cursor: grabbing;
    transform: scale(1.1);
}

.energy-source.dragging {
    opacity: 0.5;
    transform: rotate(5deg) scale(1.1);
}

.energy-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 0.8rem;
}

.energy-icon svg {
    width: 100%;
    height: 100%;
}

.energy-source span {
    display: block;
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
}

.game-targets {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 1;
}

.target-zone {
    flex: 1;
    min-width: 280px;
    max-width: 340px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.8rem;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    min-height: 180px;
}

.target-zone h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.target-hint {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.dropped-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    min-height: 50px;
}

.target-zone.drag-over {
    border-color: #00a896;
    background: rgba(0, 168, 150, 0.15);
    transform: scale(1.03);
    box-shadow: 0 0 40px rgba(0, 168, 150, 0.3);
}

.target-zone.correct {
    border-color: #4caf50;
    background: rgba(76, 175, 80, 0.15);
    animation: correctPulse 0.5s ease;
}

.target-zone.incorrect {
    border-color: #f44336;
    background: rgba(244, 67, 54, 0.15);
    animation: shake 0.5s ease;
}

@keyframes correctPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.dropped-card {
    background: white;
    border-radius: 10px;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    color: #333;
    font-weight: 500;
    animation: dropIn 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@keyframes dropIn {
    from {
        opacity: 0;
        transform: scale(0.5) rotate(-10deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

.game-score {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.score-display {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#gameScore {
    color: #ffd700;
    font-size: 1.5rem;
}

.reset-game-btn {
    background: linear-gradient(135deg, #00a896, #0077b6);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 168, 150, 0.3);
}

.reset-game-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 168, 150, 0.4);
}

.game-feedback {
    text-align: center;
    font-size: 1.2rem;
    min-height: 2rem;
    position: relative;
    z-index: 1;
}

.game-feedback.success {
    color: #4caf50;
    animation: feedbackPop 0.5s ease;
}

.game-feedback.error {
    color: #f44336;
    animation: feedbackPop 0.5s ease;
}

@keyframes feedbackPop {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.footer {
    text-align: center;
    padding: 3rem 2rem;
    background: #1a1a2e;
    color: white;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #00a896, #0077b6, #00a896);
    animation: footerGlow 3s ease-in-out infinite;
}

@keyframes footerGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.footer p {
    margin: 0.3rem 0;
    font-size: 0.95rem;
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #00a896, #0077b6);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    box-shadow: 0 8px 25px rgba(0, 168, 150, 0.4);
    overflow: hidden;
}

.back-to-top::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.back-to-top:hover::before {
    width: 200%;
    height: 200%;
}

.back-to-top:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 168, 150, 0.5);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.image-modal.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80vh;
    animation: zoomIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 40px;
    color: #f1f1f1;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2001;
}

.modal-close:hover {
    color: #00a896;
    transform: rotate(90deg);
}

.page-container {
    padding-top: 80px;
    min-height: 100vh;
}

.page-header {
    background: linear-gradient(135deg, #0077b6 0%, #00a896 100%);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
    position: relative;
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s both;
    position: relative;
}

.content-section {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.principles-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 168, 150, 0.08);
    transition: all 0.4s ease;
}

.principles-card:hover {
    box-shadow: 0 15px 50px rgba(0, 168, 150, 0.1);
    transform: translateY(-5px);
}

.principles-card h3 {
    color: #0077b6;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

.principle-diagram {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.principle-diagram svg {
    width: 220px;
    height: 220px;
    transition: transform 0.5s ease;
}

.principle-diagram:hover svg {
    transform: scale(1.1) rotate(5deg);
}

.principle-content {
    display: none;
    margin-top: 1.5rem;
    padding: 1.8rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 15px;
    animation: fadeIn 0.4s ease;
    border-left: 4px solid #00a896;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.principle-content.active {
    display: block;
}

.principle-toggle {
    background: linear-gradient(135deg, #00a896, #0077b6);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 168, 150, 0.3);
}

.principle-toggle:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 168, 150, 0.4);
}

.progress-section {
    margin-top: 2.5rem;
}

.progress-title {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.progress-bar-container {
    background: #e2e8f0;
    height: 28px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1.8rem;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #00a896, #0077b6);
    border-radius: 14px;
    position: relative;
    animation: progressFill 2s ease forwards;
    width: 0;
    box-shadow: 0 2px 10px rgba(0, 168, 150, 0.3);
}

@keyframes progressFill {
    to { width: var(--progress-width); }
}

.progress-bar::after {
    content: attr(data-percent);
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 0.85rem;
    font-weight: bold;
}

.navigation-buttons {
    display: flex;
    gap: 1.2rem;
    margin-top: 3rem;
}

.nav-btn {
    background: linear-gradient(135deg, #0077b6, #00a896);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.05rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 20px rgba(0, 119, 182, 0.3);
}

.nav-btn:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 119, 182, 0.4);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.detail-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 168, 150, 0.08);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateX(-30px);
}

.detail-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.detail-card:hover {
    box-shadow: 0 15px 50px rgba(0, 168, 150, 0.12);
    transform: translateY(-5px);
}

.detail-card h3 {
    color: #0077b6;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.detail-card h3::before {
    content: '';
    width: 5px;
    height: 24px;
    background: linear-gradient(180deg, #00a896, #0077b6);
    border-radius: 3px;
}

.expandable-content {
    display: none;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid #e2e8f0;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

.expandable-content.active {
    display: block;
}

.expand-btn {
    background: none;
    border: 2px solid #00a896;
    color: #00a896;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-top: 1.2rem;
}

.expand-btn:hover {
    background: #00a896;
    color: white;
    transform: scale(1.05);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

.compare-table th,
.compare-table td {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.compare-table th {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: #0077b6;
    font-weight: 600;
}

.compare-table tr {
    transition: all 0.3s ease;
}

.compare-table tr:hover {
    background: #f8fafc;
    transform: scale(1.01);
}

.wind-game-container {
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 2.5rem;
    border: 1px solid rgba(0, 168, 150, 0.1);
}

.wind-game-title {
    text-align: center;
    color: #0077b6;
    margin-bottom: 2rem;
    font-size: 1.6rem;
}

.wind-game-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.windmill-display svg {
    width: 180px;
    height: 180px;
    filter: drop-shadow(0 10px 20px rgba(0, 168, 150, 0.2));
    transition: transform 0.3s ease;
}

.windmill-display:hover svg {
    transform: scale(1.1);
}

.wind-slider {
    width: 100%;
    max-width: 450px;
}

.wind-slider input {
    width: 100%;
    height: 10px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(90deg, #e2e8f0, #00a896);
    border-radius: 5px;
    outline: none;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.wind-slider input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #00a896, #0077b6);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 168, 150, 0.4);
}

.wind-slider input::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 20px rgba(0, 168, 150, 0.5);
}

.wind-value {
    font-size: 1.3rem;
    color: #0077b6;
    font-weight: bold;
}

.efficiency-tip {
    background: rgba(0, 168, 150, 0.1);
    border-left: 4px solid #00a896;
    padding: 1.2rem;
    margin-top: 1.2rem;
    border-radius: 0 10px 10px 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.battery-game-container {
    background: linear-gradient(135deg, #dcfce7 0%, #f0fdf4 100%);
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 2.5rem;
    border: 1px solid rgba(76, 175, 80, 0.1);
}

.battery-game-title {
    text-align: center;
    color: #0077b6;
    margin-bottom: 2rem;
    font-size: 1.6rem;
}

.battery-game-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.battery-display svg {
    width: 140px;
    height: 200px;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: drop-shadow(0 10px 20px rgba(76, 175, 80, 0.2));
}

.battery-display:hover svg {
    transform: scale(1.08);
}

.battery-status {
    font-size: 1.15rem;
    color: #333;
    font-weight: 500;
}

.battery-controls {
    display: flex;
    gap: 1.2rem;
}

.battery-btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.battery-btn.charge {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
    box-shadow: 0 5px 15px rgba(5, 150, 105, 0.3);
}

.battery-btn.discharge {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.3);
}

.battery-btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding: 1.5rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 168, 150, 0.08);
}

.page-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #0077b6, #00a896);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(0, 119, 182, 0.3);
}

.page-nav-btn:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 119, 182, 0.4);
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .sidebar {
        display: none;
    }

    .slide-content h1 {
        font-size: 2.5rem;
    }

    .slide-content p {
        font-size: 1.1rem;
    }

    .types-grid {
        grid-template-columns: 1fr;
    }

    .chart {
        height: 350px;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .bar {
        width: 55px;
    }

    .bar-group {
        gap: 1.5rem;
    }

    .game-targets {
        flex-direction: column;
        align-items: center;
    }

    .target-zone {
        width: 100%;
        max-width: none;
    }

    .page-nav-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .about-content p {
        font-size: 1rem;
    }

    .game-section .section-title h2 {
        font-size: 1.8rem;
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 168, 150, 0.4); }
    50% { box-shadow: 0 0 0 20px rgba(0, 168, 150, 0); }
}

.pulse {
    animation: pulse 2s infinite;
}
