body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(120deg, #2257ac, #101c32);
    color: #f3f4f6;
}

h1 {
    font-family: 'Orbitron', sans-serif;
}

.highlight {
    background-color: #1e40af;
}

select {
    text-align: center;
}

#full-menu-popup {
    margin: 0 auto;
}

#full-menu-popup h2 {
    margin: 0 auto;
    padding-left: 20px;
    font-family: 'Orbitron', sans-serif;
}

#full-menu-content {
    font-size: 6px;
    margin: 0 auto;
}

#current-menu {
    padding-top: 18px;
    max-width: 700px;
    margin: 0 auto;
    font-family: "Montserrat", serif;
    background-color: #000000ec;

}

#mess-label {
    font-family: 'Orbitron', sans-serif;
}

#mess-select {
    min-width: 255px;
    font-family: "Montserrat", serif;
    font-size: 15px;
}

.mb-6 h2 {
    font-family: 'Orbitron', sans-serif;
    padding-bottom: 10px;
}

#full-menu-btn {
    font-family: 'Orbitron', sans-serif;
}

#date {
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
}

footer {
    padding-top: 5px;
    font-family: 'Orbitron', sans-serif;
}

.advertise {
    font-size: 13px;
    padding-bottom: 10px;
}

#popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#popup2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}



/* Popup Content */
#popup-content {
    position: relative;
    background: rgb(0, 88, 160);
    border-radius: 10px;
    padding: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin-top: 10px;
}

/* Popup Close Button */
#popup-close {
    position: absolute;
    top: 2px;
    right: 5px;
    background: none;
    border: rgb(0, 0, 0);
    font-size: 40px;
    box-shadow: #101c32;
    color: white;
    cursor: pointer;
}

#popup-close2 {
    position: absolute;
    top: 2px;
    right: 5px;
    background: none;
    border: rgb(0, 0, 0);
    font-size: 40px;
    box-shadow: #101c32;
    color: white;
    cursor: pointer;
}


/* Popup Image */
#popup-image {
    width: 100%;
    border-radius: 10px;
    max-width: 100%;
}

/* Content */
#mess-info {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 2rem;
    margin-top: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 255, 128, 0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  #mess-info h2,
  #mess-info h3 {
    color: #00ff80;
    margin-bottom: 1rem;
    font-weight: 600;
    border-left: 5px solid #00ff80;
    padding-left: 10px;
  }
  
  #mess-info p {
    line-height: 1.7;
    margin-bottom: 1.2rem;
  }
  
  #mess-info ul {
    padding-left: 1.2rem;
    margin-bottom: 1.5rem;
  }
  
  #mess-info li {
    margin-bottom: 1rem;
    line-height: 1.6;
  }
  
  #mess-info li strong {
    color: #00e676;
  }
  
  .onesignal-customlink-container{
    font-family: 'Orbitron', sans-serif;
  }

/* Notice Board Styles */
#notice-board {
    font-family: 'Inter', sans-serif;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
}

#submit-announcement-section {
    font-family: 'Inter', sans-serif;
    padding-top: 20px;
}

#submit-announcement-btn {
    font-family: 'Orbitron', sans-serif;
    font-size: 15px;
}

/* Custom scrollbar for notice board */
#notice-board::-webkit-scrollbar {
    width: 8px;
}

#notice-board::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}

#notice-board::-webkit-scrollbar-thumb {
    background: #14b8a6;
    border-radius: 4px;
}

#notice-board::-webkit-scrollbar-thumb:hover {
    background: #2dd4bf;
}

.announcement-item {
    background-color: #1a1a1a;
    border-left: 4px solid #14b8a6;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.announcement-item:hover {
    background-color: #1f1f1f;
    border-left-color: #2dd4bf;
    transform: translateX(4px);
}

.announcement-clickable {
    cursor: pointer;
}

.announcement-clickable:hover {
    background-color: #1f1f1f;
    border-left-color: #2dd4bf;
    transform: translateX(4px);
    box-shadow: 0 4px 8px rgba(20, 184, 166, 0.2);
}

.link-indicator {
    font-size: 0.9rem;
    margin-left: 0.5rem;
    opacity: 0.7;
}

.announcement-title {
    color: #14b8a6;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', sans-serif;
}

.announcement-content {
    color: #e5e7eb;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.announcement-date {
    color: #9ca3af;
    font-size: 0.85rem;
    font-style: italic;
    margin-top: 0.5rem;
}

.announcement-image-container {
    margin: 1rem 0;
    border-radius: 8px;
    overflow: hidden;
    max-width: 100%;
}

.announcement-image {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    border-radius: 6px;
    display: block;
    background-color: #0a0a0a;
}

/* Anonymous Confessions Section */
.confessions-wrapper {
    position: relative;
    margin: 1rem 0;
    padding: 0 1rem;
    overflow: hidden;
    width: 100%;
}

