* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: "Times New Roman", Times, serif;
    background: #08252e;
    color: #f3ead1;
    overflow-x: hidden;
}
main {
    position: relative;
    background:
        radial-gradient(
            circle at 70% 10%,
            rgba(80, 197, 233, 0.3),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            #1b5972 0%,
            #2b434b 25%,
            #0a6882 55%,
            #041317 100%
        );
}
.first {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: transparent;
}
.waves {
    position: absolute;
    left: 0;
    bottom: 300px;
    width: 100%;
    height: 300px;
    z-index: 2;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.15s linear;
}
.wave {
    fill: none;
    stroke: rgba(255, 250, 235, 0.19);
    stroke-width: 7;
    vector-effect: non-scaling-stroke;
}
.wave-one {
    animation: waveOne 2s ease-in-out infinite alternate;
}
.wave-two {
    animation: waveTwo 4s ease-in-out infinite alternate;
}
.wave-three {
    animation: waveThree 6s ease-in-out infinite alternate;
}
@keyframes waveOne {
    from {
        transform: translateX(-25px);
    }
    to {
        transform: translateX(25px);
    }
}
@keyframes waveTwo {
    from {
        transform: translateX(20px);
    }
    to {
        transform: translateX(-20px);
    }
}
@keyframes waveThree {
    from {
        transform: translateX(-15px);
    }
    to {
        transform: translateX(15px);
    }

}
.hero-title {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 90%;
    z-index: 20;
    text-align: center;
    pointer-events: none;
    transform:
        translate(-50%, -50%);
    transform-origin: center center;
}
.hero-title h1 {
    font-size: 120px;
    line-height: 0.9;
    font-weight: 700;
    letter-spacing: -0.055em;
    white-space: nowrap;
    color: #f3ead1;
}
.hero-title h2 {
    margin-top: 32px;
    font-size: 36px;
    line-height: 1.15;
    font-weight: 400;
    white-space: nowrap;
    color: #f3ead1;
}

.hero-title h2 span {
    font-weight: 700;
}
.scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    color: #f3ead1;
    font-size: 12px;
    letter-spacing: 0.18em;
    opacity: 0.65;
    white-space: nowrap;
    transition: opacity 0.1s linear;
}
.arrow {
    font-size: 21px;
    animation:float 2s ease-in-out infinite;
}
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(7px);
    }
    100% {
        transform: translateY(0);
    }
}
.ocean-section {
    position: relative;
    z-index: 5;
    min-height: 150vh;
    width: 100%;
    background: transparent;
    padding:
        180px
        8%
        200px;
}
.ocean-content {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
}
.section-label {
    margin-bottom: 35px;
    font-size: 12px;
    letter-spacing: 0.2em;
    opacity: 0.55;
}
.ocean-section h2 {
    max-width: 1200px;
    margin-bottom: 45px;
    font-size: 80px;
    line-height: 0.92;
    letter-spacing: -0.05em;
    color: #f3ead1;
}
.section-intro {
    max-width: 650px;
    margin-bottom: 100px;
    font-size: 21px;
    line-height: 1.5;
    opacity: 0.72;
}
.chart-container {
    width: 100%;
    padding-top: 22px;
    border-top:
        1px solid
        rgba(
            243,
            234,
            209,
            0.22
        );
}
.chart-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    font-size: 11px;
    letter-spacing: 0.16em;
    opacity: 0.55;
}
#bar-chart {
    width: 100%;
    height: 420px;
    display: flex;
    align-items: flex-end;
    gap: 14px;
    border-bottom:
        1px solid
        rgba(
            243,
            234,
            209,
            0.35
        );
}
@media (max-width: 700px) {
    .hero-title {
        width: 90%;
    }
    .hero-title h1 {
        font-size: 58px;
        line-height: 0.95;
        white-space: normal;
    }
    .hero-title h2 {
        margin-top: 22px;
        font-size: 22px;
        white-space: normal;
    }
    .ocean-section {
        padding:
            130px
            7%
            160px;
    }
    .ocean-section h2 {
        font-size: 52px;
    }
    .section-intro {
        font-size: 18px;
    }
}
#bar-chart {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    border-bottom: 1px solid rgba(243, 234, 209, 0.35);
    padding-bottom: 0;
}
.bar-wrapper {
    position: relative;
    flex: 1;
    height: 100%;
    min-width: 0;
    display: flex;
    align-items: flex-end;
    cursor: pointer;
}
.bar {
    width: 100%;
    height: 0;
    background: rgba(243, 234, 209, 0.48);
    transition:
        height 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.2s ease;
}

.bar-wrapper:hover .bar {
    background: #f3ead1;
}
.country-label {
    position: absolute;
    left: 50%;
    bottom: -115px;
    width: 110px;
    transform:
        translateX(-50%)
        rotate(-90deg);
    transform-origin: center center;
    text-align: right;
    font-size: 11px;
    letter-spacing: 0.04em;
    white-space: nowrap;
    opacity: 0.55;
    transition: opacity 0.2s ease;
}
.bar-wrapper:hover .country-label {
    opacity: 1;
}
.tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 14px);
    transform:
        translateX(-50%)
        translateY(8px);
    padding: 10px 13px;
    background: #f3ead1;
    color: #08252e;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    z-index: 50;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}
