/* Import Modern Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #0f172a;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation */
nav {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 72px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 0.5rem 0;
}

.navbar-logo {
    height: 32px;
    width: auto;
}

.navbar-toggler {
    display: none;
    background: none;
    border: none;
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    color: #64748b;
    transition: all 0.2s ease;
}

.navbar-toggler:hover {
    background-color: #f1f5f9;
    color: #0f172a;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 0.25rem;
}

nav ul li {
    margin: 0;
}

nav ul li a,
nav ul li button {
    display: block;
    padding: 0.625rem 1rem;
    color: #64748b;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
    border-radius: 8px;
}

nav ul li a:hover,
nav ul li button:hover {
    color: #0f172a;
    background-color: #f8fafc;
}

/* Content Container */
.content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Page Titles */
h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: #0f172a;
}

/* Drop List Container */
#drop-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

/* Drop Cards */
.drop-item {
    grid-column: span 4;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.drop-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, #D56337 0%, #B84A20 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.drop-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
}

.drop-item:hover::before {
    opacity: 1;
}

.drop-item h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    padding: 1.75rem 1.75rem 0.75rem;
    letter-spacing: -0.01em;
}

.drop-item h2 a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.drop-item h2 a:hover {
    color: #D56337;
}

.drop-item p {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.6;
    padding: 0 1.75rem 1.75rem;
    margin: 0;
}

/* Messages */
#message-container {
    max-width: 1280px;
    margin: 1rem auto;
    padding: 0 2rem;
}

.message {
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 12px;
    transition: opacity 0.5s ease-out;
    font-size: 0.9375rem;
    font-weight: 500;
}

.message.success {
    color: #047857;
    background-color: #d1fae5;
}

.message.error {
    color: #dc2626;
    background-color: #fee2e2;
}

.message.info {
    color: #0369a1;
    background-color: #e0f2fe;
}

/* Pagination */
.next {
    display: inline-block;
    margin-top: 3rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.5;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, #D56337 0%, #B84A20 100%);
    border: none;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(213, 99, 55, 0.3);
}

.next:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(213, 99, 55, 0.4);
}

/* Forms */
form {
    margin: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: #0f172a;
    letter-spacing: 0.01em;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: #0f172a;
    background-color: #fff;
    border: 1px solid rgba(15, 23, 42, 0.15);
    border-radius: 10px;
    transition: all 0.2s ease;
    font-family: inherit;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    color: #0f172a;
    background-color: #fff;
    border-color: #D56337;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(213, 99, 55, 0.1);
}

button[type="submit"],
.btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

button[type="submit"],
.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #D56337 0%, #B84A20 100%);
    box-shadow: 0 4px 6px -1px rgba(213, 99, 55, 0.3);
}

button[type="submit"]:hover,
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(213, 99, 55, 0.4);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.show {
    opacity: 1;
}

/* Mobile Sidebar Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    background-color: #fff;
    box-shadow: -4px 0 24px rgba(15, 23, 42, 0.15);
    z-index: 1050;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-menu.show {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.mobile-menu-header .navbar-brand {
    font-size: 1.25rem;
    padding: 0;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #64748b;
    padding: 0.25rem;
    line-height: 1;
    transition: color 0.2s ease;
}

.mobile-menu-close:hover {
    color: #0f172a;
}

.mobile-menu ul {
    flex-direction: column;
    padding: 0.5rem 0;
}

.mobile-menu ul li {
    border-bottom: none;
}

.mobile-menu ul li a,
.mobile-menu ul li button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 1rem 1.5rem;
    border-radius: 0;
    color: #0f172a;
    font-weight: 500;
    transition: all 0.2s ease;
}

.mobile-menu ul li a:hover,
.mobile-menu ul li button:hover {
    background-color: #f8fafc;
    color: #D56337;
}

/* Responsive Design */
@media (max-width: 991px) {
    .navbar-toggler {
        display: block;
    }

    .navbar-menu {
        display: none;
    }

    .navbar-container {
        padding: 0 1.5rem;
    }

    .content {
        padding: 2rem 1.5rem;
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    #drop-container {
        grid-template-columns: repeat(12, 1fr);
        gap: 1.5rem;
    }

    .drop-item {
        grid-column: span 12;
    }

    #message-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .drop-item {
        grid-column: span 6;
    }
}

