/* ==========================================================================
   Variables for Colors
   ========================================================================== */
:root{
    --winnss-badge-gradient: linear-gradient(to bottom right, #31ca4f, #003d0a);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%; /* Prevent text scaling on iOS */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
    font-size: 16px; /* Mobile-first base font size */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    color: #666;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #333;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #333;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid white;
    border-left: none;
    border-top: none;
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border: 2px solid;
    border-radius: 0;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-primary {
    background-color: #333;
    color: white;
    border-color: #333;
}

.btn-primary:hover {
    background-color: transparent;
    color: #333;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: #333;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.8rem;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

/* Latest Release */
.latest-release {
    background-color: white;
}

.release-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.release-artwork img {
    width: 100%;
    height: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.release-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.release-info p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.release-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.release-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.release-link:hover {
    border-bottom-color: #333;
}

/* About Preview */
.about-preview {
    background-color: #f8f8f8;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.text-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #333;
    transition: opacity 0.3s ease;
}

.text-link:hover {
    opacity: 0.7;
}

.about-image img {
    width: 100%;
    height: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Newsletter */
.newsletter {
    background-color: #333;
    color: white;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 0;
    font-size: 1rem;
    min-width: 250px;
}

.newsletter-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

/* Footer */
.footer {
    background-color: #222;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-content h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: white;
}

.contact-email {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-email:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 30px;
    text-align: center;
    color: #ccc;
    font-size: 0.9rem;
}

/* Page Content */
.page-content {
    padding-top: 70px;
    min-height: 100vh;
}

.page-header {
    text-align: center;
    padding: 80px 0 60px;
    background-color: white;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

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

/* Music Page */
.music-section {
    padding: 60px 0;
}

.music-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.music-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.music-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.music-artwork {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1; /* Makes it perfectly square */
}

.music-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none; /* Remove scale animation */
}

.music-info {
    padding: 24px;
}

.music-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
    color: #333;
}

.music-info p {
    color: #666;
    margin-bottom: 1.5rem;
}

.music-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.music-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.music-link:hover {
    border-bottom-color: #333;
}

/* Featured Playlist */
.featured-playlist {
    background-color: #f8f8f8;
    padding: 80px 0;
}

.playlist-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.playlist-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.playlist-info p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.playlist-artwork img {
    width: 100%;
    height: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Discography */
.discography {
    max-width: 800px;
}

.discography-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.discography-item:last-child {
    border-bottom: none;
}

.year {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    padding-top: 5px;
}

.releases {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.release {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.release-title {
    font-weight: 500;
    color: #333;
}

.release-type {
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Shows Page */
.shows-section {
    padding: 60px 0;
}

.shows-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
}

.shows-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
}

.show-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 30px;
    align-items: center;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.show-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.show-item.past {
    opacity: 0.7;
}

.show-date {
    text-align: center;
    color: #333;
}

.date-month {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.date-day {
    font-size: 2rem;
    font-weight: 700;
}

.show-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.show-location {
    color: #666;
    margin-bottom: 0.25rem;
}

.show-time {
    color: #888;
    font-size: 0.9rem;
}

.show-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.show-link {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.show-link:hover {
    color: #333;
}

.show-status {
    color: #888;
    font-size: 0.9rem;
    font-style: italic;
}

/* Booking Section */
.booking-section {
    background-color: #f8f8f8;
    padding: 80px 0;
}

.booking-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.booking-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.booking-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.booking-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.booking-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.booking-item p {
    color: #666;
    margin-bottom: 1rem;
}

/* Blog Page */
.blog-section {
    padding: 60px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.blog-post {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-post.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.post-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-post.featured .post-image img {
    height: 100%;
}

.post-content {
    padding: 30px;
}

.post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.post-date {
    color: #666;
}

.post-category {
    color: #333;
    font-weight: 500;
}

.post-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.3;
}

.post-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.3;
}

.post-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.read-more:hover {
    opacity: 0.7;
}

.load-more {
    text-align: center;
}

/* Blog Sidebar */
.blog-sidebar {
    max-width: 300px;
    margin-top: 60px;
}

.sidebar-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.sidebar-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #333;
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list a {
    color: #666;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.category-list a:hover {
    color: #333;
}

.category-list span {
    color: #999;
    font-size: 0.9rem;
}

.recent-posts {
    list-style: none;
}

.recent-posts li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.recent-posts li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-posts a {
    color: #666;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.recent-posts a:hover {
    color: #333;
}

.sidebar-section .newsletter-form {
    flex-direction: column;
    gap: 15px;
}

.sidebar-section .newsletter-form input {
    min-width: auto;
}

/* Track List Styles */
.track-list {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.track-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    color: #666;
    font-size: 0.9rem;
}

.track-number {
    width: 25px;
    color: #999;
}

.track-title {
    flex: 1;
}

.track-item:hover {
    color: #333;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error States */
.error-message {
    background: #ffebee;
    color: #c62828;
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
    border-left: 4px solid #c62828;
}

/* Dynamic Content Indicators */
.dynamic-content {
    position: relative;
}

.dynamic-indicator {
    color: #4CAF50;
    font-size: 12px;
    margin-left: 8px;
    opacity: 0.7;
}

/* Media Dynamic Content */
.media-dynamic {
    position: relative;
}

.media-dynamic::after {
    content: '●';
    color: #2196F3;
    font-size: 8px;
    position: absolute;
    top: -3px;
    right: -3px;
    opacity: 0.6;
    pointer-events: none;
}

/* Hide indicators on small screens */
@media (max-width: 768px) {
    .media-dynamic::after,
    .dynamic-indicator {
        display: none;
    }
}

.loading-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
    background: #f8f8f8;
    border-radius: 8px;
    margin: 20px 0;
}

.loading-placeholder::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.dynamic-content::before {
    content: '';
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        height: 55px; /* Reduced from 70px */
        padding: 0 15px;
    }

    .nav-logo a {
        font-size: 1.3rem; /* Slightly smaller */
        letter-spacing: 1px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 55px; /* Match reduced navbar height */
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 1.5rem 0; /* Reduced padding */
        max-height: calc(100vh - 55px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 0.75rem 0; /* Reduced margin */
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

    /* Update page content padding for smaller navbar */
    .page-content {
        padding-top: 55px;
    }

    .page-header {
        padding: 40px 0 30px; /* Significantly reduced */
    }

    .page-header h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .page-header p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .release-content,
    .about-grid,
    .playlist-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-grid .about-image {
        order: -1;
    }

    .playlist-content .playlist-artwork {
        order: -1;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .newsletter-input {
        min-width: auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .music-grid {
        grid-template-columns: 1fr;
    }

    .show-item {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .show-actions {
        justify-content: center;
    }

    .booking-info {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .blog-post.featured {
        grid-template-columns: 1fr;
    }

    .blog-post.featured .post-image {
        order: -1;
    }

    .discography-item {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .release {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px; /* Reduced padding */
    }

    .nav-container {
        height: 50px; /* Even smaller on mobile */
        padding: 0 12px;
    }

    .nav-logo a {
        font-size: 1.2rem;
        letter-spacing: 0.5px;
    }

    .nav-menu {
        top: 50px; /* Match smaller navbar */
        padding: 1rem 0;
    }

    .nav-item {
        margin: 0.5rem 0;
    }

    /* Update page content for smaller navbar */
    .page-content {
        padding-top: 50px;
    }

    .page-header {
        padding: 25px 0 20px; /* Very compact on mobile */
    }

    .page-header h1 {
        font-size: 1.6rem;
        margin-bottom: 0.3rem;
    }

    .page-header p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }

    .hero {
        height: 85vh; /* Reduced hero height on mobile */
    }

    .hero-title {
        font-size: 1.8rem; /* More mobile-friendly */
        letter-spacing: 1px;
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .section {
        padding: 40px 0; /* Reduced section padding */
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-header h2 {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }

    .section-header p {
        font-size: 0.85rem;
    }

    .music-grid {
        gap: 20px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .music-item {
        padding: 15px;
    }

    .music-info h3 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .music-info p {
        font-size: 0.8rem;
    }

    .streaming-buttons {
        gap: 8px;
        margin-top: 10px;
    }

    .streaming-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .footer {
        padding: 30px 0 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 25px;
    }

    .footer h3 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .social-links {
        gap: 15px;
    }

    .social-link {
        font-size: 0.85rem;
    }

    /* Underground app section mobile optimization */
    .underground-section h2 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }

    .underground-section p {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
        line-height: 1.5;
    }

    .app-store-buttons {
        gap: 15px;
    }

    .store-badge {
        width: 150px;
        height: 50px;
    }

    .app-store-btn,
    .google-play-btn {
        width: 150px;
        height: 50px;
    }
}

/* Streaming Service Buttons */
.streaming-logo {
    height: 40px;
    width: auto;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.streaming-icon {
    height: 24px;
    width: auto;
    margin-right: 8px;
    border-radius: 4px;
}

.streaming-btn {
    display: inline-block;
    margin: 0 8px;
    transition: transform 0.3s ease;
}

.streaming-btn:hover {
    transform: translateY(-2px);
}

.streaming-btn:hover .streaming-logo {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Music Streaming Buttons with Text */
.music-streaming-btn,
.release-streaming-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin: 5px 8px;
    border: 2px solid transparent;
    color: white;
    text-align: center;
    min-width: 160px;
    justify-content: center;
}

.spotify-btn {
    background: linear-gradient(135deg, #1db954 0%, #1ed760 100%);
    box-shadow: 0 4px 15px rgba(29, 185, 84, 0.3);
}

.spotify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 185, 84, 0.4);
    color: white;
}

.apple-music-btn {
    background: linear-gradient(135deg, #fa233b 0%, #ff6b6b 100%);
    box-shadow: 0 4px 15px rgba(250, 35, 59, 0.3);
}

.apple-music-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(250, 35, 59, 0.4);
    color: white;
}

.btn-spotify {
    background: transparent;
    border: none;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-spotify:hover {
    background: transparent;
    transform: translateY(-2px);
}

.hero-buttons .streaming-logo {
    height: 50px;
}

.music-links {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

.release-links {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.release-links .streaming-icon {
    height: 20px;
}

/* Underground App Section */
.underground-app-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a0b2e 0%, #2d1b3d 100%);
    margin: 40px 0;
    border-radius: 20px;
    color: white;
}

.app-promo {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.app-logo {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.underground-logo {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
    display: block;
    object-fit: contain;
}

.app-promo h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #c084fc, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-promo > p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

.app-download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px; /* Added padding above buttons */
    margin-bottom: 50px;
    flex-wrap: wrap;
}

/* App Store Buttons - Clean and Simple */
.app-store-btn,
.google-play-btn {
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 180px;
    height: 60px;
    border: none;
    padding: 0;
    background: transparent;
}

.app-store-btn:hover,
.google-play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Custom button images - identical treatment */
.app-store-btn .store-badge,
.google-play-btn .store-badge {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.app-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
    max-width: 300px;
    text-align: center;
}

.feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.feature h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #c084fc;
}

.feature p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
}

.built-by-winnss-badge {
    /* No fixed positioning, it will flow with your footer content */
    display: inline-flex; /* Allows padding and other box model properties while staying inline with text */
    background-image: linear-gradient(to bottom right, #494949, #1d1d1d); /* Green background */
    color: white;
    gap: 5px;
    padding: 8px 15px;
    border-radius: 15px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin: 10px;
}

.built-by-winnss-badge:hover {
    background-image: var(--winnss-badge-gradient); /* Darker green on hover */
    transform: translateY(-2px); /* Slight lift effect on hover */
    cursor: pointer; /* Indicate it's clickable */
}

/* Underground App Mobile Styles */
@media (max-width: 768px) {
    .underground-app-section {
        margin: 20px 0;
        padding: 40px 20px;
    }
    
    .underground-logo {
        width: 100px;
        height: 100px;
    }
    
    .app-promo h2 {
        font-size: 2rem;
    }
    
    .app-download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .app-features {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .feature {
        padding: 25px 20px;
        max-width: 280px;
    }
    
    .streaming-logo {
        height: 35px;
    }
    
    .streaming-icon {
        height: 20px;
        margin-right: 6px;
    }
    
    .hero-buttons .streaming-logo {
        height: 45px;
    }
    
    .music-streaming-btn,
    .release-streaming-btn {
        padding: 8px 12px;
        font-size: 0.85rem;
        min-width: 140px;
        margin: 4px 6px;
    }
    
    .music-links {
        gap: 8px;
        flex-direction: column;
        align-items: center;
    }
    
    .release-links {
        gap: 12px;
        flex-direction: column;
        align-items: center;
    }
    
    .music-info {
        padding: 20px;
    }
    
    .music-info h3 {
        font-size: 1.2rem;
    }
}

/* Additional mobile optimizations for very small screens */
@media (max-width: 360px) {
    .nav-container {
        height: 45px;
        padding: 0 10px;
    }

    .nav-logo a {
        font-size: 1.1rem;
    }

    .nav-menu {
        top: 45px;
    }

    .page-content {
        padding-top: 45px;
    }

    .page-header {
        padding: 20px 0 15px;
    }

    .page-header h1 {
        font-size: 1.4rem;
    }

    .hero-title {
        font-size: 1.6rem;
        letter-spacing: 0.5px;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .section {
        padding: 30px 0;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }

    .container {
        padding: 0 10px;
    }

    .store-badge {
        width: 130px;
        height: 45px;
    }

    .app-store-btn,
    .google-play-btn {
        width: 130px;
        height: 45px;
    }
}

/* Tablet and larger mobile landscape optimizations */
@media (min-width: 481px) and (max-width: 768px) {
    .nav-container {
        height: 60px;
    }

    .page-content {
        padding-top: 60px;
    }

    .nav-menu {
        top: 60px;
    }

    .hero {
        height: 90vh;
    }

    .page-header {
        padding: 50px 0 35px;
    }

    .section {
        padding: 50px 0;
    }
}

/* Ensure touch targets are large enough on mobile */
@media (max-width: 768px) {
    .btn,
    .nav-link,
    .social-link,
    .streaming-btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .hamburger {
        min-width: 44px;
        min-height: 44px;
        padding: 10px;
    }

    /* Improved mobile typography */
    body {
        font-size: 16px; /* Prevent zoom on iOS */
    }

    /* Better mobile form elements if needed */
    input, textarea, select {
        font-size: 16px; /* Prevent zoom on iOS */
    }

    /* Improved mobile scrolling */
    html {
        -webkit-overflow-scrolling: touch;
    }

    /* Better tap highlighting */
    * {
        -webkit-tap-highlight-color: rgba(168, 85, 247, 0.2);
    }
}