.tooltip strong {
    display: block;
    margin-bottom: 3px;
}
.tooltip span {
    opacity: 0.65;
}
.bar-wrapper:hover .tooltip {
    opacity: 1;
    transform:
        translateX(-50%)
        translateY(0);
}
@media (max-width: 700px) {

    #bar-chart {
        width: 1000px;
    }
}
.emissions-section {
    position: relative;
    z-index: 5;
    min-height: 130vh;
    width: 100%;
    padding: 180px 8% 80px;
}
.emissions-content {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
}
.emissions-chart-container {
    width: 100%;
    margin-top: 110px;
    padding-top: 22px;
    border-top:
        1px solid
        rgba(
            243,
            234,
            209,
            0.22
        );
}
.emissions-chart-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 35px;
    font-size: 11px;
    letter-spacing: 0.16em;
    opacity: 0.55;
}
#emissions-chart {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.emission-row {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    min-height: 22px;
}
.emission-country {
    width: 150px;
    flex-shrink: 0;
    font-size: 12px;
    letter-spacing: 0.03em;
    opacity: 0.65;
    transition:
        opacity 0.2s ease;
}
.emission-bar-area {
    flex: 1;
    height: 15px;
    position: relative;
    background:
        rgba(
            243,
            234,
            209,
            0.05
        );
}
.emission-bar {
    height: 100%;
    width: 0;
    background:
        rgba(
            243,
            234,
            209,
            0.5
        );
    transition:
        width 1s cubic-bezier(
            0.22,
            1,
            0.36,
            1
        ),
        background 0.2s ease;
}
.emission-row:hover
.emission-bar {
    background: #f3ead1;
}
.emission-row:hover
.emission-country {
    opacity: 1;
}
.emission-value {
    width: 70px;
    flex-shrink: 0;
    margin-left: 15px;
    font-size: 11px;
    text-align: right;
    opacity: 0.5;
}
@media (max-width: 700px) {
    .emissions-section {
        padding:
            130px
            7%
            180px;
    }
    .emissions-chart-container {
        margin-top: 80px;
    }
    .emission-country {
        width: 105px;
        font-size: 10px;
    }
    .emission-value {
        width: 55px;
        font-size: 10px;
    }
}
.emissions-section h2 {
    max-width: 1200px;
    margin-bottom: 45px;
    font-size: 80px;
    line-height: 0.92;
    letter-spacing: -0.05em;
    color: #f3ead1;
}
@media (max-width: 700px) {
    .emissions-section h2 {
        font-size: 52px;
    }
}
.year-timeline {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 430px;
}
.timeline-year {
    font-size: 10px;
    letter-spacing: 0.08em;
    opacity: 0.5;
}
#year-slider {
    flex: 1;
    appearance: none;
    height: 1px;
    background:
        rgba(
            243,
            234,
            209,
            0.35
        );
    outline: none;
    cursor: pointer;
}
#year-slider::-webkit-slider-thumb {
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #f3ead1;
    cursor: pointer;
}
#year-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border: none;
    border-radius: 50%;
    background: #f3ead1;
    cursor: pointer;
}
#selected-year {
    min-width: 34px;
    font-size: 11px;
    letter-spacing: 0.08em;
    opacity: 0.9;
    text-align: right;
}
@media (max-width: 700px) {
    .year-timeline {
        min-width: 230px;
        gap: 7px;
    }
    .emissions-chart-header {
        align-items: flex-start;
        gap: 20px;
    }
}
.energy-intro {
    min-height: 100vh;
    padding: 120px 8vw;
    display: flex;
    align-items: center;
    justify-content: center;
}
.energy-intro-content {
    width: 100%;
    max-width: 1200px;
}
.section-number {
    font-size: 18px;
    margin-bottom: 30px;
}
.energy-intro h2 {
    max-width: 900px;
    font-size: 32px;
    line-height: 1.35;
    font-weight: 400;
    margin-bottom: 80px;
}
.energy-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin-bottom: 80px;
    overflow: hidden;
}
.energy-group {
    flex: 1;
    text-align: center;
}
.energy-group h3 {
    font-size: 15px;
    letter-spacing: 2px;
    margin-bottom: 25px;
}
.energy-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
.energy-items span {
    padding: 10px 16px;
    border: 1px solid currentColor;
    border-radius: 30px;
    font-size: 14px;
}
.energy-arrow {
    font-size: 40px;
}
.energy-text {
    max-width: 850px;
    margin: 0 auto 100px;
    font-size: 21px;
    line-height: 1.6;
    text-align: center;
}
.energy-game-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}
.energy-game-intro p {
    font-size: 24px;
    margin-bottom: 25px;
}
.energy-game-intro h3 {
    font-size: 74px;
    line-height: 1.05;
    margin: 0;
    position: relative;
    z-index: 100;
    transform-origin: center center;
    transition: opacity 0.15s linear;
}
.energy-intro {
    min-height: auto;
    padding: 5px 8vw 10px;
}
.energy-intro-content {
    width: 100%;
    max-width: 1200px;
}
.energy-intro .section-number {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.6;
}
.energy-intro h2 {
    max-width: 1200px;
    margin-bottom: 45px;
    font-size: 80px;
    line-height: 0.92;
    letter-spacing: -0.05em;
    color: #f3ead1;
    font-weight: 700;
}
.energy-intro-text {
    max-width: 650px;
    margin-bottom: 100px;
    font-size: 21px;
    line-height: 1.5;
    opacity: 0.72;
}
.energy-comparison .energy-group {
    opacity: 0;
    transition:
        opacity 1.3s ease,
        transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.energy-comparison .nonrenewable {
    transform: translateX(-70px);
}
.energy-comparison .renewable {
    transform: translateX(70px);
}
.energy-comparison .energy-arrow {
    opacity: 0;
    transform: scaleX(0.4);
    transition:
        opacity 1s ease,
        transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.energy-comparison.is-visible .nonrenewable,
.energy-comparison.is-visible .renewable {
    opacity: 1;
    transform: translateX(0);
}
.energy-comparison.is-visible .energy-arrow {
    opacity: 1;
    transform: scaleX(1);
}
.energy-comparison .energy-items span {
    opacity: 0;
    transform: translateY(15px);
    transition:
        opacity 0.8s ease,
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.energy-comparison.is-visible
.nonrenewable
.energy-items
span:nth-child(1) {
    transition-delay: 0.2s;
}
.energy-comparison.is-visible
.nonrenewable
.energy-items
span:nth-child(2) {
    transition-delay: 0.4s;
}
.energy-comparison.is-visible
.nonrenewable
.energy-items
span:nth-child(3) {
    transition-delay: 0.6s;
}
.energy-comparison.is-visible
.nonrenewable
.energy-items
span:nth-child(4) {
    transition-delay: 0.8s;
}
.energy-comparison.is-visible
.nonrenewable
.energy-items
span:nth-child(5) {
    transition-delay: 1s;
}
.energy-comparison.is-visible
.renewable
.energy-items
span:nth-child(1) {
    transition-delay: 0.2s;
}
.energy-comparison.is-visible
.renewable
.energy-items
span:nth-child(2) {
    transition-delay: 0.4s;
}
.energy-comparison.is-visible
.renewable
.energy-items
span:nth-child(3) {
    transition-delay: 0.6s;
}
.energy-comparison.is-visible
.renewable
.energy-items
span:nth-child(4) {
    transition-delay: 0.8s;
}
.energy-comparison.is-visible
.renewable
.energy-items
span:nth-child(5) {
    transition-delay: 1s;
}
.energy-comparison.is-visible
.renewable
.energy-items
span:nth-child(6) {
    transition-delay: 1.2s;
}
.energy-comparison.is-visible
.renewable
.energy-items
span:nth-child(7) {
    transition-delay: 1.4s;
}
.energy-comparison.is-visible
.energy-items
span {
    opacity: 1;
    transform: translateY(0);
}
.energy-game-intro {
    position: relative;
    min-height: 300px;
}
.energy-goal-wrapper {
    position: relative;
    min-height: 150px;
}

#energy-goal {
    position: relative;
    z-index: 100;
    transform-origin: center center;
    will-change: transform;
}
.game-intro-text {
    max-width: 650px;
    margin-bottom: 35px;
    font-size: 21px;
    line-height: 1.5;
    opacity: 0.72;
}
.energy-game {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 80px 4vw 140px;
}

.game-content {
    width: 100%;
    max-width: 1900px;
    margin: 0 auto;
}

.pacific-map-container {
    position: relative;
    width: 100%;
    height: calc(100vh - 220px);
    min-height: 650px;
    margin-top: 30px;
    overflow: visible;
}

.pacific-map {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.pacific-svg {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    overflow: visible;

    transform: none;
}

.pacific-svg g {
    overflow: visible;
}

.pacific-svg path {
    fill: rgba(243, 234, 209, 0.78);
    stroke: #08252e;
    stroke-width: 0.7;

    cursor: pointer;

    transition:
        fill 0.25s ease,
        stroke 0.25s ease,
        opacity 0.25s ease,
        filter 0.25s ease;
}

.pacific-svg path:hover {
    fill: #f3ead1;
    stroke: #08252e;
    filter: drop-shadow(0 0 8px rgba(243, 234, 209, 0.55));
}
#PG {
    transform: scale(1);
    transform-box: fill-box;
    transform-origin: center;
}

#FJ {
    transform: scale(3);
    transform-box: fill-box;
    transform-origin: center;
}

#VU {
    transform: scale(4);
    transform-box: fill-box;
    transform-origin: center;
}

