.aws-cuaca-page {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f6f9;
    border-radius: 20px;
    padding: 20px;
    color: #212529;
    margin-top: 0;
    padding-top: 0;
}

.aws-cuaca-page .container {
    max-width: 1200px;
    margin: auto;
    padding-top: 0;
    padding: 0 20px 20px 20px;
}

.aws-cuaca-page .header {
    text-align: center;
    margin-bottom: 30px;
}

.aws-cuaca-page .main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;

    align-items: stretch;
}

.aws-cuaca-page .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    height: 100%;
}

@media (max-width: 768px) {
     .aws-cuaca-page .main-grid {
        grid-template-columns: 1fr;
    }

    .aws-cuaca-page .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .aws-cuaca-page .grid {
        grid-template-columns: 1fr;
    }
}

.aws-cuaca-page .card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    text-align: center;
    border: 1px solid #e9ecef;
}

.aws-cuaca-page .wind-card {
    display: flex;
    flex-direction: column;

    justify-content: space-evenly;
    align-items: center;

    padding: 25px 15px;

    min-height: calc(100% - 5px);
    padding-bottom: 35px;
}

.aws-cuaca-page .card h2 {
    margin: 10px 0;
    font-size: 28px;
}

.aws-cuaca-page .card p {
    margin: 0;
    opacity: 0.9;
}

.aws-cuaca-page .kompas {
    width: 145px;
    height: 145px;
    border: 5px solid #1976d2;
    border-radius: 50%;
     margin: 10px auto;
    position: relative;
    overflow: visible;
}

.aws-cuaca-page .jarum {
    position: absolute;

    width: 150px;
    height: 10px;

    top: 50%;
    left: 50%;

    z-index: 5;
}
.aws-cuaca-page .jarum::before {
    content: '';

    position: absolute;

    left: 40%;
    top: 0;

    width: 85px;
    height: 10px;

    background: #fbc02d;

    border-radius: 20px;

    clip-path: polygon(
        0 35%,
        75% 35%,
        75% 0,
        100% 50%,
        75% 100%,
        75% 65%,
        0 65%
    );

    box-shadow:
        0 2px 4px rgba(0,0,0,0.25);
}
.aws-cuaca-page .jarum::after {
    content: '';

    position: absolute;

    right: 50%;
    top: 3px;

    width: 65px;
    height: 4px;

    background: #fbc02d;

    border-radius: 10px;
}
.aws-cuaca-page .titik {
    width: 24px;
    height: 24px;
    background: #1976d2;
    border-radius: 50%;

    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    z-index: 10;

    box-shadow: 0 0 8px rgba(25,118,210,0.4);
}

.aws-cuaca-page .label {
    position: absolute;
    font-weight: bold;
}

.aws-cuaca-page .n {
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
}

.aws-cuaca-page .s {
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
}

.aws-cuaca-page .e {
    right: -22px;
    top: 50%;
    transform: translateY(-50%);
}

.aws-cuaca-page .w {
    left: -22px;
    top: 50%;
    transform: translateY(-50%);
}

.aws-cuaca-page .footer {
    text-align: center;
    margin-top: 30px;
    opacity: 0.8;
}
.aws-cuaca-page .info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding: 12px 18px;
    background: white;
    border-radius: 12px;
    font-size: 16px;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

@media (max-width: 600px) {
    .aws-cuaca-page .info-bar {
        flex-direction: column;
        gap: 5px;
    }
}
.aws-cuaca-page .card i {
    font-size: 36px;
    margin-bottom: 10px;
    color: #1976d2;
}
.aws-cuaca-page .header h1 {
    margin: 0;
    font-size: 32px;
    color: #0d47a1;
}

.aws-cuaca-page .header p {
    opacity: 0.9;
    color: #495057;
}
.aws-cuaca-page .update-live {
    display: flex;
    align-items: center;
    gap: 12px;
}

.aws-cuaca-page .live-badge {
    position: relative;
    overflow: visible;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 30px;
    background: rgba(255, 0, 0, 0.08);
    color: #d50000;
    font-weight: bold;
    font-size: 14px;
    border: 1px solid rgba(255,0,0,0.15);
}

.aws-cuaca-page .live-dot {
    width: 10px;
    height: 10px;

    background: #ff1744;
    border-radius: 50%;

    position: relative;

    z-index: 2;
}

.aws-cuaca-page .live-dot::before {
    content: '';

    position: absolute;

    top: 50%;
    left: 50%;

    width: 10px;
    height: 10px;

    background: rgba(255, 23, 68, 0.45);

    border-radius: 50%;

    transform: translate(-50%, -50%);

    animation: livePulse 1.5s ease-out infinite;

    z-index: 1;
}

@keyframes livePulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    70% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}
.aws-cuaca-page {
    animation: fadeIn 0.8s ease;
}

.aws-cuaca-page .card {
    animation: slideUp 0.7s ease;
    will-change: transform, opacity;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}