/*!
Theme Name: SoundWave Records
Theme URI: https://tudominio.com
Description: Tema moderno para sellos discográficos independientes
Author: Tu Nombre
Author URI: https://tudominio.com
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: soundwave-records
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 100%);
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* HEADER */
header {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #ff006e;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.logo span {
    background: linear-gradient(135deg, #ff006e, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo img {
    display: block;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff006e, #00d4ff);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* HERO SECTION */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 0, 110, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    top: 10%;
    left: 10%;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 5%;
    right: 5%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-50px); }
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ff006e, #00d4ff, #ff006e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: backgroundShift 3s ease infinite;
}

@keyframes backgroundShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #b0b0b0;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #ff006e, #00d4ff);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(255, 0, 110, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 0, 110, 0.5);
}

/* ARTISTAS SECTION */
.artistas {
    padding: 5rem 2rem;
    background: #0f0f0f;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #ff006e, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.artistas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.artist-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 0, 110, 0.3);
    cursor: pointer;
}

.artist-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 0, 110, 0.4);
    border-color: #ff006e;
}

.artist-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #ff006e, #00d4ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.artist-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.artist-card:hover .artist-image::before {
    background: rgba(0, 0, 0, 0.5);
}

.artist-info {
    padding: 1.5rem;
}

.artist-name {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.artist-genre {
    color: #00d4ff;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* VIDEOS SECTION */
.videos {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
}

.videos .artistas-grid {
    margin: 0 auto;
    max-width: 1200px;
}

.video-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.video-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #ff006e 0%, #00d4ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    transition: all 0.3s ease;
    position: relative;
}

.video-item:hover .video-placeholder {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 0, 110, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.video-item:hover .play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-title {
    padding: 1rem;
    background: #0f0f0f;
    font-weight: 600;
}

/* FORMULARIO SECTION */
.formulario-section {
    padding: 5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.1), rgba(0, 212, 255, 0.1));
    max-width: 900px;
    margin: 3rem auto;
    border-radius: 15px;
    border: 1px solid rgba(255, 0, 110, 0.3);
}

.formulario-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.formulario-section > p {
    margin-bottom: 2rem;
    color: #b0b0b0;
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    text-align: left;
    color: #b0b0b0;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 1px solid rgba(255, 0, 110, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: #ff006e;
    box-shadow: 0 0 15px rgba(255, 0, 110, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.5em;
    padding-right: 2.5rem;
}

.form-group select option {
    background: #1a1a2e;
    color: white;
}

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

.radio-group {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-weight: 500;
    margin: 0;
}

.radio-group input[type="radio"] {
    cursor: pointer;
    width: auto;
    padding: 0;
    border: none;
    background: none;
    accent-color: #ff006e;
}

.form-group.hidden {
    display: none;
}

.form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    border: 1px solid rgba(0, 212, 255, 0.5);
}

.form-message.error {
    display: block;
    background: rgba(255, 0, 110, 0.2);
    color: #ff006e;
    border: 1px solid rgba(255, 0, 110, 0.5);
}

/* FOOTER */
footer {
    background: #0f0f0f;
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 0, 110, 0.3);
    color: #888;
}

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 0, 110, 0.2);
    border: 2px solid #ff006e;
    border-radius: 50%;
    color: #ff006e;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: #ff006e;
    color: #fff;
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.6);
}

/* VIDEO EMBED */
.video-embed-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
}

.video-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* GENRE FILTERS */
.genre-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.genre-filter {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    background: rgba(255, 0, 110, 0.2);
    border: 1px solid rgba(255, 0, 110, 0.5);
    color: #fff;
    transition: all 0.3s ease;
}

.genre-filter:hover,
.genre-filter.active {
    background: linear-gradient(135deg, #ff006e, #00d4ff);
    border-color: transparent;
    transform: translateY(-2px);
}

/* FORM IMPROVEMENTS */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ff006e;
    box-shadow: 0 0 10px rgba(255, 0, 110, 0.5);
    animation: shake 0.3s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* FADE IN ANIMATION */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* LOADING STATE */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ACCESSIBILITY IMPROVEMENTS */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #00d4ff;
    outline-offset: 2px;
}

/* SKIP TO CONTENT */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #ff006e;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    nav a {
        margin: 0 0.8rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .radio-group {
        gap: 1rem;
    }

    .formulario-section {
        margin: 2rem 1rem;
    }

    .genre-filters {
        gap: 0.5rem;
    }

    .genre-filter {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }

    .video-embed-container {
        padding-bottom: 56.25%;
    }
}