#SB {
    transform: scale(3);
    transform-box: fill-box;
    transform-origin: center;
}

#NC {
    transform: scale(2.5);
    transform-box: fill-box;
    transform-origin: center;
}

#WS {
    transform: scale(5);
    transform-box: fill-box;
    transform-origin: center;
}

#TO {
    transform: scale(15);
    transform-box: fill-box;
    transform-origin: center;
}

#TV {
    transform: scale(10);
    transform-box: fill-box;
    transform-origin: center;
}

#NR {
    transform: scale(7);
    transform-box: fill-box;
    transform-origin: center;
}

#MH {
    transform: scale(8);
    transform-box: fill-box;
    transform-origin: center;
}

#FM {
    transform: scale(7);
    transform-box: fill-box;
    transform-origin: center;
}

#PW {
    transform: scale(6);
    transform-box: fill-box;
    transform-origin: center;
}

#AS {
    transform: scale(7);
    transform-box: fill-box;
    transform-origin: center;
}

#GU {
    transform: scale(7);
    transform-box: fill-box;
    transform-origin: center;
}
#map-labels {
    pointer-events: none;
}
.map-label {
    fill: #f3ead1;
    font-family: "Times New Roman", Times, serif;
    font-size: 3.5px;
    font-weight: 700;
    letter-spacing: 0.35px;
    text-anchor: middle;
    dominant-baseline: middle;
    paint-order: stroke;
    stroke: #08252e;
    stroke-width: 0.8px;
    stroke-linejoin: round;
    opacity: 0.95;
}
.map-label.png-label {
    font-size: 4.5px;
}
@media (max-width: 1200px) {

    .pacific-map-container {
        height: 700px;
    }
    .label-png {
        font-size: 21px;
    }
}


