* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-x: hidden;
}

.container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    width: 100%;
    position: relative;
}

h1 {
    color: #333;
    text-align: center;
    margin-bottom: 25px;
    font-size: 32px;
}

.story-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 5px solid #2196f3;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.data-visual {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.data-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.icon {
    font-size: 40px;
    animation: icon-float 3s ease-in-out infinite;
}

.icon:nth-child(1) { animation-delay: 0s; }
.icon:nth-child(2) { animation-delay: 0.2s; }
.icon:nth-child(3) { animation-delay: 0.4s; }
.icon:nth-child(4) { animation-delay: 0.6s; }
.icon:nth-child(5) { animation-delay: 0.8s; }

@keyframes icon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.story-text {
    color: #333;
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 15px;
}

.story-text strong,
.question strong {
    color: #1976d2;
    font-size: 18px;
}

.question {
    color: #333;
    line-height: 1.8;
    font-size: 17px;
    font-weight: 500;
    text-align: center;
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
}

/* Internet Visual */
.internet-visual {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    padding: 40px;
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.globe {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.globe-inner {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #42a5f5 0%, #1e88e5 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 40px rgba(33, 150, 243, 0.6);
    animation: globe-pulse 3s ease-in-out infinite;
}

@keyframes globe-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 40px rgba(33, 150, 243, 0.6); }
    50% { transform: scale(1.05); box-shadow: 0 0 60px rgba(33, 150, 243, 0.9); }
}

.globe-emoji {
    font-size: 70px;
}

.orbit-line {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: orbit-rotate 10s linear infinite;
}

.orbit-1 {
    width: 140px;
    height: 140px;
    top: 30px;
    left: 30px;
}

.orbit-2 {
    width: 170px;
    height: 170px;
    top: 15px;
    left: 15px;
    animation-duration: 15s;
}

.orbit-3 {
    width: 200px;
    height: 200px;
    top: 0;
    left: 0;
    animation-duration: 20s;
}

@keyframes orbit-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.data-point {
    position: absolute;
    font-size: 30px;
    animation: data-orbit 8s ease-in-out infinite;
}

.point-1 {
    top: 10%;
    left: 50%;
    animation-delay: 0s;
}

.point-2 {
    top: 50%;
    right: 10%;
    animation-delay: 2s;
}

.point-3 {
    bottom: 10%;
    left: 50%;
    animation-delay: 4s;
}

.point-4 {
    top: 50%;
    left: 10%;
    animation-delay: 6s;
}

@keyframes data-orbit {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(10px, -10px) scale(1.2); }
}

/* Data Card */
.data-card {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    border-radius: 15px;
    padding: 25px;
    margin: 30px auto;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(238, 90, 111, 0.4);
    text-align: center;
    color: white;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.card-icon {
    font-size: 35px;
}

.card-title {
    font-size: 20px;
    font-weight: bold;
}

.card-value {
    font-size: 42px;
    font-weight: bold;
    margin: 15px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Courier New', monospace;
}

.card-subtitle {
    font-size: 16px;
    opacity: 0.9;
    font-style: italic;
}

/* Choices Section */
.choices-section {
    margin: 40px 0;
}

.choices-section h3 {
    color: #333;
    text-align: center;
    margin-bottom: 25px;
    font-size: 20px;
}

.choices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.choice-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8edf2 100%);
    border: 3px solid #bdbdbd;
    border-radius: 15px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.choice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    border-color: #667eea;
}

.choice-label {
    position: absolute;
    top: 10px;
    left: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.choice-content {
    text-align: center;
    margin-top: 15px;
}

.choice-text {
    color: #333;
    font-size: 26px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

.choice-card.correct {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    border-color: #2e7d32;
    animation: correct-pulse 0.6s ease;
}

.choice-card.correct .choice-text,
.choice-card.correct .choice-label {
    color: white;
}

.choice-card.incorrect {
    animation: shake 0.5s ease;
}

@keyframes correct-pulse {
    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); }
}

.choice-card.disabled {
    pointer-events: none;
    opacity: 0.6;
}

/* Feedback */
.feedback {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    min-height: 30px;
    margin: 20px 0;
}

.feedback.success {
    color: #4caf50;
}

.feedback.error {
    color: #f44336;
}

/* Reset Button */
.reset-btn {
    display: block;
    margin: 20px auto;
    background: #4caf50;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reset-btn:hover {
    background: #388e3c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.reset-btn:active {
    transform: translateY(0);
}

/* Info Box */
.info-box {
    background: #e8f5e9;
    border-left: 5px solid #4caf50;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
}

.info-box h3 {
    color: #2e7d32;
    margin-bottom: 10px;
    font-size: 18px;
}

.info-box p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 10px;
}

.formula {
    text-align: center;
    font-size: 24px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    margin: 15px 0;
}

/* Balloons Animation */
.balloons-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    display: none;
}

.balloons-animation.active {
    display: block;
}

.balloon {
    position: absolute;
    font-size: 60px;
    animation: balloon-rise 4s ease-out forwards;
    opacity: 0;
}

.balloon-red {
    left: 10%;
    bottom: -100px;
    animation-delay: 0s;
    filter: hue-rotate(0deg);
}

.balloon-blue {
    left: 20%;
    bottom: -100px;
    animation-delay: 0.3s;
    filter: hue-rotate(200deg);
}

.balloon-green {
    left: 35%;
    bottom: -100px;
    animation-delay: 0.6s;
    filter: hue-rotate(100deg);
}

.balloon-yellow {
    left: 50%;
    bottom: -100px;
    animation-delay: 0.9s;
    filter: hue-rotate(50deg);
}

.balloon-purple {
    left: 65%;
    bottom: -100px;
    animation-delay: 1.2s;
    filter: hue-rotate(280deg);
}

.balloon-orange {
    left: 75%;
    bottom: -100px;
    animation-delay: 1.5s;
    filter: hue-rotate(30deg);
}

.balloon-pink {
    left: 85%;
    bottom: -100px;
    animation-delay: 1.8s;
    filter: hue-rotate(320deg);
}

.balloon-cyan {
    left: 92%;
    bottom: -100px;
    animation-delay: 2.1s;
    filter: hue-rotate(180deg);
}

@keyframes balloon-rise {
    0% {
        opacity: 0;
        transform: translateY(0) rotate(0deg);
    }
    10% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-1000px) rotate(30deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 25px;
    }

    h1 {
        font-size: 26px;
    }

    .choices-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .globe {
        transform: scale(0.8);
    }

    .card-value {
        font-size: 32px;
    }

    .choice-text {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .story-box {
        padding: 15px;
    }

    .story-text,
    .question {
        font-size: 14px;
    }

    .data-icons {
        gap: 10px;
    }

    .icon {
        font-size: 30px;
    }

    .globe {
        transform: scale(0.6);
    }

    .choice-text {
        font-size: 20px;
    }
}
