/* --- Improved Text Hierarchy and Spacing --- */
h1 {
    font-size: 3rem;
    margin-bottom: 1.2rem;
    color: #0033cc;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.1;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #0056b3;
    font-weight: 600;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 0.7rem;
    color: #1a237e;
    font-weight: 500;
}

p, li {
    font-size: 1.15rem;
    color: #1a237e;
    margin-bottom: 1.1rem;
}

.hero-text p {
    font-size: 1.25rem;
    color: #0033cc;
    margin-bottom: 0;
}

.hero-box,
.feature-card {
    max-width: 1200px;
    margin: 2.5rem auto;
    border-radius: 28px;
    background: lightblue;
    box-shadow: 0 6px 32px rgba(99,102,241,0.10);
    padding: 3rem 3rem 2.5rem 3rem;
    box-sizing: border-box;
}

.feature-card {
    border: 2px solid #b3e0ff;
    color: #1a237e;
    transition: box-shadow 0.2s, transform 0.2s;
    text-align: left;
    font-size: 1.15rem;
    line-height: 1.7;
    letter-spacing: 0.01em;
}

.hero-text {
    flex: 2;
    text-align: left;
    padding-right: 2rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-width: 180px;
}

.profile-pic {
    width: 180px;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    border: 4px solid #a5b4fc;
    background: #f6f8fa;
    box-shadow: 0 4px 24px rgba(99,102,241,0.10);
    max-width: 100%;
}

.feature-card h2 {
    color: #0056b3;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 600;
}

.feature-card ul, .feature-card p {
    color: #1a237e;
    font-size: 1.15rem;
}

.feature-card a {
    color: #0033cc;
    text-decoration: underline;
    transition: color 0.2s;
}

.feature-card a:hover {
    color: #1a237e;
}
/* --- End Improved Text Hierarchy --- */

.feature-card .button-row {
    display: flex;
    gap: 12px;
    margin-top: 1.2rem;
    flex-wrap: wrap;
}

/* --- Feature 4-Box Grid --- */
.four-grid {
    background: transparent;
    box-shadow: none;
    border: none;
    margin-top: 2.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2rem;
    margin: 0;
}

.feature-box {
    background: lightblue;
    border: 2px solid #b3e0ff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(99,102,241,0.08);
    padding: 2rem 2rem 1.5rem 2rem;
    color: #1a237e;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: box-shadow 0.2s, transform 0.2s;
}

.feature-box-outer {
    background: lightblue;
    border: 2.5px solid #b3e0ff;
    border-radius: 24px;
    box-shadow: 0 6px 32px rgba(99,102,241,0.10);
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    margin-top: 1.5rem;
}

.feature-box-inner {
    background: #e6f4fa;
    border: 1.5px solid #b3e0ff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(99,102,241,0.06);
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    color: #1a237e;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: box-shadow 0.2s, transform 0.2s;
}

.feature-box-inner h2 {
    color: #0033cc;
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.feature-box-inner p {
    color: #1a237e;
    font-size: 1.05rem;
    margin-bottom: 0;
}

.feature-box-inner:hover {
    box-shadow: 0 6px 24px rgba(99,102,241,0.13);
    transform: translateY(-3px) scale(1.015);
}

@media (max-width: 900px) {
    .feature-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        gap: 1.2rem;
    }
    .feature-box-outer {
        padding: 1.2rem 0.7rem 1rem 0.7rem;
    }
}
/* --- End Feature 4-Box Grid --- */

/* General styles */
body {
    text-align: center;
    background: azure;
    color: blue;
    font-family: "ABeeZee", sans-serif;
    margin: 0;
    padding-bottom: 60px; /* for footer space */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    cursor: none !important;
}

header {
    background: lightblue;
    padding: 10px;
    text-align: left;
    font-family: "ABeeZee", sans-serif;
}

footer {
    background: azure;
    padding: 4px 0;
    width: 100%;
    font-family: "ABeeZee", sans-serif;
    text-align: center;
    border-top: 1px solid #b3e0ff;
    margin-top: 0.5rem;
    position: static;
}

main {
    margin-bottom: 3.5rem;
    flex: 1;
}

button {
    background-color: lightblue;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    font-family: "ABeeZee", sans-serif;
    border-radius: 8px;
    font-size: 1rem;
}

.abeezee-regular {
    font-family: "ABeeZee", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.abeezee-regular-italic {
    font-family: "ABeeZee", sans-serif;
    font-weight: 400;
    font-style: italic;
}

/* Navigation */
.nav-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
}