@media (max-width: 700px) {

    .energy-game {
        padding: 100px 7% 120px;
    }

    .pacific-map-container {
        height: 650px;
        min-height: 650px;
        margin-top: 30px;
    }

    .pacific-svg {
        width: 100%;
        height: 100%;
    }

    .island-label {
        font-size: 9px;
        letter-spacing: 0.04em;
    }

    .label-png {
        font-size: 13px;
    }
}
.pacific-map-container {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.pacific-map {
    position: relative;
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.pacific-svg {
    display: block;
    width: 100%;
    height: 100%;
    transform: translateY(-650px) scale(1.8) translateX(150px);
    transform-origin: center top;
}
.pacific-svg #PG {
    transform: none;
}
.map-tooltip {
    position: fixed;
    display: none;
    z-index: 9999;
    width: 260px;
    padding: 20px;
    background: #f3ead1;
    color: #08252e;
    font-family: "Times New Roman", Times, serif;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    pointer-events: none;
}

.tooltip-country {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 8px;
}

.tooltip-year {
    font-size: 10px;
    letter-spacing: 0.14em;
    opacity: 0.55;
    margin-bottom: 18px;
}

.energy-source {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-top: 1px solid rgba(8, 37, 46, 0.18);
    font-size: 14px;
}

.energy-source strong {
    font-size: 14px;
    font-weight: 700;
}

.tooltip-no-data {
    padding-top: 10px;
    font-size: 14px;
    opacity: 0.6;
}

.step-2 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 8vw;
    position: relative;
}

.step-2 .game-content {
    width: 100%;
    max-width: 1100px;
}

.step-2 .section-label {
    margin-bottom: 24px;
}

.step-2 h2 {
    max-width: 850px;
    margin: 0 0 28px;
    font-size: clamp(42px, 6vw, 82px);
    line-height: 0.95;
    letter-spacing: -0.04em;
}
.step-2 .game-intro-text {
    max-width: 650px;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 70px;
}
.game-rules {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 70px;
}

.rule {
    border-top: 1px solid rgba(0, 0, 0, 0.25);
    padding-top: 22px;
    display: flex;
    gap: 20px;
}

.rule-number {
    font-size: 12px;
    letter-spacing: 0.12em;
    opacity: 0.55;
    padding-top: 5px;
}

.rule h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 500;
}

.rule p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.65;
    max-width: 260px;
}


.game-start {
    border-top: 1px solid rgba(0, 0, 0, 0.25);
    padding-top: 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.credits-preview {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.credits-label {
    font-size: 11px;
    letter-spacing: 0.15em;
    opacity: 0.55;
}

.credits-preview strong {
    font-size: 42px;
    line-height: 1;
    font-weight: 500;
}
.save-pacific-btn {
    border: 1px solid #000;
    background: #000;
    color: #fff;

    padding: 20px 28px;

    font-family: inherit;
    font-size: 13px;
    letter-spacing: 0.08em;

    display: flex;
    align-items: center;
    gap: 35px;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.save-pacific-btn span {
    font-size: 20px;
    line-height: 1;

    transition: transform 0.25s ease;
}

.save-pacific-btn:hover {
    background: transparent;
    color: #000;
    transform: translateY(-2px);
}

.save-pacific-btn:hover span {
    transform: translateX(6px);
}
@media (max-width: 800px) {

    .step-2 {
        padding: 90px 6vw;
    }

    .step-2 h2 {
        font-size: clamp(40px, 12vw, 64px);
    }

    .game-rules {
        grid-template-columns: 1fr;
        gap: 38px;
        margin-bottom: 55px;
    }

    .rule p {
        max-width: 500px;
    }

    .game-start {
        align-items: flex-start;
        flex-direction: column;
    }

    .save-pacific-btn {
        width: 100%;
        justify-content: space-between;
    }
}
.pacific-map-container {
    position: relative;
}
.game-panel {
    position: absolute;

    top: 30px;
    right: 30px;

    width: 290px;
    max-height: calc(100% - 60px);

    box-sizing: border-box;

    background: #f3ead1;

    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 18px;

    padding: 20px;

    z-index: 20;

    opacity: 0;
    pointer-events: none;

    transform: translateY(15px);

    transition:
        opacity 0.35s ease,
        transform 0.35s ease;

    overflow-y: auto;
}
.pacific-map-container {
    position: relative;
}
.pacific-map-container.game-active .game-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.game-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding-bottom: 18px;

    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.panel-label {
    font-size: 11px;
    letter-spacing: 0.14em;
}

.panel-status {
    font-size: 9px;
    letter-spacing: 0.12em;

    opacity: 0.45;
}
.credits-box {
    padding: 25px 0 22px;
}

.credits-label {
    display: block;

    font-size: 10px;
    letter-spacing: 0.14em;

    opacity: 0.55;

    margin-bottom: 8px;
}

.credits-number {
    font-size: 48px;
    line-height: 1;
    letter-spacing: -0.04em;

    margin-bottom: 18px;
}

.credits-progress {
    width: 100%;
    height: 3px;

    background: rgba(0, 0, 0, 0.1);
}

.credits-progress-fill {
    height: 100%;
    width: 100%;

    background: #000;

    transition: width 0.3s ease;
}
.panel-section-title {
    font-size: 9px;
    letter-spacing: 0.13em;

    opacity: 0.5;

    margin: 0 0 12px;
}

.energy-options {
    border-top: 1px solid rgba(0, 0, 0, 0.15);

    padding-top: 18px;
}

.energy-option {
    width: 100%;

    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);

    background: transparent;

    padding: 12px 0;

    display: flex;
    justify-content: space-between;
    align-items: center;

    font-family: inherit;

    cursor: pointer;

    text-align: left;

    transition:
        padding 0.2s ease,
        opacity 0.2s ease;
}

.energy-option:hover {
    padding-left: 7px;
}

.energy-option span {
    font-size: 13px;
}

.energy-option strong {
    font-size: 10px;
    font-weight: 400;

    opacity: 0.55;
}

.selected-island {
    padding-top: 22px;
    margin-top: 8px;

    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

#selected-island-name {
    font-size: 20px;
    letter-spacing: -0.02em;

    margin-bottom: 6px;
}

#selected-island-hint {
    font-size: 11px;
    line-height: 1.5;

    opacity: 0.55;

    margin: 0;
}
.investment-summary {
    margin-top: 22px;

    padding-top: 20px;

    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

#investment-list {
    font-size: 11px;
    line-height: 1.7;

    opacity: 0.7;
}
.impact-button {
    width: 100%;

    margin-top: 24px;

    padding: 15px 18px;

    border: 1px solid #000;

    background: #000;
    color: #fff;

    font-family: inherit;

    font-size: 10px;
    letter-spacing: 0.1em;

    display: flex;
    justify-content: space-between;
    align-items: center;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.impact-button span {
    font-size: 18px;
}

.impact-button:hover:not(:disabled) {
    background: transparent;
    color: #000;
}

.impact-button:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}
.pacific-map-container.game-active
.pacific-svg path[id] {
    cursor: pointer;

    transition:
        fill 0.25s ease,
        opacity 0.25s ease,
        stroke-width 0.25s ease;
}

.pacific-map-container.game-active
.pacific-svg path[id]:hover {
    fill: #d8e8df;

    stroke-width: 0.5;
}

@media (max-width: 900px) {

    .game-panel {
        position: relative;

        top: auto;
        right: auto;

        width: auto;

        margin: 20px;

        order: 2;
    }

    .pacific-map-container {
        display: flex;
        flex-direction: column;
    }

    .pacific-map {
        order: 1;
    }

}
.game-panel {
    background: #ffffff;
    color: #111111;
}

.game-panel * {
    color: inherit;
}

.game-panel .panel-label,
.game-panel .panel-section-title,
.game-panel .credits-label {
    color: #111111;
}

.game-panel .panel-status {
    color: #666666;
}

.game-panel .credits-number,
.game-panel .credits-number span {
    color: #111111;
}

.game-panel #selected-island-name {
    color: #111111;
}

