/*==================================================
  BUTTONS
==================================================*/
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 140, 66, 0.4);
}

.outline-button {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.outline-button:hover {
    background: var(--accent-color);
    color: var(--text-light);
}

/*==================================================
  CARDS
==================================================*/
.card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-title {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.card-content {
    margin-bottom: 1.5rem;
}

.card-image {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

/*==================================================
  FORMS
==================================================*/
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.form-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(255, 140, 66, 0.2);
}

textarea.form-input {
    min-height: 120px;
    resize: vertical;
}

/*==================================================
  ALERTS
==================================================*/
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: rgba(72, 187, 120, 0.1);
    border: 1px solid #48BB78;
    color: #48BB78;
}

.alert-error {
    background: rgba(245, 101, 101, 0.1);
    border: 1px solid #F56565;
    color: #F56565;
}

.alert-info {
    background: rgba(66, 153, 225, 0.1);
    border: 1px solid #4299E1;
    color: #4299E1;
}

/*==================================================
  BADGES
==================================================*/
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-primary {
    background: var(--accent-color);
    color: var(--text-light);
}

.badge-outline {
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

/*==================================================
  LOADERS
==================================================*/
.loader {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    animation: spin 1s linear infinite;
}

.loader-sm {
    width: 20px;
    height: 20px;
    border-width: 2px;
}

.loader-lg {
    width: 60px;
    height: 60px;
    border-width: 4px;
}

/*==================================================
  MODALS
==================================================*/
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--primary-color);
    padding: 2rem;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
    color: var(--text-light);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.modal-close:hover {
    opacity: 1;
}

/*==================================================
  MUSIC WAVEFORM
==================================================*/
.music-waveform {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 200px;
    justify-content: center;
}

.music-waveform .bar {
    width: 12px;
    background: var(--accent-color);
    border-radius: 6px;
    height: 100%;
    animation: waveform 1.5s ease-in-out infinite;
}

.music-waveform .bar:nth-child(1) { animation-delay: 0.1s; }
.music-waveform .bar:nth-child(2) { animation-delay: 0.2s; }
.music-waveform .bar:nth-child(3) { animation-delay: 0.3s; }
.music-waveform .bar:nth-child(4) { animation-delay: 0.4s; }
.music-waveform .bar:nth-child(5) { animation-delay: 0.5s; }

@keyframes waveform {
    0%, 100% { 
        transform: scaleY(0.5);
        background: var(--accent-color);
    }
    50% { 
        transform: scaleY(1);
        background: #FF9F66;
    }
}

/*==================================================
  EFFETTO BLUR
==================================================*/
/* Background pattern e riflessi */
.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 140, 66, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 140, 66, 0.1) 0%, transparent 50%);
    animation: reflectionMove 15s ease-in-out infinite;
    z-index: 1;
}

@keyframes reflectionMove {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-2%, 2%); }
    50% { transform: translate(2%, -2%); }
    75% { transform: translate(-1%, -1%); }
    100% { transform: translate(0, 0); }
}