@media (min-width: 992px) {
    .drop-item {
        grid-column: span 4;
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 1.875rem;
    }

    .navbar-container {
        padding: 0 1rem;
        min-height: 64px;
    }

    .content {
        padding: 1.5rem 1rem;
    }

    #message-container {
        padding: 0 1rem;
    }

    /* Full-width buttons on mobile */
    button[type="submit"],
    .btn {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        margin: 0 0 0.75rem 0;
    }
}

/* Profile Page Styles */
.profile-container {
    max-width: 800px;
    margin: 0 auto;
}

.profile-header {
    text-align: center;
    margin-bottom: 3rem;
}

.profile-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: block;
    border: 4px solid rgba(102, 126, 234, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
}

.profile-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.profile-bio {
    font-size: 1.0625rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.exclusive-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 0.75rem;
    border: 2px solid #FFD700;
    box-shadow: 0 4px 6px rgba(255, 215, 0, 0.3);
    letter-spacing: 0.05em;
}

.artist-badge {
    display: inline-block;
    background: linear-gradient(135deg, #D56337 0%, #B84A20 100%);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 0.75rem;
    box-shadow: 0 4px 6px rgba(102, 126, 234, 0.3);
    letter-spacing: 0.05em;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.25rem;
    background-color: #f8fafc;
    color: #D56337;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.social-link:hover {
    background-color: #D56337;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.section-divider {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(15, 23, 42, 0.1), transparent);
    margin: 3rem 0;
}

.profile-section {
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.drops-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.drop-list-item {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    transition: padding-left 0.2s ease;
}

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

.drop-list-item:hover {
    padding-left: 0.5rem;
}

.drop-link {
    color: #0f172a;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.0625rem;
    transition: color 0.2s ease;
}

.drop-link:hover {
    color: #D56337;
}

.empty-message {
    color: #94a3b8;
    font-style: italic;
    padding: 2rem 0;
    text-align: center;
}

/* Account Management Page Styles */
.account-container {
    max-width: 700px;
    margin: 0 auto;
}

.account-section {
    margin-bottom: 3rem;
}

.account-form {
    background-color: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.account-form p {
    margin-bottom: 1.5rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-secondary {
    color: #64748b;
    background-color: white;
    border: 1px solid rgba(15, 23, 42, 0.15);
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    text-align: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    background-color: #f8fafc;
    border-color: #D56337;
    color: #D56337;
}

.danger-zone {
    background-color: #fef2f2;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #fecaca;
}

.danger-zone .section-title {
    color: #dc2626;
    margin-bottom: 0.75rem;
}

.danger-description {
    color: #991b1b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-danger {
    color: white;
    background-color: #dc2626;
    border: none;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    text-align: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.3);
}

.btn-danger:hover {
    background-color: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(220, 38, 38, 0.4);
}

/* Sticky Footer Layout */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content {
    flex: 1 0 auto;
}

.content.no-padding {
    padding: 0;
    max-width: none;
}

/* Site Footer */
.site-footer {
    flex-shrink: 0;
    background-color: #D56337;
    color: #fff;
    padding: 1.5rem 2rem;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-content span {
    font-size: 0.875rem;
}

.footer-content a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-content a:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .site-footer {
        padding: 1.25rem 1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* HOMEPAGE SPECIFIC FIXES */

/* 1. Reset map positioning AND height */
.homepage #map {
    position: static !important;
    width: 100%;
    height: calc(100vh - 72px - 72px) !important; /* nav (~72px) + footer (~72px) */
    overflow: hidden;
}

/* 2. Position footer below the map */
.homepage .site-footer {
    position: absolute;
    top: 118%;
    width: 100%;
    z-index: 100;
}