.game-panel #selected-island-hint {
    color: #666666;
}
.game-panel #investment-list {
    color: #333333;
}
.game-panel .energy-option {
    color: #111111;
}
.game-panel .energy-option span {
    color: #111111;
}
.game-panel .energy-option strong {
    color: #666666;
}
.game-panel .impact-button {
    background: #111111;
    color: #ffffff;
}
.game-panel .impact-button span {
    color: #ffffff;
}
.game-panel .impact-button:hover:not(:disabled) {
    background: #ffffff;
    color: #111111;
}
.game-panel .impact-button:hover:not(:disabled) span {
    color: #111111;
}
.game-instructions {
    padding: 20px 0 8px;
}
.instruction-step {
    display: flex;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.instruction-step:last-child {
    border-bottom: none;
}
.instruction-step > span {
    font-size: 9px;
    letter-spacing: 0.08em;
    color: #888;
    padding-top: 3px;
    flex-shrink: 0;
}
.instruction-step p {
    margin: 0;
    font-size: 10px;
    line-height: 1.45;
    color: #666;
}
.instruction-step strong {
    display: block;
    margin-bottom: 2px;
    font-size: 11px;
    font-weight: 500;
    color: #111;
}
.game-instructions {
    margin-bottom: 20px;
}
.instruction {
    display: flex;
    gap: 11px;
    margin-bottom: 13px;
}
.instruction:last-child {
    margin-bottom: 0;
}
.instruction > span {
    flex: 0 0 27px;
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
}
.instruction strong {
    display: block;
    font-size: 13px;
    margin-bottom: 3px;
}
.instruction p {
    margin: 0;
    font-size: 12px;
    line-height: 1.35;
    color: #555;
}
.impact-section {
    margin-top: 22px;
}
.impact-button {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 14px 18px;
    background: #111;
    color: white;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}
.impact-button:hover {
    transform: translateY(-2px);
    background: #292929;
}
.impact-summary {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}
.impact-summary.visible {
    display: block;
}
.impact-summary-header h3 {
    margin: 5px 0 6px;
    font-size: 22px;
    line-height: 1.1;
}
.impact-summary-header p {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: #666;
}
.impact-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 14px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.impact-total span {
    font-size: 12px;
    color: #666;
}
.impact-total strong {
    font-size: 24px;
}
.impact-breakdown {
    margin-top: 10px;
}
.impact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    font-size: 12px;
}
.impact-item span {
    color: #444;
}
.impact-item strong {
    font-size: 13px;
}
.back-to-game {
    width: 100%;
    margin-top: 16px;
    padding: 11px;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    font-family: inherit;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background 0.2s ease;
}
.back-to-game:hover {
    background: rgba(0, 0, 0, 0.06);
}
.impact-results {
    display: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 60px;
    padding: 50px 40px;
    background: #f4f1e8;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    overflow: hidden;
}
.impact-results.show {
    display: block;
}
.impact-message {
    max-width: 650px;
    margin-top: 15px;
    margin-bottom: 40px;
    font-size: 18px;
    line-height: 1.6;
}
.impact-grid {
    width: 100%;
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.impact-card {
    min-width: 0;
    box-sizing: border-box;
    padding: 30px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.impact-card-label {
    font-size: 11px;
    letter-spacing: 0.12em;
    font-weight: 600;
    opacity: 0.65;
}
.impact-card strong {
    display: block;
    margin-top: 20px;
    font-size: 48px;
    font-weight: 500;
    line-height: 1;
}
.impact-card p {
    margin: 15px 0 0;
    font-size: 14px;
    opacity: 0.65;
}
.impact-card-total {
    background: #111111;
    color: #ffffff;
}
.impact-card-total .impact-card-label,
.impact-card-total p {
    opacity: 0.7;
}
@media (max-width: 800px) {
    .impact-results {
        padding: 40px 25px;
    }
    .impact-grid {
        grid-template-columns: 1fr;
    }
}
.impact-results.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.impact-message {
    max-width: 650px;
    margin-top: 15px;
    margin-bottom: 40px;
    font-size: 18px;
    line-height: 1.6;
}
.impact-grid {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);
   gap: 20px;
}
.impact-card {
    padding: 30px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.impact-card-label {
    font-size: 11px;
    letter-spacing: 0.12em;
    font-weight: 600;
    opacity: 0.65;
}
.impact-card strong {
    display: block;
    margin-top: 20px;
    font-size: 48px;
    font-weight: 500;
    line-height: 1;
}

.impact-card p {
    margin: 15px 0 0;
    font-size: 14px;
    opacity: 0.65;
}
.impact-card-total {
    background: #111111;
    color: #ffffff;
}
.impact-card-total .impact-card-label,
.impact-card-total p {
    opacity: 0.7;
}
@media (max-width: 800px) {
    .impact-results {
        padding: 40px 25px;
    }
    .impact-grid {
        grid-template-columns: 1fr;
    }
}
.game-panel {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 290px;
    max-height: calc(100% - 60px);
    box-sizing: border-box;
    padding: 24px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(0, 0, 0, 0.18);
    z-index: 30;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(15px);
    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
}
.game-panel.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.game-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}
.panel-label {
   font-size: 10px;
    letter-spacing: 0.15em;
    color: #111;
}
.panel-status {
    font-size: 8px;
    letter-spacing: 0.12em;
    color: #777;
}
.game-instructions {
    margin-bottom: 22px;
}
.game-instructions .instruction {
    display: flex;
    gap: 12px;
    padding: 13px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.13);
}
.game-instructions .instruction:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.13);
}