.confessions-scroll-container {
    height: 500px;
    overflow: visible;
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: center;
    justify-content: flex-start;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    -ms-overflow-style: none;
    scrollbar-width: none;
    width: 100%;
    box-sizing: border-box;
    touch-action: pan-x pan-y;
    user-select: none;
    -webkit-user-select: none;
}

.confessions-scroll-container::-webkit-scrollbar {
    display: none;
}

.confession-card {
    scroll-snap-align: center;
    scroll-snap-stop: always;
    width: calc(100% - 2rem);
    min-width: calc(100% - 0.6rem);
    max-width: calc(100% - 2rem);
    /* min-height: 250px;
    max-height: 450px; */
    height:450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    /* Inverted theme: light card on dark page with soft teal tint */
    background: radial-gradient(circle at top left, #f9fafb 0%, #e5f6ff 45%, #dbeafe 100%);
    border-radius: 20px;
    box-shadow:
        0 10px 30px rgba(15, 23, 42, 0.45),
        0 0 18px rgba(15, 23, 42, 0.35);
    flex-shrink: 0;
    position: relative;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    overflow: hidden;
}

/* Very thin screens - increase card width, reduce padding and font sizes */
@media (max-width: 360px) {
    .confession-card {
        width: calc(100% - 1rem);
        min-width: calc(100% - 1rem);
        max-width: calc(100% - 1rem);
        padding: 1rem;
    }
}

@media (min-width: 640px) {
    .confession-card {
        width: 500px;
        min-width: 500px;
        max-width: 500px;
        padding: 2rem;
    }
}

.confession-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    /* Inverted border: darker slate/teal ring around light card */
    background: conic-gradient(
        from 180deg,
        #0f172a,
        #1e293b,
        #0f766e,
        #0f172a
    );
    border-radius: 22px;
    z-index: -1;
    opacity: 0.35;
}

.confession-to-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    /* Dark teal/navy on light background */
    color: #0f766e;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 1.5px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.confession-to-label strong {
    font-weight: 700;
}

/* Reduce font size on thin screens */
@media (max-width: 480px) {
    .confession-to-label {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
}

@media (max-width: 360px) {
    .confession-to-label {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
}

.confession-divider {
    width: 80%;
    max-width: 200px;
    height: 1px;
    /* Darker teal divider on light background */
    background: linear-gradient(90deg, transparent, #0f766e, transparent);
    margin: 0.5rem auto 0.5rem auto;
    opacity: 0.6;
}

@media (max-width: 480px) {
    .confession-divider {
        margin: 0.4rem auto 0.4rem auto;
    }
}

@media (max-width: 360px) {
    .confession-divider {
        margin: 0.3rem auto 0.3rem auto;
    }
}

.confession-message {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    line-height: 1.9;
    /* Inverted: dark slate text on light card */
    color: #111827;
    text-align: center;
    font-weight: 400;
    font-style: italic;
    padding: 0.5rem;
    padding-top: 0.5rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
}

/* Reduce font size on thin screens */
@media (max-width: 480px) {
    .confession-message {
        font-size: 1.15rem;
        line-height: 1.7;
        padding: 0.5rem;
    }
}

@media (max-width: 360px) {
    .confession-message {
        font-size: 1rem;
        line-height: 1.6;
        padding: 0.4rem;
    }
}

.confession-from-label {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    /* Inverted: darker muted slate for signature on light card */
    color: #4b5563;
    font-weight: 400;
    position: absolute;
    bottom: 1rem;
    right: 1.5rem;
    text-align: right;
    word-wrap: break-word;
    overflow-wrap: break-word;
    opacity: 0.85;
}

/* Reduce font size on thin screens */
@media (max-width: 480px) {
    .confession-from-label {
        font-size: 1rem;
        bottom: 0.8rem;
        right: 1rem;
    }
}

@media (max-width: 360px) {
    .confession-from-label {
        font-size: 0.9rem;
        bottom: 0.6rem;
        right: 0.8rem;
    }
}

/* Navigation Arrows */
.confession-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(20, 184, 166, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.confession-arrow:hover {
    background: rgba(20, 184, 166, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.confession-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.confession-arrow-left {
    left: 0;
}

.confession-arrow-right {
    right: 0;
}

@media (max-width: 640px) {
    .confessions-wrapper {
        padding: 0 2.5rem;
    }
    
    .confession-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

#submit-confession-btn {
    /* Teal glow instead of pink to match theme */
    box-shadow: 0 4px 12px rgba(140, 232, 220, 0.35);
}

#submit-confession-btn:hover {
    background-color:rgb(6, 192, 192);
    box-shadow: 0 6px 16px rgba(45, 212, 191, 0.5);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}