body {
    background: linear-gradient(90deg,
                rgba(110, 109, 109, 1) 0%,
                rgba(66, 66, 66, 1) 50%,
                rgba(33, 33, 33, 1) 100%);

    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    gap: 250px;
    overflow: hidden;

    user-select: none;
    margin: 0;
    padding: 0;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: #101010;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    border-radius: 10px;
}

.title {
    color: white;
    font-family: Arial;
    font-size: 28px;
    margin: 0;
    font-weight: bold;
}

#buymecoffee {
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    color: #101010;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

#buymecoffee::before {
    content: "☕";
    font-size: 20px;
}

#buymecoffee:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

#buymecoffee:active {
    transform: translateY(1px);
}


/* TIMER */
.timer {
    position: relative;

    width: 400px;
    height: 400px;

    border-radius: 50%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    font-weight: bold;
    font-family: Arial;
    font-size: 55px;

    background: #101010;
    color: white;

    z-index: 1;
}

.timer::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 10px;
    background: conic-gradient(
        from 0deg,
        #0C4AE8 0deg,
        #3F70EB 120deg,
        #3690EB 160deg,
        #F70566 220deg,
        #FF0066 260deg,
        #FF002B 360deg
    );

    -webkit-mask:
        radial-gradient(farthest-side, transparent calc(100% - 10px), black 0);
    mask:
        radial-gradient(farthest-side, transparent calc(100% - 10px), black 0);

    z-index: 0;
    pointer-events: none;
}

#session-type {
    font-size: 20px;
    font-weight: normal;
    opacity: 0.8;
}

#progress-border {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    padding: 10px; 
    background: transparent;
    
    -webkit-mask:
        radial-gradient(farthest-side, transparent calc(100% - 10px), black 0);
    mask:
        radial-gradient(farthest-side, transparent calc(100% - 10px), black 0);

    z-index: 2; 
    pointer-events: none;
}

.buttons {
    margin-top: 20px;
    display: flex;
    gap: 25px;
}

.buttons button {
    padding: 10px 25px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    color: white;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.buttons button:active {
    transform: translateY(3px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.buttons #pause-btn {
    background: linear-gradient(90deg, #66023C, #CD1C18);
}

.buttons #start-btn {
    background: linear-gradient(90deg, #1CA9C9, #0047AB);
}

.settings-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
}

#settings-btn {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#settings-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.settings-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: #1a1a1a;
    padding: 30px;
    border-radius: 20px;
    color: white;
    font-family: Arial;
    z-index: 200;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    min-width: 300px;
}

.settings-panel.active {
    transform: translate(-50%, -50%) scale(1);
}

.settings-panel h3 {
    margin: 0 0 20px 0;
    font-size: 24px;
    text-align: center;
}

.setting-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    margin-bottom: 10px;
    background: #101010;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.setting-item:hover {
    background: #252525;
}

.setting-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #1CA9C9;
}

.setting-item span {
    font-size: 16px;
    flex: 1;
}

#close-settings {
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    color: white;
    background: linear-gradient(90deg, #66023C, #CD1C18);
    transition: transform 0.1s ease;
}

#close-settings:active {
    transform: translateY(2px);
}

/* TODO LIST */
.todolist {
    width: 400px;
    height: 500px;
    padding: 30px;
    background: #101010;
    border-radius: 20px;
    color: white;
    font-family: Arial;

    position: absolute;
    left: 50px;

    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.todolist::-webkit-scrollbar {
    display: none;
}

.todolist h2 {
    margin: 0 0 15px 0;
    font-size: 28px;
    text-align: center;
}

#timezone {
    display: block;
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 20px;
}

#todoform {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    position: sticky;
    top: 0;
    background: #101010;
    padding: 10px 0;
    z-index: 10;
}

#task {
    flex: 1;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    background: #1a1a1a;
    color: white;
    outline: none;
}

#task::placeholder {
    color: #888;
}

#add-task-btn {
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    color: white;
    background: linear-gradient(90deg, #1CA9C9, #0047AB);
    transition: transform 0.1s ease;
}

#add-task-btn:active {
    transform: translateY(2px);
}

#task-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.task-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: #1a1a1a;
    border-radius: 10px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { opcity: 0; transform: translateX(-20px); }
    to   { opacity: 1; transform: translateX(0); }
}

.task-item span {
    flex: 1;
    font-size: 16px;
}

.done-btn {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: white;
    background: linear-gradient(90deg, #28a745, #20c997);
    transition: transform 0.1s ease;
}

.done-btn:active {
    transform: translateY(2px);
}