.game-instructions .instruction > span {
    flex: 0 0 auto;
    font-size: 9px;
    color: #777;
}
.game-instructions .instruction strong {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #111;
}
.game-instructions .instruction p {
    margin: 0;
    font-size: 10px;
    line-height: 1.5;
    color: #555;
}
.game-credits {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.credits-label {
    font-size: 9px;
    letter-spacing: 0.12em;
    color: #666;
}
.game-credits strong {
    font-size: 24px;
    font-weight: 500;
    color: #111;
}
.selected-island {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 15px 0;
}
.selected-island > span {
    font-size: 8px;
    letter-spacing: 0.12em;
    color: #777;
}
.selected-island > strong {
    font-size: 14px;
    font-weight: 500;
    color: #111;
}
.energy-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.energy-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 11px 12px;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.17);
    color: #111;
    font-family: inherit;
    font-size: 10px;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}
.energy-option:hover {
    background: #111;
    color: white;
}
.energy-option.selected {
    background: #111;
    border-color: #111;
    color: white;
}
.energy-option strong {
    font-size: 9px;
    font-weight: 500;
}
.impact-button {
    width: 100%;
    margin-top: 18px;
    padding: 13px;
    background: #111;
    border: 1px solid #111;
    color: white;
    font-family: inherit;
    font-size: 9px;
    letter-spacing: 0.14em;
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.impact-button:hover {
    opacity: 0.75;
}
.impact-result {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}
.impact-result.visible {
    display: block;
}
.impact-score {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.impact-score strong {
    font-size: 40px;
    line-height: 1;
    font-weight: 500;
    color: #111;
}
.impact-score span {
    font-size: 8px;
    letter-spacing: 0.13em;
    color: #777;
}
#impactMessage {
    margin: 14px 0 18px;
    font-size: 11px;
    line-height: 1.6;
    color: #333;
}
.game-reset-button {
    width: 100%;
    margin-top: 14px;
    padding: 13px 16px;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.18);
    color: #111;
    font-family: inherit;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    cursor: pointer;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.game-reset-button:hover {
    background: #111;
    border-color: #111;
    color: #fff;
    transform: translateY(-2px);
}
.pacific-svg path.game-selected-island {
    stroke: #111;
    stroke-width: 0.8;
    filter:
        drop-shadow(0 0 4px rgba(0, 0, 0, 0.35));
}
@media (max-width: 800px) {
    .game-panel {
        position: absolute;
        top: 15px;
        right: 15px;
        width: 260px;
        max-height: calc(100% - 30px);
        padding: 18px;
    }
}
.impact-summary {
    display: none;
}
.impact-summary.visible {
    display: block;
}
.conclusion-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 110px 8vw 90px;
    color: #f3ead1;
}
.conclusion-content .section-label {
    margin-bottom: 22px;
    font-size: 11px;
    letter-spacing: 0.18em;
    opacity: 0.55;
}
.conclusion-content h2 {
    max-width: 850px;
    margin: 0 0 35px;
    font-size: clamp(48px, 6vw, 76px);
    line-height: 0.94;
    letter-spacing: -0.045em;
    font-weight: 700;
    color: #f3ead1;
}
.conclusion-intro {
    max-width: 650px;
    margin-bottom: 65px;
}
.conclusion-intro p {
    margin: 0;
    font-size: 19px;
    line-height: 1.55;
    opacity: 0.72;
}
.conclusion-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(243, 234, 209, 0.22);
    border-bottom: 1px solid rgba(243, 234, 209, 0.22);
}
.conclusion-card {
    padding: 25px 22px 30px;
    border-right: 1px solid rgba(243, 234, 209, 0.15);
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}
.conclusion-card:last-child {
    border-right: none;
}
.conclusion-card:hover {
    background: rgba(243, 234, 209, 0.035);
    transform: translateY(-3px);
}
.conclusion-number {
    display: block;
    margin-bottom: 24px;
    font-size: 10px;
    letter-spacing: 0.14em;
    opacity: 0.45;
}
.conclusion-card h3 {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.1;
    font-weight: 500;
}
.conclusion-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    opacity: 0.62;
}
.conclusion-statement {
    max-width: 850px;
    margin: 70px auto 0;
    text-align: center;
}
.statement-line {
    width: 100%;
    height: 1px;
    margin-bottom: 35px;
    background: rgba(243, 234, 209, 0.22);
}
.conclusion-statement > p {
    max-width: 700px;
    margin: 0 auto 45px;
    font-size: 21px;
    line-height: 1.5;
    opacity: 0.72;
}
.statement-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 15px;
    letter-spacing: 0.12em;
}
.statement-highlight strong {
    font-size: 25px;
    letter-spacing: -0.02em;
}
.conclusion-end {
    margin-top: 75px;
    padding-top: 25px;
    border-top: 1px solid rgba(243, 234, 209, 0.18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.conclusion-end > span {
    font-size: 10px;
    letter-spacing: 0.15em;
    opacity: 0.5;
}
.conclusion-restart {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 13px 18px;
    background: transparent;
    border: 1px solid rgba(243, 234, 209, 0.4);
    color: #f3ead1;
    font-family: inherit;
    font-size: 10px;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}
.conclusion-restart span {
    font-size: 17px;
    transition: transform 0.25s ease;
}
.conclusion-restart:hover {
    background: #f3ead1;
    color: #08252e;
    transform: translateY(-2px);
}
.conclusion-restart:hover span {
    transform: translate(4px, -4px);
}
@media (max-width: 900px) {

    .conclusion-content {
        padding: 90px 7vw 75px;
    }
    .conclusion-content h2 {
        font-size: clamp(42px, 11vw, 62px);
    }
    .conclusion-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .conclusion-card:nth-child(2) {
        border-right: none;
    }
    .conclusion-card:nth-child(1),
    .conclusion-card:nth-child(2) {
        border-bottom: 1px solid rgba(243, 234, 209, 0.15);
    }
}
@media (max-width: 600px) {
    .conclusion-content {
        padding: 75px 7vw 65px;
    }
    .conclusion-content h2 {
        font-size: clamp(40px, 12vw, 56px);
        line-height: 0.96;
    }
    .conclusion-intro {
        margin-bottom: 45px;
    }
    .conclusion-intro p {
        font-size: 17px;
    }
    .conclusion-grid {
        grid-template-columns: 1fr;
    }
    .conclusion-card {
        border-right: none;
        border-bottom: 1px solid rgba(243, 234, 209, 0.15);
        padding: 22px 0;
    }
    .conclusion-card:last-child {
        border-bottom: none;
    }
    .conclusion-card:nth-child(1),
    .conclusion-card:nth-child(2) {
        border-bottom: 1px solid rgba(243, 234, 209, 0.15);
    }
    .conclusion-statement {
        margin-top: 55px;
    }
    .conclusion-statement > p {
        font-size: 18px;
        margin-bottom: 35px;
    }
    .statement-highlight {
        font-size: 12px;
        gap: 7px;
    }
    .statement-highlight strong {
        font-size: 20px;
    }
    .conclusion-end {
        margin-top: 55px;
        align-items: flex-start;
        flex-direction: column;
    }
    .conclusion-restart {
        width: 100%;
        justify-content: space-between;
    }
}
@media (max-width: 900px) {
    html, body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    main {
        width: 100%;
        overflow-x: hidden;
    }

    .first {
        min-height: 100svh;
        height: 100svh;
    }

    .waves {
        bottom: 170px;
        height: 220px;
    }

    .hero-title {
        width: min(88vw, 620px);
    }

    .hero-title h1 {
        font-size: clamp(48px, 13vw, 78px);
        line-height: 0.94;
        white-space: normal;
    }

    .hero-title h2 {
        margin-top: 20px;
        font-size: clamp(20px, 5vw, 28px);
        line-height: 1.15;
        white-space: normal;
    }

    .scroll-indicator {
        bottom: 22px;
        font-size: 10px;
        letter-spacing: 0.14em;
    }

    .section-label {
        font-size: 10px;
        line-height: 1.5;
        letter-spacing: 0.13em;
    }

    .section-intro,
    .energy-intro-text,
    .game-intro-text {
        font-size: 18px;
        line-height: 1.55;
    }

    .ocean-section,
    .emissions-section {
        padding-left: 7vw;
        padding-right: 7vw;
    }

    .ocean-section h2,
    .emissions-section h2 {
        font-size: clamp(42px, 11vw, 64px);
        line-height: 0.94;
        overflow-wrap: break-word;
    }
    .chart-container {
        width: 100%;
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 20px;
    }

    .chart-header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 24px;
        line-height: 1.45;
    }

    .chart-header p {
        max-width: 100%;
        font-size: 10px;
        letter-spacing: 0.06em;
        line-height: 1.45;
    }

    #bar-chart {
        width: 920px;
        min-width: 920px;
        height: 340px;
        gap: 7px;
    }

    .country-label {
        bottom: -105px;
        font-size: 9px;
    }

    .tooltip {
        font-size: 12px;
    }
    .emissions-chart-container {
        margin-top: 65px;
        overflow: hidden;
    }

    .emissions-chart-header {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        margin-bottom: 28px;
        line-height: 1.45;
    }

    .emissions-chart-header > p {
        font-size: 10px;
        line-height: 1.45;
        letter-spacing: 0.06em;
    }

    .year-timeline {
        width: 100%;
        min-width: 0;
        gap: 8px;
    }

    #year-slider {
        min-width: 0;
    }

    .emission-country {
        width: 112px;
        font-size: 10px;
        line-height: 1.2;
    }

    .emission-value {
        width: 48px;
        margin-left: 8px;
        font-size: 9px;
    }

    .emission-row {
        min-height: 24px;
    }
    .energy-intro {
        min-height: auto;
        padding: 80px 7vw 90px;
        display: block;
    }

    .energy-intro h2 {
        font-size: clamp(42px, 11vw, 64px);
        line-height: 0.95;
        margin-bottom: 32px;
    }

    .energy-intro-text {
        margin-bottom: 60px;
    }

    .energy-comparison {
        flex-direction: column;
        gap: 28px;
        margin-bottom: 60px;
        overflow: visible;
    }

    .energy-group {
        width: 100%;
    }

    .energy-arrow {
        transform: rotate(90deg);
        font-size: 30px;
    }

    .energy-comparison .nonrenewable,
    .energy-comparison .renewable {
        transform: translateY(25px);
    }

    .energy-comparison.is-visible .nonrenewable,
    .energy-comparison.is-visible .renewable {
        transform: translateY(0);
    }

    .energy-items span {
        padding: 8px 12px;
        font-size: 12px;
    }

    .energy-game-intro {
        min-height: auto;
        margin-bottom: 20px;
    }

    .energy-game-intro h3 {
        font-size: clamp(40px, 10vw, 64px);
        line-height: 1.02;
    }

    .step-2 {
        min-height: auto;
        padding: 80px 7vw 90px;
    }

    .step-2 h2 {
        font-size: clamp(42px, 11vw, 64px);
        line-height: 0.95;
    }

    .game-rules {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 45px;
    }
    .rule {
        gap: 14px;
    }

    .rule p {
        max-width: none;
    }

    .game-start {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
    }

    .save-pacific-btn {
        width: 100%;
        justify-content: space-between;
    }
    .energy-game {
        min-height: auto;
        padding: 70px 7vw 110px;
    }
    .game-content {
        width: 100%;
    }
    .pacific-map-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: auto;
        min-height: 0;
        margin-top: 25px;
        overflow: visible;
    }
    .pacific-map {
        order: 1;
        position: relative;
        width: 100%;
        height: 430px;
        min-height: 430px;
        overflow: hidden;
    }

    .pacific-svg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        transform: none;
        transform-origin: center center;
        overflow: visible;
    }
    .map-label {
        font-size: 3.2px;
    }

    .map-label.png-label {
        font-size: 4px;
    }

    .game-panel {
        order: 2;
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        max-height: none;
        margin: 24px 0 0;
        padding: 20px;
        border-radius: 16px;
        box-sizing: border-box;
    }
    .pacific-map-container.game-active .game-panel {
        transform: translateY(0);
    }
    .game-panel-header {
        margin-bottom: 18px;
    }
    .credits-number {
        font-size: 42px;
    }
    .energy-option {
        min-height: 46px;
        padding: 12px;
    }
    .energy-option:hover {
        padding-left: 12px;
        background: transparent;
        color: #111;
    }
    .energy-option:active {
        background: #111;
        color: #fff;
    }
    .impact-results {
        margin-top: 40px;
        padding: 35px 20px;
    }
    .impact-grid {
        grid-template-columns: 1fr;
    }
    .map-tooltip {
        display: none !important;
    }
    .conclusion-content {
        padding-left: 7vw;
        padding-right: 7vw;
    }
}

