body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-size: cover;
    color: #FFF;
    perspective: 1000px;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 80%;
    text-align: center;
    padding: 20px;
    position: relative;
}

.swiper-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.pages-wrapper {
    display: flex;
    width: 200%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.page {
    width: 50%;
    height: 100%;
    flex-shrink: 0;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
}

.page-indicator {
    display: flex;
    justify-content: center;
    margin: 20px 0 30px 0;
    gap: 10px;
}

.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator-dot.active {
    background: #ff7e5f;
    transform: scale(1.2);
}

/* Navigation arrows */
.nav-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.nav-arrow:hover {
    background: rgba(255, 126, 95, 0.3);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 126, 95, 0.3);
}

.nav-arrow i {
    font-size: 24px;
    color: #fff;
}

.nav-arrow-left {
    left: 20px;
}

.nav-arrow-right {
    right: 20px;
}

.nav-arrow.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nav-arrow.disabled:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-50%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.header {
    margin-bottom: 30px;
}

.header p {
    font-size: 1.2rem;
    color: #a0c8ff;
    max-width: 600px;
    margin: 0 auto 20px;
}

.clock-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    margin-top: 80px;
}

.time-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px 20px;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.time-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.difference-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 15px;
    min-width: 200px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.difference-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

.time-display {
    font-size: 3.5rem;
    font-weight: 700;
    margin-top: -5px;
    margin-bottom: -10px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.time-label {
    font-size: 1.1rem;
    color: #a0c8ff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.date-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin: 0 auto 40px;
    max-width: 700px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.full-date {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.day-of-week {
    font-size: 1.5rem;
    color: #a0c8ff;
    margin-bottom: 5px;
}

.calendar-icon {
    font-size: 1.8rem;
    margin-right: 10px;
    color: #ff7e5f;
}

.additional-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.info-box {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 15px 20px;
    min-width: 180px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-title {
    font-size: 0.9rem;
    color: #a0c8ff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.info-value {
    margin-top: -5px;
    margin-bottom: -5px;
    font-size: 1.5rem;
    font-weight: 600;
}

.pulse {
    animation: pulse 1s infinite alternate;
}

@keyframes pulse {
    from {
        opacity: 1;
    }

    to {
        opacity: 0.7;
    }
}

.time-colon {
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* Custom styles for the date calculator */
.date-calculator {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin: 20px auto 40px;
    max-width: 800px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.calculator-header {
    text-align: center;
    margin-bottom: 25px;
}

.calculator-header h2 {
    font-size: 2.2em;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #ff7e5f, #feb47b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.calculator-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1em;
}

.date-input-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
    justify-content: center;
}

.date-input-group {
    flex: 1;
    min-width: 280px;
}

.date-input-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9em;
    color: #fff;
    font-weight: 600;
}

.date-input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #fff;
    font-size: 1.0em;
    transition: all 0.3s ease;
}

.date-input:focus {
    outline: none;
    border-color: #ff7e5f;
    box-shadow: 0 0 15px rgba(255, 126, 95, 0.3);
}

.time-difference {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.selected-date-display {
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border-left: 4px solid #ff7e5f;
}

.selected-date-display h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.selected-date-details {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
}

.page-title {
    font-size: 2rem;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #ff7e5f, #feb47b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.page-subtitle {
    font-size: 0.9em;
    color: #aaa;
    margin-bottom: 20px;
}

.navigation-hint {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-top: 20px;
}

.navigation-hint i {
    margin: 0 10px;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .time-display {
        font-size: 2.8rem;
    }

    .full-date {
        font-size: 1.8rem;
    }

    .time-section {
        min-width: 120px;
        padding: 20px 15px;
    }

    .difference-box {
        min-width: 120px;
        padding: 20px 15px;
    }

    .date-calculator {
        padding: 20px;
        margin: 20px 10px;
    }

    .date-input-section {
        flex-direction: column;
    }

    .date-input-group {
        min-width: 100%;
    }

    .difference-value {
        font-size: 2.2em;
    }

    .nav-arrow {
        width: 40px;
        height: 40px;
    }

    .nav-arrow-left {
        left: 10px;
    }

    .nav-arrow-right {
        right: 10px;
    }

    .nav-arrow i {
        font-size: 20px;
    }

    .info-title {
        font-size: 0.8rem;
    }

    .info-value {
        font-size: 1.0rem;
        font-weight: 600;
    }

    .info-box {
        min-width: 120px;
        padding: 10px;
    }

    .date-calculator {
        margin: 0px auto 40px;
        max-height: 600px;
        overflow-y: auto;
    }

    .date-container {
        max-height: 300px;
        overflow-y: auto;
    }
}

.hide-scrollbar {
    /* For Firefox */
    scrollbar-width: none;
    /* For Internet Explorer and Edge (legacy) */
    -ms-overflow-style: none;
}

/* For Chrome, Safari, and Opera */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
    /* Hides the scrollbar but keeps scrolling functionality */
}

@media (max-width: 480px) {

    .page-title {
        font-size: 1.2rem;
    }

    .time-display {
        font-size: 1.2rem;
        margin-bottom: -5px;
    }

    .time-label {
        font-size: 1.0rem;
    }

    .full-date {
        font-size: 1.2rem;
    }

    .time-section {
        min-width: 100px;
        padding: 15px 10px;
    }

    .difference-box {
        min-width: 100px;
        padding: 15px 10px;
    }

    .date-calculator {
        max-height: 400px;
        padding: 10px;
        overflow-y: auto;
    }

    .date-container {
        max-height: 200px;
        padding: 10px;
        overflow-y: auto;
    }

    .nav-arrow {
        width: 35px;
        height: 35px;
        top: 60%;
    }

    .nav-arrow-left {
        left: 5px;
    }

    .nav-arrow-right {
        right: 5px;
    }

    .nav-arrow i {
        font-size: 18px;
    }

    .selected-date-details {
        gap: 5px;
        font-size: 0.8em;
    }
}

.stickies_icon {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 4rem;
    height: 4rem;
    cursor: pointer;
    text-indent: 4rem;
    overflow: hidden;
    white-space: nowrap;
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.stickies_icon:before {
    -moz-transition: background-color 0.2s ease-in-out;
    -webkit-transition: background-color 0.2s ease-in-out;
    -ms-transition: background-color 0.2s ease-in-out;
    transition: background-color 0.2s ease-in-out;
    content: '';
    display: block;
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 100%;
    background-color: var(--background-color);
}

.stickies_icon:hover:before {
    background-color: rgba(255, 255, 255, 0.15);
}

.stickies_icon:active:before {
    background-color: rgba(255, 255, 255, 0.3);
}

@media screen and (max-width: 736px) {

    .stickies_icon:before {
        top: 0.875rem;
        left: 0.875rem;
        width: 2.25rem;
        height: 2.25rem;
        background-size: 14px 14px;
    }

}