* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #fff;
    color: #111;
    font-family: sans-serif;
}
body.darkmode {
    background-color: #1a1a1a;
}

.theme__choice__container {
        padding: 5px;
        display: flex;
        flex-flow: row nowrap;
        align-items: center;
        justify-content: end;
        width: 100%;
        position: fixed;
        z-index: 999;
}

.theme__choice {
  border: none;
  outline: none;
  background-color: rgba(75, 50, 50, 0.3);
  border-radius: 50%;
  padding: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.4;
}

.theme__choice:hover {
  transform: scale(1.05);
}

.darkmode .menu__btn img,
.darkmode .close__btn img {
  filter: invert(1);
}

/* NAVIGATION */
.menu__links__section {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1001;
  padding: 2rem 0.8rem 2rem 0.6rem;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0.3rem;
  background-color: #f2f2f2;
  border-bottom: 5px solid red;
  line-height: 1.5;
}

body.darkmode .menu__links__section {
        background-color: #333;
        color: #fff;
        border-left: none;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0.3rem;
        box-shadow: 0 2px 5px rgba(240, 210, 210, 0.3);
}

.menu__links__section > a {
  text-decoration: underline;
  font-size: 1.05rem;
  font-weight: 400;
  color: #1c1c1c;
  display: block;
  text-align: left;
  padding: 5px;
  margin: 0 auto;
  transition: color 0.3s ease;
  font-family: 'Quicksand', 'Poppins', sans-serif;
}

.menu__links__section > a:hover {
    color: #ff4d6d;
}

body.darkmode .menu__links__section > a {
    color: #fff;
}

.close__btn {
  border: none;
  outline: none;
  border-radius: 50%;
  padding: 0.4rem 0.5rem;
  font-size: clamp(1.23rem, calc(1.23rem + 0.22vw), 1.35rem);
  display: grid;
  margin: 0 auto 1rem auto;
  place-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

body.darkmode .close__btn {
        background-color: rgba(0, 0, 0, 0.5);
}

.nav__container {
  position: sticky;
  top: 0;
  background-color: #fff;
  color: #1c1c1c;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
}

body.darkmode .nav__container {
        background-color: #2c2c2c;
        box-shadow: 0 1px 3px rgba(230, 210, 210, 0.3);
}

.nav {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 auto;
  padding: 1.5rem 0.4rem;
  width: 85%;
  position: relative;
}

.nav__div1 > button {
  border: none;
  outline: none;
  background: transparent;
  cursor: pointer;
}

.nav__div1 > button > img {
  width: clamp(2.05rem, calc(2.05rem + 0.22vw), 2.2rem);
  height: auto;
  transition: filter 0.3s ease;
}

.nav__div2 {
    text-align: center;
}

.nav__div2 > a {
  color: #111;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-size: 1.3rem;
  font-weight: 550;
  transition: color 0.3s ease;
}

body.darkmode .nav__div2 > a {
        color: #fff;
}

.nav__div3 > button {
  color: #ff4d6d;
}

.nav__div3 > a > img {
  width: clamp(2.05rem, calc(2.05rem + 0.22vw), 2.2rem);
  height: auto;
  transition: filter 0.3s ease;
}

.footer__div {
  width: 100%;
  display: grid;
  place-content: center;
  flex: 1;
  background-color: #fff;
  padding: 50px 0;
}

.footer__div p {
	text-align: center;
}

body.darkmode .footer__div p {
	color: #fff;
}

body.darkmode .footer__div {
  background-color: #1c1c1c;
}

.hr__footer {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff8fa3, transparent);
   margin: 3rem auto 1rem;
   max-width: 400px;
}
body.darkmode .hr__footer {
    background: linear-gradient(90deg, transparent, #ff8fa3, transparent);
}

.footer {
    text-align: center;
    color: #ff6b8b;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
}
body.darkmode .footer {
    color: #ff8fa3;
}

.tos__privacy {
	color: #ff4d6d;
	margin: 0 3px;
}

/** The New Footer */
.legal-links {
    margin: 10px auto 0 auto;
}

.legal-links a {
    /*color: var(--primary-love);*/
    color: #4356ff;
    text-decoration: 1px underline;
    font-size: 0.9rem;
}

.legal-links a:hover {
	color: midnightblue;
    text-decoration: underline;
}

/* Updates Page Specific Styles */
.updates-hero {
    text-align: center;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, var(--light-romance), transparent);
    border-radius: 20px;
    margin: 2rem 0;
    position: relative;
}

.hero-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    color: var(--deep-love);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-family: 'Nunito', sans-serif;
    font-size: 1.3rem;
    color: var(--ink-love);
    max-width: 600px;
    margin: 0 auto 1rem;
    opacity: 0.8;
}

.version-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-love), var(--accent-gold));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(255, 107, 139, 0.3);
}

/* Current Version */
.current-version {
    margin: 4rem 0;
}