@media (max-width: 600px) {
    .hero-title h1 {
        font-size: clamp(44px, 14vw, 62px);
    }

    .hero-title h2 {
        font-size: 20px;
    }
    .waves {
        bottom: 135px;
        height: 180px;
    }

    .ocean-section,
    .emissions-section {
        padding-top: 95px;
        padding-bottom: 120px;
    }
    .ocean-section h2,
    .emissions-section h2,
    .energy-intro h2 {
        font-size: clamp(40px, 12vw, 56px);
    }
    #bar-chart {
        width: 850px;
        min-width: 850px;
        height: 310px;
    }
    .emission-country {
        width: 98px;
        font-size: 9px;
    }
    .emission-value {
        width: 44px;
        font-size: 9px;
    }
    .energy-intro {
        padding-top: 65px;
    }
    .pacific-map {
        height: 360px;
        min-height: 360px;
    }
    .game-panel {
        padding: 18px;
    }
    .instruction p {
        font-size: 11px;
    }
    .instruction strong {
        font-size: 12px;
    }
    .conclusion-end {
        align-items: stretch;
    }
    .conclusion-restart {
        width: 100%;
        justify-content: space-between;
    }
}
@media (max-width: 380px) {
    .hero-title h1 {
        font-size: 42px;
    }
    .hero-title h2 {
        font-size: 18px;
    }
    .pacific-map {
        height: 320px;
        min-height: 320px;
    }
    .emission-country {
        width: 88px;
        font-size: 8px;
    }
}
