* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Arial Rounded MT Bold', cursive;
    background: linear-gradient(135deg, #FFB6C1 0%, #FFC0CB 50%, #FFE4E1 100%);
    min-height: 100vh;
    padding: 0;
    overflow-x: hidden;
}

.container {
    max-width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    text-align: center;
    color: #FF69B4;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 3px solid #FF69B4;
    box-shadow: 0 2px 10px rgba(255, 105, 180, 0.3);
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(255, 192, 203, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.hello-kitty-icon {
    font-size: 1.2em;
}

.subtitle {
    font-size: 1em;
    color: #FF1493;
    font-weight: 600;
}

/* main content */
.main-content {
    display: flex;
    flex: 1;
    padding: 20px;
    gap: 30px;
    overflow: hidden;
}

/* left side */
.traffic-light-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.traffic-light {
    background: #FFF0F5;
    border-radius: 30px;
    padding: 40px 30px;
    width: 220px;
    box-shadow: 0 10px 40px rgba(255, 105, 180, 0.4);
    border: 5px solid #FF69B4;
}

.light {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 25px auto;
    background: #FFE4E1;
    transition: all 0.3s ease;
    box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 4px solid #FFC0CB;
}

.light.red.active {
    background: #FF69B4;
    box-shadow: 0 0 40px #FF1493, inset 0 5px 15px rgba(255, 20, 147, 0.3);
    border-color: #FF1493;
}

.light.yellow.active {
    background: #FFD700;
    box-shadow: 0 0 40px #FFA500, inset 0 5px 15px rgba(255, 165, 0, 0.3);
    border-color: #FFA500;
}

.light.green.active {
    background: #98FB98;
    box-shadow: 0 0 40px #00FA9A, inset 0 5px 15px rgba(0, 250, 154, 0.3);
    border-color: #00FA9A;
}

/* right side - control panel */
.control-section {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
}

.status-panel,
.control-panel {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(255, 105, 180, 0.3);
    border: 3px solid #FFB6C1;
}

h2 {
    color: #FF69B4;
    margin-bottom: 20px;
    border-bottom: 3px solid #FFB6C1;
    padding-bottom: 10px;
    font-size: 1.5em;
}

h3 {
    color: #FF1493;
    margin: 20px 0 15px 0;
    font-size: 1.1em;
}

/* status info */
.status-info {
    display: grid;
    gap: 15px;
}

.status-item {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    background: #FFF0F5;
    border-radius: 10px;
    border: 2px solid #FFB6C1;
}

.label {
    font-weight: 600;
    color: #FF1493;
}

.value {
    color: #FF69B4;
    font-weight: 500;
}

/* buttons */
.button-group {
    margin-bottom: 20px;
}

.btn {
    width: 100%;
    padding: 15px 25px;
    margin: 10px 0;
    border: none;
    border-radius: 15px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: 'Comic Sans MS', cursive;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(255, 105, 180, 0.3);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, #FFB6C1, #FF69B4);
    color: white;
    border: 2px solid #FF1493;
}

.btn-secondary {
    background: linear-gradient(135deg, #FFC0CB, #FFB6C1);
    color: #FF1493;
    border: 2px solid #FFB6C1;
}

.btn-danger {
    background: linear-gradient(135deg, #FF1493, #C71585);
    color: white;
    border: 2px solid #C71585;
}

.btn-red {
    background: linear-gradient(135deg, #FFB6C1, #FFC0CB);
    color: #FF1493;
    border: 2px solid #FFB6C1;
}

.btn-yellow {
    background: linear-gradient(135deg, #FFD4E5, #FFE0EC);
    color: #FF69B4;
    border: 2px solid #FFC0CB;
}

.btn-green {
    background: linear-gradient(135deg, #FFE8ED, #FFF0F5);
    color: #FF1493;
    border: 2px solid #FFB6C1;
}

/* footer */
footer {
    text-align: center;
    color: #FF69B4;
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    border-top: 3px solid #FFB6C1;
    font-weight: 600;
}

/* scroll style */
.control-section::-webkit-scrollbar {
    width: 8px;
}

.control-section::-webkit-scrollbar-track {
    background: #FFE4E1;
    border-radius: 10px;
}

.control-section::-webkit-scrollbar-thumb {
    background: #FF69B4;
    border-radius: 10px;
}

/* responsive */
@media (max-width: 900px) {
    .main-content {
        flex-direction: column;
        overflow-y: auto;
    }

    .traffic-light-section {
        flex: none;
    }

    .control-section {
        flex: none;
    }
}

.traffic-light-container {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-direction: row;

}

.hello-kitty-gif {
    width: 150px;

}

.hello-kitty-gif img {
    width: 100%;
    image-rendering: pixelated;
    border-radius: 15px;
    background: linear-gradient(135deg, #FFE4E1, #FFC0CB);
    padding: 10px;
    box-shadow: 0 5px 20px rgba(255, 105, 180, 0.4);
    border: 3px solid #FFB6C1;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}