:root {
    --primary: #0a0a0a;
    --secondary: #1a1a1a;
    --accent: #b91c1c;
    --accent-light: #dc2626;
    --gold: #d4af37;
    --light: #f8f8f8;
    --text: #333333;
    --text-light: #6b7280;
    --border: #e5e7eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: var(--text);
    background-color: white;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    line-height: 1.2;
}

.luxury-border {
    position: relative;
}

.luxury-border:before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--gold), var(--accent), var(--gold));
    z-index: -1;
    border-radius: inherit;
}

/* Navigation */
.navbar {
    padding: 1.5rem 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.navbar.scrolled {
    padding: 1rem 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 2rem;
    color: var(--gold);
    letter-spacing: 1px;
    position: relative;
    text-transform: uppercase;
}

.navbar-brand:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, var(--gold), var(--accent));
    transition: width 0.6s ease;
}

.navbar-brand:hover:after {
    width: 100%;
}

.nav-link {
    font-weight: 500;
    color: white;
    margin: 0 0.5rem;
    padding: 0.5rem 1.5rem !important;
    border-radius: 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.nav-link:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: all 0.6s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--gold);
    transform: translateY(-2px);
}

.nav-link:hover:before {
    left: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1571974599782-87624638275f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') no-repeat center center;
    background-size: cover;
    opacity: 0.4;
    z-index: 0;
    transform: scale(1.1);
    transition: transform 20s linear;
}

.hero-section:hover .hero-bg {
    transform: scale(1.15);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    line-height: 1.1;
    text-transform: uppercase;
    background: linear-gradient(45deg, var(--gold), #fff, var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: shimmer 3s ease infinite;
}

@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 700px;
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.btn-premium {
    background: linear-gradient(45deg, var(--gold), var(--accent));
    border: none;
    padding: 1.2rem 3rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    color: white;
    text-decoration: none;
    display: inline-block;
}

.btn-premium:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.btn-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
    color: white;
}

.btn-premium:hover:before {
    left: 100%;
}

.btn-outline-premium {
    border: 2px solid var(--gold);
    background: transparent;
    color: var(--gold);
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.5s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-premium:hover {
    background: var(--gold);
    color: white;
}

/* Sections */
.section {
    padding: 10rem 0;
    position: relative;
}

.section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--accent), var(--gold));
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
}

.about-text {
    font-size: 1.2rem;
    color: var(--text);
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.premium-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 4rem 0;
}

/* Image Grid */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 5rem;
}

.grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 4/3;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: scale(1);
    transition: all 0.7s ease;
    cursor: pointer;
}

.grid-item:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.grid-item:hover img {
    transform: scale(1.1);
}

.grid-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s ease;
}

.grid-item:hover .grid-overlay {
    transform: translateY(0);
    opacity: 1;
}

/* Music Section */
.music-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.music-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1511735111819-9a3f7709049c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') no-repeat center center;
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.player-container {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    padding: 4rem;
    position: relative;
    z-index: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.player-container:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.track-list {
    margin-bottom: 3rem;
}

.track {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.track:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.track:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: all 0.6s ease;
}

.track:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(15px);
}

.track:hover:before {
    left: 100%;
}

.track.active {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.track-info {
    flex: 1;
}

.track-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-family: 'Cinzel', serif;
}

.track-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.track-duration {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.audio-player {
    width: 100%;
    margin-top: 2rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    height: 10px;
}

/* Events Section */
.events-section {
    background-color: white;
}

.event-card {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.6s ease;
    height: 100%;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    transform: translateY(0) scale(1);
    position: relative;
}

.event-card:before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--gold), var(--accent), var(--gold));
    z-index: -1;
    border-radius: 22px;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.event-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.event-card:hover:before {
    opacity: 1;
}

.event-date {
    background: linear-gradient(135deg, var(--gold), var(--accent));
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.event-date:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.2);
    transform: rotate(45deg);
    transition: all 0.8s ease;
}

.event-card:hover .event-date:before {
    transform: rotate(45deg) translate(50%, 50%);
}

.event-day {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    position: relative;
    z-index: 1;
    font-family: 'Cinzel', serif;
}

.event-month {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    z-index: 1;
    font-family: 'Cinzel', serif;
}

.event-content {
    padding: 2.5rem;
}

.event-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
}

.event-location {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    font-family: 'Playfair Display', serif;
}

.event-location i {
    margin-right: 0.8rem;
    color: var(--gold);
}

/* Contratación Section */
.contract-container {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.contract-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--gold);
}

.contract-logo {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1rem;
}