.version-card {
    background: var(--paper-cream);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.version-card.featured {
    border-color: var(--accent-gold);
    background: linear-gradient(135deg, var(--paper-cream), var(--light-romance));
}

.version-card.featured::before {
    content: '🌟 Featured Release';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--accent-gold);
    color: var(--ink-love);
    padding: 0.5rem 3rem;
    transform: rotate(45deg);
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
}

.version-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.version-number {
    background: var(--deep-love);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
}

.version-name {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    color: var(--deep-love);
    font-weight: 600;
}

.version-date {
    background: var(--light-romance);
    color: var(--ink-love);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-family: 'Nunito', sans-serif;
    margin-left: auto;
}

.version-highlights {
    text-align: center;
    margin-bottom: 2rem;
}

.version-highlights h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--deep-love);
    margin-bottom: 1rem;
}

.version-highlights p {
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    color: var(--ink-love);
    opacity: 0.8;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    border: 1px solid rgba(255, 175, 204, 0.3);
}

.feature-emoji {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-text strong {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    color: var(--deep-love);
    display: block;
    margin-bottom: 0.5rem;
}

.feature-text p {
    font-family: 'Nunito', sans-serif;
    color: var(--ink-love);
    opacity: 0.8;
    margin: 0;
    line-height: 1.5;
}

/* Roadmap Section */
.roadmap-section {
    margin: 6rem 0;
}

.section-title {
    font-family: 'Dancing Script', cursive;
    font-size: 3rem;
    color: var(--deep-love);
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    color: var(--ink-love);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    opacity: 0.8;
}

/* Timeline */
.roadmap-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-love), var(--accent-gold));
    border-radius: 3px;
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-marker {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    z-index: 2;
    position: relative;
}

.timeline-marker.upcoming {
    background: linear-gradient(135deg, var(--primary-love), var(--secondary-love));
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 139, 0.4);
}

.timeline-marker.future {
    background: linear-gradient(135deg, var(--soft-pink), var(--light-romance));
    color: var(--ink-love);
    border: 3px solid var(--soft-pink);
}

.timeline-content {
    flex: 1;
    margin-left: 2rem;
}

/* Version Cards in Timeline */
.version-card.upcoming {
    border-color: var(--primary-love);
    background: linear-gradient(135deg, var(--paper-cream), rgba(255, 107, 139, 0.05));
}

.version-card.future {
    border-color: var(--soft-pink);
    background: linear-gradient(135deg, var(--paper-cream), rgba(255, 175, 204, 0.05));
    opacity: 0.8;
}

.feature-list h4 {
    font-family: 'Playfair Display', serif;
    color: var(--deep-love);
    margin-bottom: 1rem;
}

.feature-list ul {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    font-family: 'Nunito', sans-serif;
    color: var(--ink-love);
    border-bottom: 1px solid rgba(255, 175, 204, 0.3);
}

.feature-list li:last-child {
    border-bottom: none;
}

/* Changelog Section */
.changelog-section {
    margin: 4rem 0;
}

.changelog-list {
    max-width: 800px;
    margin: 0 auto;
}

.changelog-item {
    background: var(--paper-cream);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.changelog-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 175, 204, 0.3);
}

.changelog-header .version {
    background: var(--deep-love);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 10px;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
}

.changelog-header .date {
    font-family: 'Nunito', sans-serif;
    color: var(--ink-love);
    opacity: 0.7;
    margin-left: auto;
}

.changelog-content ul {
    list-style: none;
    padding: 0;
}

.changelog-content li {
    padding: 0.5rem 0;
    font-family: 'Nunito', sans-serif;
    color: var(--ink-love);
}

/* Feedback Section */
.feedback-section {
    margin: 6rem 0;
}

.feedback-card {
    background: linear-gradient(135deg, var(--light-romance), transparent);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    border: 2px solid rgba(255, 107, 139, 0.2);
}

.feedback-card h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    color: var(--deep-love);
    margin-bottom: 1rem;
}

.feedback-card p {
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    color: var(--ink-love);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feedback-ideas {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.idea-tag {
    background: var(--paper-cream);
    color: var(--deep-love);
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-love);
}

.idea-tag:hover,
.idea-tag.selected {
    background: var(--primary-love);
    color: white;
    transform: translateY(-2px);
}

.feedback-note {
    font-style: italic;
    opacity: 0.7;
    margin-top: 2rem !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .version-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .version-date {
        margin-left: 0;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .roadmap-timeline::before {
        left: 20px;
    }
    
    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .timeline-content {
        margin-left: 1rem;
    }
    
    .version-card.featured::before {
        font-size: 0.7rem;
        padding: 0.3rem 2rem;
        right: -25px;
    }
    
    .feedback-card {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
	.nav__div2 > a {
		font-size: 1.15rem;
	}
}

.active-page {
	color: #ff6d8d;
	font-style: bold;
}
