* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    background: #0e0e0e;
    min-height: 100vh;
    color: #e8f5e8;
    overflow-x: hidden;
}

header {
    text-align: center;
    padding: 3rem 1rem;
    background: #2b5332;
    border-bottom: 1px solid #1a1a1a;
}

header h1 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #b8e6b8;
    margin-bottom: 0.5rem;
}

header p {
    color: #9dd69d;
    font-size: 1rem;
    font-weight: 400;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.cs {
    text-align: center;
    margin-bottom: 3rem;
}

.cc {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.clock {
    width: 280px;
    height: 280px;
    position: relative;
    background: #1a1a1a;
    border-radius: 50%;
    border: 3px solid #b8e6b8;
    animation: none;
}

@keyframes cg {
    from {
        border-color: #b8e6b8;
    }
    to {
        border-color: #9dd69d;
    }
}

.cf {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.hm {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hm::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 20px;
    background: #e2e8f0;
    border-radius: 2px;
}

.hand {
    position: absolute;
    left: 50%;
    bottom: 50%;
    transform-origin: bottom center;
    background: #e2e8f0;
    border-radius: 4px 4px 0 0;
    box-shadow: 0 2px 10px rgba(226, 232, 240, 0.3);
}

.hh {
    width: 6px;
    height: 80px;
    margin-left: -3px;
}

.mh {
    width: 4px;
    height: 110px;
    margin-left: -2px;
}

.sh {
    width: 2px;
    height: 120px;
    margin-left: -1px;
    background: #22c55e;
}

.cd {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: #e2e8f0;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(226, 232, 240, 0.5);
}

.td {
    text-align: center;
}

.cud {
    font-size: 1.5rem;
    font-weight: 600;
    color: #22c55e;
    margin-bottom: 0.5rem;
}

.cdd {
    font-size: 1.2rem;
    color: #4ade80;
    font-weight: 300;
}

.tc {
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.tc label {
    display: block;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: #22c55e;
}

#timeslider {
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, #374151, #22c55e);
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
    margin-bottom: 1rem;
}

#timeslider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: #22c55e;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(34, 197, 94, 0.3);
}

#timeslider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #22c55e;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.tm {
    display: flex;
    justify-content: space-between;
    color: #4ade80;
    font-size: 0.9rem;
}

.es {
    margin: 3rem 0;
}

.di {
    text-align: center;
}

#decadetitle {
    font-size: 2.5rem;
    color: #22c55e;
    margin-bottom: 2rem;
    font-weight: 700;
}

.eg {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.eventcard {
    background: #234f2fcc;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(34, 197, 94, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(34, 197, 94, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.eventcard:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(34, 197, 94, 0.3);
}

.eventimage {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.eventyear {
    font-size: 1.1rem;
    font-weight: 600;
    color: #22c55e;
    margin-bottom: 0.5rem;
}

.eventtitle {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
}

.eventdescription {
    color: #94a3b8;
    line-height: 1.5;
}

.des {
    margin: 3rem 0;
}

.dec {
    background: #234f2fcc
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(34, 197, 94, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(34, 197, 94, 0.3);
    text-align: center;
}

.dec h3 {
    font-size: 1.5rem;
    color: #22c55e;
    margin-bottom: 1.5rem;
}

.dig {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

#customdate {
    padding: 0.75rem;
    border: 2px solid #22c55e;
    border-radius: 10px;
    font-size: 1rem;
    background: #234f2fcc
    color: #e2e8f0;
    outline: none;
}

#customdate:focus {
    border-color: #16a34a;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.3);
}

#searchdate {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #234f2fcc
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#searchdate:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.4);
}

.dr {
    background: rgba(34, 197, 94, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 1rem;
    min-height: 100px;
    display: none;
}

.dr.show {
    display: block;
    animation: fiu 0.5s ease;
}

@keyframes fiu {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bm {
    font-style: italic;
    color: #94a3b8;
    font-size: 1.1rem;
}

.hi {
    text-align: left;
}

.hi h4 {
    color: #22c55e;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.hi p {
    color: #94a3b8;
    line-height: 1.6;
}

footer {
    text-align: center;
    padding: 1rem;
    background: rgba(34, 197, 94, 0.1);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
    font-weight: 300;
    margin-top: 3rem;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .clock {
        width: 250px;
        height: 250px;
    }
    
    .cf {
        width: 230px;
        height: 230px;
    }
    
    .eg {
        grid-template-columns: 1fr;
    }
    
    .dig {
        flex-direction: column;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    main {
        padding: 1rem;
    }
}