/* Last.fm / music widget styles */
.lastfm-list {
    list-style: none;
    padding-left: 0;
    margin: 6px 0 0 0;
}
.lastfm-list li {
    background: rgba(255,255,255,0.6);
    margin: 4px 0;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.95rem;
}
.tracker-box #lastfm {
    margin-top: 6px;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: center;
    align-items: stretch;
    max-width: 1000px;
    margin: 3rem auto 2rem auto;
    padding: 0 1rem;
}

.hero-box {
    background: lightblue;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(99,102,241,0.08);
    padding: 2rem;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.hero-text {
    flex: 2;
    text-align: left;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.profile-pic {
    width: 180px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    border: 4px solid #a5b4fc;
    background: #f6f8fa;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    max-width: 100%;
}

/* Info Grid Section */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    padding: 2rem;
    margin: 0 auto 2rem auto;
    max-width: 900px;
}

.card {
    background: lightblue;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 8px rgba(0,0,0,0.03);
    transition: transform 0.2s, box-shadow 0.2s;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 6px 24px rgba(99,102,241,0.10);
}

/* --- Unify Hero and Feature Box Sizing --- */
.hero-box,
.feature-box-outer {
    max-width: 1000px;
    margin: 2.5rem auto;
    border-radius: 24px;
    background: lightblue;
    box-shadow: 0 6px 32px rgba(99,102,241,0.10);
    padding: 3rem 3rem 2.5rem 3rem;
    box-sizing: border-box;
}

/* Button Grid styles */
.button-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 88px);
  gap: 5px;
  justify-content: center;
  margin: 10px auto;
  max-width: 300px;
}

.button-grid img {
  display: block;
  width: 88px;
  height: 31px;
}

.button-grid a {
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1000px) {
    .hero {
        max-width: 100%;
    }
    .info-grid {
        max-width: 100%;
    }
}

@media (max-width: 900px) {
    .info-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        padding: 1rem;
        gap: 1rem;
    }
}

@media (max-width: 800px) {
    .hero-content {
        flex-direction: column;
        gap: 1rem;
    }
    .hero-image {
        justify-content: center;
    }
    .profile-pic {
        width: 120px;
        border-radius: 8px;
    }
    .hero-box {
        padding: 1rem;
    }
}

@media (max-width: 700px) {
    .button-container {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 0 10px;
        color: lightblue;
    }
    .dropdown {
        width: 100%;
    }
    .dropbtn {
        width: 100%;
        text-align: left;
        font-size: 1.1em;
    }
    .dropdown-content {
        min-width: unset;
        width: 100%;
        position: static;
        box-shadow: none;
        border-radius: 0 0 8px 8px;
    }
    .dropdown-content a {
        font-size: 1em;
        padding: 12px 20px;
    }
}

/* Hero colored variant */
.hero-colored {
    background: lightblue;
}

html, body {
    height: 100%;
    min-height: 100%;
}
/* --- Tracker Section --- */
.tracker-section {
    display: flex;
    justify-content: flex-start; /* Align content to the left */
    align-items: center; /* Vertically center within the section */
    max-width: 1000px;
    margin: 2.5rem auto;
    border-radius: 24px;
    background: lightblue;
    box-shadow: 0 6px 32px rgba(99,102,241,0.10);
    padding: 3rem 3rem 2.5rem 3rem;
    box-sizing: border-box;
}

.tracker-box {
    width: 100%; /* Ensures it fills section width */
    max-width: 600px; /* Optional: limit line length */
    text-align: left;
    font-family: "ABeeZee", sans-serif;
    color: #1a237e;
    line-height: 1.6;
}

.tracker-box h1 {
    font-size: 2.5rem;
    color: #0033cc;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-align: left;
}

.tracker-box p {
    font-size: 1.2rem;
    color: #1a237e;
    margin: 0.5rem 0;
    transition: opacity 0.4s ease;
    text-align: left;
}

/* Countdown styles */
.countdown-section {
    max-width: 1000px;
    margin: 1rem auto 0 auto;
    text-align: center;
}
.countdown-box {
    display: inline-block;
    background: #e6f4fa;
    padding: 0.6rem 1rem;
    border-radius: 12px;
    border: 1px solid #b3e0ff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
#countdown {
    font-weight: 700;
    color: #0033cc;
}
#countdown-timer {
    color: #0056b3;
    margin-left: 6px;
}
