/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000000;
    font-family: 'Courier New', monospace;
    color: #2ee92e;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: unset;
    text-rendering: optimizeSpeed;
}
a {
    color: #2ee92e;
    text-decoration: none;
}
li {
    font-size: 12px;
    margin-left: 30px;
    margin-top: 10px;
}
.container {
    display: grid;
    grid-template-columns: 300px 500px;
    gap: 30px;
    max-width: 900px;
}

/* Panneau gauche */
.left-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.date {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
}

.battery {
    display: flex;
    align-items: center;
}

.first_last_name {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 30px 0;
}

.time-hours,
.time-minutes,
.name-line {
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
}

.bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.temp,
.notifications {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

/* Système de pixels pour les icônes */
.pixel-icon {
    display: inline-block;
    position: relative;
}

/* Icône batterie en pixels */
.battery-icon {
    width: 16px;
    height: 16px;
    display: grid;
    grid-template-columns: repeat(4, 4px);
    grid-template-rows: repeat(4, 4px);
    gap: 0;
}

.battery-icon::before {
    content: '';
    grid-column: 1 / 4;
    grid-row: 1 / 4;
    background-color: #2ee92e;
    border: 1px solid #2ee92e;
}

.battery-icon::after {
    content: '';
    grid-column: 4 / 5;
    grid-row: 1 / 3;
    background-color: #2ee92e;
}

/* Icône soleil en pixels */
.sun-icon {
    width: 16px;
    height: 16px;
    display: grid;
    grid-template-columns: repeat(4, 4px);
    grid-template-rows: repeat(4, 4px);
    gap: 0;
}

.sun-icon::before {
    content: '';
    grid-column: 1 / 5;
    grid-row: 2 / 3;
    background-color: #2ee92e;
}

.sun-icon::after {
    content: '';
    grid-column: 2 / 3;
    grid-row: 1 / 5;
    background-color: #2ee92e;
}

/* Icône cloche en pixels */
.bell-icon {
    width: 12px;
    height: 12px;
    display: grid;
    grid-template-columns: repeat(3, 4px);
    grid-template-rows: repeat(3, 4px);
    gap: 0;
}

.bell-icon::before {
    content: '';
    grid-column: 1 / 4;
    grid-row: 1 / 3;
    background-color: #2ee92e;
    border: 1px solid #2ee92e;
}

.bell-icon::after {
    content: '';
    grid-column: 1 / 4;
    grid-row: 3 / 4;
    background-color: #2ee92e;
}

/* Icône calendrier en pixels */
.calendar-icon {
    width: 12px;
    height: 12px;
    display: grid;
    grid-template-columns: repeat(3, 4px);
    grid-template-rows: repeat(3, 4px);
    gap: 0;
    border: 1px solid #2ee92e;
}

.calendar-icon::before {
    content: '';
    grid-column: 1 / 4;
    grid-row: 1 / 2;
    background-color: #2ee92e;
}

.calendar-icon::after {
    content: '';
    grid-column: 1 / 2;
    grid-row: 2 / 4;
    background-color: #2ee92e;
    width: 100%;
    height: 100%;
}

/* Icône localisation en pixels (épingle) */
.location-icon {
    width: 8px;
    height: 12px;
    display: grid;
    grid-template-columns: repeat(2, 4px);
    grid-template-rows: repeat(3, 4px);
    gap: 0;
}

.location-icon::before {
    content: '';
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    background-color: #2ee92e;
}

.location-icon::after {
    content: '';
    grid-column: 1 / 3;
    grid-row: 2 / 4;
    background-color: #2ee92e;
}

/* Icône horloge en pixels */
.clock-icon {
    width: 12px;
    height: 12px;
    display: grid;
    grid-template-columns: repeat(3, 4px);
    grid-template-rows: repeat(3, 4px);
    gap: 0;
    border: 1px solid #2ee92e;
    border-radius: 0;
    background-color: transparent;
}

.clock-icon::before {
    content: '';
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    background-color: #2ee92e;
}

.clock-icon::after {
    content: '';
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    background-color: #2ee92e;
}

/* Panneau droit */
.right-panel {
    border: 2px solid #2ee92e;
    border-radius: 2px;
    padding: 15px;
    position: relative;
    min-height: 400px;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
}

/* Jeu Frogger */
.game-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.game-info {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    margin-bottom: 10px;
    color: #2ee92e;
    font-weight: bold;
    flex-shrink: 0;
}

.game-board {
    width: 100%;
    flex: 1 1 auto;
    background-color: #161616;
    border: 1px solid #2ee92e;
    font-family: 'Courier New', monospace;
    color: #2ee92e;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
}

.game-board pre {
    margin: 0;
    padding: 10px;
    white-space: pre;
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 2px;
    image-rendering: pixelated;
    -webkit-font-smoothing: none;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-controls {
    margin-top: 10px;
    text-align: center;
    flex-shrink: 0;
}

.control-hint {
    font-size: 10px;
    color: #2ee92e;
    opacity: 0.7;
}

.scroll-indicator {
    position: absolute;
    left: 5px;
    top: 20px;
    width: 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.scroll-indicator::before,
.scroll-indicator::after {
    content: '';
    width: 6px;
    height: 6px;
    background-color: #2ee92e;
}

.scroll-indicator::before {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.scroll-indicator::after {
    margin-top: 6px;
}

.events-container {
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.event-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.event-title {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.event-detail {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 900px) {
    .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .left-panel {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .right-panel {
        max-width: 500px;
        margin: 0 auto;
    }
}