.contract-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.contract-subtitle {
    color: var(--text-light);
    font-size: 1rem;
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.form-section-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-family: 'Cinzel', serif;
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.form-control {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.payment-section {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 2rem;
    margin-top: 2rem;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.payment-method {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method.active {
    border-color: var(--gold);
    background-color: rgba(212, 175, 55, 0.1);
}

.payment-method i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.payment-method.active i {
    color: var(--gold);
}

.payment-details {
    display: none;
    margin-top: 1.5rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.payment-details.active {
    display: block;
}

.owner-selection {
    margin-bottom: 1.5rem;
}

.owner-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.owner-card.active {
    border-color: var(--gold);
    background-color: rgba(212, 175, 55, 0.1);
}

.owner-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.owner-info {
    flex: 1;
}

.owner-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.owner-details {
    font-size: 0.9rem;
    color: var(--text-light);
}

.contract-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.contract-preview {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    margin-top: 3rem;
    display: none;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.contract-preview.active {
    display: block;
}

.preview-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--gold);
}

.preview-logo {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1rem;
}

.preview-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.preview-content {
    line-height: 1.8;
}

.preview-section {
    margin-bottom: 1.5rem;
}

.preview-label {
    font-weight: 600;
    display: inline-block;
    width: 200px;
}

.preview-signatures {
    display: flex;
    justify-content: space-between;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.signature-box {
    text-align: center;
    width: 45%;
}

.signature-line {
    border-bottom: 1px solid var(--text);
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    min-height: 30px;
}

.signature-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Base de Datos Section */
.dashboard-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.card-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    font-family: 'Cinzel', serif;
}

.table-container {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    overflow: hidden;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--primary);
    font-weight: 600;
    padding: 1rem;
    text-align: left;
    border-bottom: 2px solid var(--gold);
    font-family: 'Cinzel', serif;
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

.data-table tr:hover {
    background-color: rgba(212, 175, 55, 0.05);
}

.search-box {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input {
    padding: 0.75rem 1rem 0.75rem 3rem;
    border: 1px solid var(--border);
    border-radius: 50px;
    width: 100%;
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.tab-container {
    margin-bottom: 2rem;
}

.nav-tabs {
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}

.nav-tabs .nav-link {
    border: none;
    color: var(--text-light);
    font-weight: 600;
    padding: 1rem 1.5rem;
    border-radius: 10px 10px 0 0;
    margin: 0;
}

.nav-tabs .nav-link.active {
    color: var(--gold);
    background-color: rgba(212, 175, 55, 0.1);
    border-bottom: 3px solid var(--gold);
}

.tab-pane {
    padding: 2rem 0;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
}

.status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-active {
    background-color: rgba(16, 185, 129, 0.1);
    color: #065f46;
}

.status-pending {
    background-color: rgba(245, 158, 11, 0.1);
    color: #92400e;
}

.status-completed {
    background-color: rgba(59, 130, 246, 0.1);
    color: #1e40af;
}

.status-cancelled {
    background-color: rgba(239, 68, 68, 0.1);
    color: #991b1b;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1493225457124-a3eb161ffa5f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') no-repeat center center;
    background-size: cover;
    opacity: 0.15;
    z-index: 0;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-form .form-control {
    padding: 1.2rem 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    margin-bottom: 2rem;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1.1rem;
    font-family: 'Playfair Display', serif;
}

.contact-form .form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Footer */
footer {
    background-color: var(--primary);
    color: white;
    padding: 6rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.footer-logo {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--gold), #fff, var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    font-size: 1.3rem;
}

.social-link:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.8s ease;
}

.social-link:hover {
    background: var(--gold);
    transform: translateY(-8px) rotate(360deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.social-link:hover:before {
    left: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    font-family: 'Playfair Display', serif;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gold), var(--accent));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s ease;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    transform: scale(0.8) rotate(0deg);
    font-size: 1.5rem;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) rotate(0deg);
}

.back-to-top:hover {
    transform: scale(1.1) rotate(180deg);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    33% {
        transform: translateY(-30px) rotate(120deg) scale(1.1);
    }
    66% {
        transform: translateY(15px) rotate(240deg) scale(0.9);
    }
    100% {
        transform: translateY(0) rotate(360deg) scale(1);
    }
}

/* Counter */
.counter {
    font-size: 4rem;
    font-weight: 700;
    color: var(--gold);
    text-align: center;
    margin-bottom: 1.5rem;
    font-family: 'Cinzel', serif;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.counter-label {
    font-size: 1.2rem;
    color: var(--text-light);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Cinzel', serif;
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background-color: rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px 15px 0 0;
    padding: 1.5rem;
}

.modal-title {
    font-family: 'Cinzel', serif;
    color: var(--primary);
    font-weight: 600;
}

/* Alert Styles */
.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #065f46;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section {
        padding: 6rem 0;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    
    .contract-container {
        padding: 1.5rem;
    }
    
    .payment-method {
        min-width: 100px;
    }
    
    .contract-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contract-actions .btn {
        width: 100%;
    }
    
    .table-container {
        padding: 1rem;
        overflow-x: auto;
    }
    
    .data-table {
        min-width: 800px;
    }
}

/* Particles */
.particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}