/* =========================================
   TenshoMusic Custom Theme Styles - PREMIUM
   ========================================= */

/* --- Global Reset & Dark Mode Base --- */
body,
.site-content {
    background-color: #000000 !important;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* --- Container Utility --- */
.tm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* --- Buttons with Modern Effects --- */
.tm-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 6px;
    letter-spacing: 1.2px;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tm-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.tm-btn:hover::before {
    width: 300px;
    height: 300px;
}

.tm-btn-primary {
    background: #8B5CF6;
    color: #fff;
    border-color: #8B5CF6;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.tm-btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    background: #7C3AED;
    color: #fff !important;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.6);
}

.tm-btn-outline {
    background-color: transparent;
    border-color: #ffffff;
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.tm-btn-outline:hover {
    background-color: #8B5CF6;
    border-color: #8B5CF6;
    color: #fff !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.tm-btn-large {
    padding: 18px 48px;
    font-size: 1.1rem;
}

.tm-link {
    color: #8B5CF6;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.tm-link:hover {
    color: #fff !important;
    padding-left: 8px;
}

/* --- Scroll Reveal & Innovation Effects --- */
[data-tm-reveal] {
    opacity: 1;
    /* Safety default */
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Only hide if JS is confirmed to be working and the element is waiting for scroll */
.tm-reveal-waiting {
    opacity: 0 !important;
}

[data-tm-reveal="fade-up"].tm-reveal-waiting {
    transform: translateY(40px);
}

[data-tm-reveal="fade-in"].tm-reveal-waiting {
    transform: scale(0.95);
}

[data-tm-reveal="zoom-in"].tm-reveal-waiting {
    transform: scale(0.9);
}

[data-tm-reveal].tm-revealed {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

/* Glassmorphism & Glow Utilities */
.tm-glass {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.tm-glow-hover {
    transition: box-shadow 0.4s ease;
}

.tm-glow-hover:hover {
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
}

.tm-text-gradient {
    background: linear-gradient(135deg, #fff 0%, #A78BFA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tm-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: #000;
    overflow: hidden;
    padding: 100px 0 80px;
}

/* Animated gradient background */
.tm-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
    /* Fix: Don't block hero buttons */
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Hero Content Grid */
.tm-hero .tm-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tm-hero-content {
    text-align: left;
}

.tm-hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 1.1;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tm-hero-subtitle {
    font-size: 1.3rem;
    color: #b3b3b3;
    margin: 0 0 40px;
    font-weight: 400;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.tm-hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Hero Profile Photo */
.tm-hero-photo {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.tm-hero-photo img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3);
    border: 3px solid rgba(139, 92, 246, 0.3);
    transition: transform 0.4s;
}

.tm-hero-photo img:hover {
    transform: scale(1.02);
}

/* --- Music Section (Homepage) --- */
.tm-music-home {
    padding: 120px 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #000 100%);
}

.tm-music-header {
    text-align: center;
    margin-bottom: 70px;
}

.tm-music-intro {
    font-size: 1.2rem;
    color: #999;
    margin-top: 10px;
    margin-bottom: 50px;
}

.tm-featured-tracks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.tm-track-card {
    background: linear-gradient(145deg, #141414 0%, #0a0a0a 100%);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #222;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tm-track-card:hover {
    transform: translateY(-8px);
    border-color: #8B5CF6;
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.25);
}

.tm-track-artwork {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.tm-track-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.tm-track-card:hover .tm-track-artwork img {
    transform: scale(1.1);
}

.tm-track-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(139, 92, 246, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s;
    backdrop-filter: blur(10px);
}

.tm-track-card:hover .tm-track-play {
    opacity: 1;
}

.tm-track-details {
    padding: 25px;
}

.tm-track-details h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 700;
}

.tm-track-year {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.tm-track-platforms {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tm-track-platforms a {
    padding: 8px 16px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    color: #8B5CF6;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s;
}

.tm-track-platforms a:hover {
    background: #8B5CF6;
    color: #fff;
    transform: translateY(-2px);
}

.tm-music-cta-home {
    text-align: center;
}

/* --- Spotify Embed Cards (Homepage) --- */
.tm-track-card-spotify {
    background: transparent;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tm-track-card-spotify:hover {
    transform: translateY(-8px);
}

.tm-track-card-spotify iframe {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.4s;
}

.tm-track-card-spotify:hover iframe {
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.3);
}

/* --- Discography Page Spotify Styles --- */
.tm-music-grid-spotify {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    margin-bottom: 80px;
}

.tm-music-card-spotify-full {
    transition: transform 0.4s;
}

.tm-music-card-spotify-full:hover {
    transform: translateY(-10px);
}

.tm-spotify-track-title {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

.tm-music-card-spotify-full iframe {
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    transition: box-shadow 0.4s;
}

.tm-music-card-spotify-full:hover iframe {
    box-shadow: 0 25px 60px rgba(139, 92, 246, 0.4);
}

/* --- Production Playlist Section --- */
.tm-production-section {
    margin: 100px 0;
    text-align: center;
}

.tm-playlist-container {
    max-width: 800px;
    margin: 0 auto;
    transition: transform 0.4s;
}

.tm-playlist-container:hover {
    transform: translateY(-5px);
}

.tm-playlist-container iframe {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    transition: box-shadow 0.4s;
}

.tm-playlist-container:hover iframe {
    box-shadow: 0 30px 70px rgba(139, 92, 246, 0.4);
}

/* --- Discography Page Styles --- */
.tm-music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 50px;
    margin-bottom: 80px;
}

.tm-music-card {
    background: linear-gradient(145deg, #141414 0%, #0a0a0a 100%);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #222;
    transition: all 0.4s;
}

.tm-music-card:hover {
    transform: translateY(-10px);
    border-color: #8B5CF6;
    box-shadow: 0 25px 50px rgba(139, 92, 246, 0.3);
}

.tm-music-artwork {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.tm-music-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.tm-music-card:hover .tm-music-artwork img {
    transform: scale(1.15);
}

.tm-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.tm-music-card:hover .tm-play-overlay {
    opacity: 1;
}

.tm-music-info {
    padding: 30px;
}

.tm-music-title {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 700;
}

.tm-music-meta {
    color: #666;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* Audio Player Styling */
.tm-audio-player {
    width: 100%;
    margin-bottom: 25px;
    border-radius: 8px;
    background: #0a0a0a;
    border: 1px solid #333;
}

.tm-audio-player::-webkit-media-controls-panel {
    background: #0a0a0a;
}

.tm-music-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tm-platform-link {
    flex: 1;
    min-width: 100px;
    padding: 12px 20px;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.tm-platform-link.spotify {
    background: linear-gradient(135deg, #1DB954 0%, #1ed760 100%);
    color: #fff;
}

.tm-platform-link.spotify:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(29, 185, 84, 0.4);
}

.tm-platform-link.apple {
    background: linear-gradient(135deg, #FA243C 0%, #ff5a6e 100%);
    color: #fff;
}

.tm-platform-link.apple:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(250, 36, 60, 0.4);
}

.tm-platform-link.youtube {
    background: linear-gradient(135deg, #FF0000 0%, #ff3333 100%);
    color: #fff;
}

.tm-platform-link.youtube:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4);
}

/* Music CTA Section */
.tm-music-cta {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, transparent 100%);
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.tm-music-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #fff;
}

.tm-social-music {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.tm-social-music-btn {
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tm-social-music-btn.spotify-big {
    background: linear-gradient(135deg, #1DB954 0%, #1ed760 100%);
    color: #fff;
    box-shadow: 0 8px 25px rgba(29, 185, 84, 0.3);
}

.tm-social-music-btn.spotify-big:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(29, 185, 84, 0.5);
}

.tm-social-music-btn.apple-big {
    background: linear-gradient(135deg, #FA243C 0%, #ff5a6e 100%);
    color: #fff;
    box-shadow: 0 8px 25px rgba(250, 36, 60, 0.3);
}

.tm-social-music-btn.apple-big:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(250, 36, 60, 0.5);
}

.tm-social-music-btn.youtube-big {
    background: linear-gradient(135deg, #FF0000 0%, #ff3333 100%);
    color: #fff;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}

.tm-social-music-btn.youtube-big:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.5);
}

/* --- Services Section with Cards --- */
.tm-services {
    padding: 120px 0;
    background: linear-gradient(180deg, #000 0%, #0a0a0a 100%);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 30px;
    color: #fff;
    position: relative;
    display: block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #8B5CF6, #A78BFA);
    border-radius: 2px;
}

.tm-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.tm-service-card {
    background: linear-gradient(145deg, #141414 0%, #0a0a0a 100%);
    padding: 50px 40px;
    border-radius: 16px;
    border: 1px solid #222;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tm-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    /* Fix: Don't block button clicks */
}

.tm-service-card:hover {
    transform: translateY(-8px);
    border-color: #8B5CF6;
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.tm-service-card:hover::before {
    opacity: 1;
}

.tm-icon {
    margin-bottom: 25px;
    color: #8B5CF6;
    transition: transform 0.4s;
}

.tm-service-card:hover .tm-icon {
    transform: scale(1.1);
}

.tm-service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 18px;
    color: #fff;
    font-weight: 700;
}

.tm-service-card p {
    color: #999;
    margin-bottom: 30px;
    line-height: 1.7;
    font-size: 1rem;
}

.tm-link {
    color: #8B5CF6;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    /* Ensure it's above card overlays */
    z-index: 5;
}

.tm-link:hover {
    gap: 12px;
}

/* --- CTA Section with Glassmorphism --- */
.tm-cta {
    padding: 140px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #000 100%);
    text-align: center;
    border-top: 1px solid #222;
    position: relative;
    overflow: hidden;
}

.tm-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(80px);
}

.tm-cta-content {
    position: relative;
    z-index: 2;
}

.tm-cta-content h2 {
    font-size: 3.2rem;
    margin-bottom: 24px;
    font-weight: 800;
}

.tm-cta-content p {
    font-size: 1.25rem;
    color: #ccc;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Header Custom Styles --- */
.tm-header {
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.tm-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title a {
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Limit Logo Size - Fixed to prevent squashing */
.site-branding img,
.custom-logo {
    max-height: 40px;
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s;
}

/* --- User Account Dropdown --- */
.tm-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.tm-user-account {
    position: relative;
}

.tm-user-toggle {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.tm-user-toggle:hover {
    background: #8B5CF6;
    border-color: #8B5CF6;
    color: #fff !important;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

.tm-user-name {
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tm-user-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 220px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 10px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

.tm-user-account.active .tm-user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tm-user-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tm-user-dropdown li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.tm-user-dropdown li a i {
    font-size: 18px;
    color: #8B5CF6;
}

.tm-user-dropdown li a:hover {
    background: rgba(139, 92, 246, 0.15);
    color: #fff;
    padding-left: 25px;
}

.tm-user-dropdown li.logout-item {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 5px;
    padding-top: 5px;
}

.tm-user-dropdown li.logout-item a:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.tm-user-dropdown li.logout-item a i {
    color: #ef4444;
}

.tm-login-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 16px;
    border: 1px solid rgba(139, 92, 246, 0.5);
    border-radius: 50px;
    transition: all 0.3s;
}

.tm-login-link:hover {
    background: #8B5CF6;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

/* --- Redesigned Footer --- */
.tm-footer {
    padding: 80px 0 40px;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.tm-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
}

.tm-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.tm-footer-logo {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.tm-footer-logo span {
    color: #8B5CF6;
}

.tm-footer-tagline {
    color: #888;
    font-size: 1rem;
    max-width: 300px;
    line-height: 1.5;
}

.tm-footer-links-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.tm-footer-social {
    display: flex;
    gap: 15px;
}

.tm-social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tm-social-icon i,
.social-svg {
    width: 20px;
    height: 20px;
    font-size: 20px;
    transition: transform 0.3s;
}

.tiktok-svg {
    width: 18px;
    height: 18px;
}

.tm-social-icon:hover {
    background: #8B5CF6;
    border-color: #8B5CF6;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
    color: #fff;
}

.tm-footer-mail {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.tm-footer-mail:hover {
    color: #8B5CF6;
}

.tm-footer-mail i {
    font-size: 18px;
    color: #8B5CF6;
}

.site-info {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    color: #666;
    font-size: 0.9rem;
}

.site-info .sep {
    margin: 0 10px;
    color: #333;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .tm-footer-content {
        flex-direction: column;
        text-align: center;
    }

    .tm-footer-links-section {
        align-items: center;
    }

    .tm-footer-tagline {
        margin: 0 auto;
    }
}

/* --- Contact Page Improvements --- */
.tm-contact-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-top: 50px;
    margin-bottom: 100px;
}

.tm-contact-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.tm-contact-form-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.tm-contact-form-wrapper .form-desc {
    color: #888;
    margin-bottom: 30px;
}

/* Contact Form 7 Styling */
.wpcf7-form p {
    margin-bottom: 20px;
}

.wpcf7-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ccc;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-family: inherit;
    transition: all 0.3s;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    border-color: #8B5CF6;
    background: rgba(139, 92, 246, 0.05);
    outline: none;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.1);
}

.wpcf7-submit {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: #fff;
    border: none;
    padding: 16px 32px;
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 10px;
}

.wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

/* WhatsApp Button */
.tm-btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    padding: 18px 30px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 20px;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.tm-btn-whatsapp:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
    color: #fff;
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
}

.tm-divider-small {
    margin: 40px 0 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.tm-divider-small::before,
.tm-divider-small::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
}

.tm-social-list-large {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.tm-social-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: #ccc;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.tm-social-item i,
.tiktok-icon-small {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: #8B5CF6;
}

.tm-social-item:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: #8B5CF6;
    color: #fff;
    padding-left: 25px;
}

@media (max-width: 991px) {
    .tm-contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.site-branding img:hover,
.custom-logo:hover {
    transform: scale(1.05);
}

.tm-primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 35px;
}

.tm-primary-menu li a {
    color: #ccc;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.tm-primary-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #8B5CF6;
    transition: width 0.3s;
}

.tm-primary-menu li a:hover {
    color: #8B5CF6;
}

.tm-primary-menu li a:hover::after {
    width: 100%;
}

.tm-header-actions {
    display: flex;
    align-items: center;
}

.tm-cart-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    position: relative;
    transition: transform 0.3s;
}

.tm-cart-link:hover {
    transform: scale(1.1);
    color: #8B5CF6 !important;
}

.tm-login-link {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.tm-login-link:hover {
    background: #8B5CF6;
    border-color: #8B5CF6;
    color: #fff !important;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

.cart-count {
    font-size: 0.65rem;
    background: linear-gradient(135deg, #8B5CF6, #A78BFA);
    color: #fff;
    padding: 3px 7px;
    border-radius: 50%;
    position: absolute;
    top: -10px;
    right: -12px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.5);
}

/* --- Footer Custom Styles --- */
.tm-footer {
    background: linear-gradient(180deg, #050505 0%, #000 100%);
    padding: 100px 0 40px;
    border-top: 1px solid #222;
    margin-top: 0;
}

.tm-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 70px;
}

.tm-footer h3 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.3rem;
    font-weight: 700;
}

.tm-footer p,
.tm-footer a {
    color: #888;
    line-height: 2;
    transition: color 0.3s;
}

.tm-footer a:hover {
    color: #8B5CF6;
}

.site-info {
    text-align: center;
    border-top: 1px solid #1a1a1a;
    padding-top: 40px;
    color: #555;
    font-size: 0.9rem;
}

/* --- WooCommerce Premium Overrides --- */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    background: linear-gradient(145deg, #141414 0%, #0a0a0a 100%) !important;
    border: 1px solid #222;
    padding: 20px;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.woocommerce ul.products li.product::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    border-color: #8B5CF6;
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.2);
}

.woocommerce ul.products li.product:hover::before {
    opacity: 1;
}

.woocommerce ul.products li.product a img {
    border-radius: 8px;
    margin-bottom: 18px !important;
    transition: transform 0.4s;
}

.woocommerce ul.products li.product:hover a img {
    transform: scale(1.05);
}

.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
    color: #fff !important;
    font-size: 1.15rem !important;
    min-height: 45px;
    font-weight: 600;
}

.woocommerce ul.products li.product .price {
    color: #8B5CF6 !important;
    font-weight: 700;
    font-size: 1.3rem !important;
}

.woocommerce a.button.add_to_cart_button,
.woocommerce button.button.alt {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%) !important;
    color: #fff !important;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 6px;
    padding: 12px 24px !important;
    border: none !important;
    transition: all 0.3s !important;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.woocommerce a.button.add_to_cart_button:hover,
.woocommerce button.button.alt:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5) !important;
}

/* --- Page Headers --- */
.tm-page-container {
    padding-bottom: 100px;
    padding-top: 80px;
}

.tm-page-header {
    background: linear-gradient(135deg, #0d0d0d 0%, #000 100%);
    padding: 100px 20px;
    text-align: center;
    margin-bottom: 80px;
    border-bottom: 1px solid #222;
    position: relative;
}

.tm-page-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 900;
}

.tm-page-subtitle {
    color: #999;
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Services Page Styles --- */
.tm-service-detail {
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 80px 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    margin-bottom: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.tm-service-detail:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.tm-reverse {
    flex-direction: row-reverse;
}

.tm-service-info {
    flex: 1.2;
}

.tm-service-image {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

.tm-img-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1/1;
    background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.tm-service-detail:hover .tm-img-placeholder {
    transform: scale(1.05) rotate(2deg);
    border-color: var(--tm-primary);
}

.tm-img-placeholder::after {
    content: 'PRÓXIMAMENTE IMAGEN';
    position: absolute;
    bottom: 20px;
    font-size: 10px;
    color: #444;
    letter-spacing: 2px;
}

.tm-service-info h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.tm-service-info p {
    font-size: 1.15rem;
    color: #CBD5E1;
    line-height: 1.7;
    margin-bottom: 25px;
}

.tm-feature-list {
    list-style: none;
    padding: 0;
    margin: 30px 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.tm-feature-list li {
    padding-left: 28px;
    position: relative;
    color: #CBD5E1;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.tm-feature-list li::before {
    content: "➜";
    color: #8B5CF6;
    position: absolute;
    left: 0;
    font-weight: 700;
    font-size: 1rem;
}

.tm-divider {
    display: none;
    /* Removed dividers as we use card-like sections now */
}

/* --- Contact Page Styles --- */
.tm-contact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
}

.tm-contact-form-wrapper h3,
.tm-contact-info h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #fff;
    font-weight: 700;
}

/* Simple Form Styles */
.tm-simple-form .form-group {
    margin-bottom: 25px;
}

.tm-simple-form label {
    display: block;
    margin-bottom: 10px;
    color: #ccc;
    font-weight: 500;
    font-size: 0.95rem;
}

.tm-simple-form input,
.tm-simple-form select,
.tm-simple-form textarea {
    width: 100%;
    padding: 14px 16px;
    background-color: #111;
    border: 1px solid #333;
    color: #fff;
    border-radius: 8px;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.tm-simple-form input:focus,
.tm-simple-form select:focus,
.tm-simple-form textarea:focus {
    border-color: #8B5CF6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.tm-note-small {
    font-size: 0.85rem;
    color: #666;
    margin-top: 18px;
}

.tm-info-item {
    margin-bottom: 35px;
}

.tm-info-item strong {
    display: block;
    color: #fff;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.tm-info-item a {
    color: #8B5CF6;
    text-decoration: none;
    font-size: 1.05rem;
}

.tm-social-list-large {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.tm-social-item {
    background: linear-gradient(145deg, #111 0%, #0a0a0a 100%);
    padding: 16px 24px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    border: 1px solid #222;
    transition: all 0.3s;
    font-weight: 500;
}

/* Modal Content Visibility Fix (Emergency) */
.tm-modal-content {
    position: relative;
    z-index: 100 !important;
    /* Above the overlay */
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    max-width: 550px;
    width: 90%;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.tm-modal.active .tm-modal-content {
    transform: translateY(0);
}

#tm-download-modal .tm-modal-content {
    background: #080808;
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(139, 92, 246, 0.1);
}

#tm-download-modal .tm-modal-header h3 {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #fff 0%, #8B5CF6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

#tm-download-modal .tm-modal-header p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 30px;
}

#tm-download-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#tm-download-form input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 20px;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s;
}

#tm-download-form input:focus {
    background: rgba(139, 92, 246, 0.05);
    border-color: #8B5CF6;
    outline: none;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.tm-btn-submit-download {
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
    color: #fff;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

.tm-btn-submit-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.5);
    filter: brightness(1.1);
}

#tm-free-beat-popup .tm-modal-content {
    max-width: 700px;
    padding: 0;
    overflow: hidden;
    background: #050505;
}

#tm-free-beat-popup .tm-modal-close {
    z-index: 110;
}

/* Premium Recommended Beat Cards (Finder) */
.tm-recommended-beat {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    text-align: left;
}

.tm-recommended-beat:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(5px);
}

.tm-recommended-thumb {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.tm-recommended-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tm-recommended-info {
    flex-grow: 1;
}

.tm-recommended-info h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #fff;
}

.tm-recommended-info p {
    margin: 0 0 10px 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

.tm-loading-beats {
    padding: 40px;
    text-align: center;
    color: var(--tm-primary);
    font-weight: 500;
}

/* --- Phase 2: Conversion Innovations --- */

/* Beat Finder Section */
.tm-beat-finder-section {
    padding: 100px 0;
    background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.05) 0%, transparent 40%);
}

.tm-finder-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    border-radius: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tm-finder-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
}

.tm-finder-progress-inner {
    height: 100%;
    background: linear-gradient(90deg, #8B5CF6, #C1A5FF);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tm-finder-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tm-finder-step.active {
    display: block;
}

.tm-finder-step h3 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #fff;
}

.tm-finder-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.tm-finder-opt {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 15px;
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.1rem;
    width: 100%;
}

.tm-finder-opt:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: #8B5CF6;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.2);
}

.tm-finder-opt.selected {
    background: #8B5CF6;
    border-color: #8B5CF6;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

.tm-btn-back {
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 10px;
    transition: color 0.3s;
}

.tm-btn-back:hover {
    color: #fff;
}

/* Results Grid in Finder */
.tm-finder-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.tm-recommended-beat {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.tm-recommended-beat:hover {
    border-color: #8B5CF6;
    transform: scale(1.05);
}

/* Free Beat Section */
.tm-free-beat-section {
    padding: 80px 0;
}

.tm-free-beat-banner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    padding: 80px;
    border-radius: 24px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.tm-free-beat-content {
    position: relative;
    z-index: 2;
}

.tm-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(139, 92, 246, 0.2);
    color: #C1A5FF;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.tm-free-beat-content h2 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 1.1;
}

.tm-free-beat-content p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 40px;
    max-width: 500px;
}

.tm-free-beat-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tm-visual-circle {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #8B5CF6 0%, transparent 70%);
    border-radius: 50%;
    position: relative;
    animation: pulse 4s infinite;
}

.tm-visual-circle::after {
    content: '📀';
    font-size: 100px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

/* Responsive Fixes Phase 2 */
@media (max-width: 991px) {
    .tm-free-beat-banner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 60px 30px;
    }

    .tm-free-beat-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .tm-free-beat-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .tm-finder-card {
        padding: 40px 20px;
    }

    .tm-finder-step h3 {
        font-size: 1.5rem;
    }

    .tm-free-beat-content h2 {
        font-size: 2.5rem;
    }
}

.tm-social-item:hover {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: #fff;
    border-color: #8B5CF6;
    transform: translateX(5px);
}

/* Mobile Adjustments (All) */
@media (max-width: 768px) {
    .tm-hero .tm-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tm-hero-content {
        text-align: center;
    }

    .tm-hero-title {
        font-size: 2.5rem;
    }

    .tm-hero-buttons {
        flex-direction: column;
        justify-content: center;
    }

    .tm-hero {
        padding: 120px 20px;
    }

    .tm-service-detail {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 40px 20px;
    }

    .tm-service-info h2 {
        font-size: 2.2rem;
    }

    .tm-feature-list {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .tm-reverse {
        flex-direction: column;
    }

    .tm-contact-layout {
        grid-template-columns: 1fr;
    }

    .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: rgba(139, 92, 246, 0.1);
        color: #fff;
        border: 1px solid rgba(139, 92, 246, 0.3);
        width: 45px;
        height: 45px;
        padding: 0;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s;
        order: 2;
        /* Ensure it stays in the middle or where intended */
    }

    .tm-hamburger-icon {
        position: relative;
        width: 22px;
        height: 2px;
        background: #fff;
        display: block;
        transition: all 0.3s;
    }

    .tm-hamburger-icon::before,
    .tm-hamburger-icon::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background: #fff;
        left: 0;
        transition: all 0.3s;
    }

    .tm-hamburger-icon::before {
        top: -7px;
    }

    .tm-hamburger-icon::after {
        bottom: -7px;
    }

    /* When menu is open (class might be added to button or body) */
    .menu-toggle.toggled .tm-hamburger-icon {
        background: transparent;
    }

    .menu-toggle.toggled .tm-hamburger-icon::before {
        transform: rotate(45deg);
        top: 0;
    }

    .menu-toggle.toggled .tm-hamburger-icon::after {
        transform: rotate(-45deg);
        bottom: 0;
    }

    .screen-reader-text {
        border: 0;
        clip: rect(1px, 1px, 1px, 1px);
        clip-path: inset(50%);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
        word-wrap: normal !important;
    }

    .tm-header-flex {
        gap: 10px;
    }

    .site-branding {
        max-width: 150px;
        order: 1;
    }

    .main-navigation {
        order: 2;
    }

    .tm-header-actions {
        order: 3;
        gap: 12px;
    }

    .tm-user-name {
        display: none;
        /* Hide name on mobile to save space */
    }

    .tm-primary-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(10px);
        padding: 30px 20px;
        border-bottom: 1px solid #222;
        gap: 20px;
    }

    .tm-primary-menu.toggled {
        display: flex;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .tm-page-title {
        font-size: 2.5rem;
    }

    /* Music Section Mobile */
    .tm-featured-tracks {
        grid-template-columns: 1fr;
    }

    .tm-music-grid-spotify {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tm-social-music {
        flex-direction: column;
    }

    .tm-social-music-btn {
        width: 100%;
    }
}

/* Desktop Menu Logic */
.menu-toggle {
    display: none;
}

/* Simplificación de la sección de comentarios */
.tm-reviews-section {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 80px !important;
    margin-top: 80px !important;
    clear: both;
}

#reviews .tm-section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #fff;
    text-align: left;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(to right, #fff, #8B5CF6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.woocommerce-noreviews {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    color: #888;
    font-style: italic;
    text-align: center;
    font-size: 1.1rem;
}

.commentlist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.commentlist li {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    position: relative;
    transition: all 0.3s;
}

.commentlist li:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(5px);
}

.commentlist .avatar {
    border-radius: 50%;
    margin-right: 20px;
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.comment-text {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.comment-text .meta {
    font-size: 0.95rem;
    color: #8B5CF6 !important;
    margin-bottom: 12px;
    font-weight: 600;
}

.comment-text .description {
    color: #ccc;
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Ocultar el rating de estrellas y cualquier texto de valoración */
.star-rating,
.woocommerce-product-rating,
.comment-form-rating,
.comment-notes,
.logged-in-as,
#reply-title,
.comment-reply-title,
.comment-form-rating label,
p.stars,
.tm-reviews-section h2.tm-section-title+#review_form_wrapper #reply-title {
    display: none !important;
}

/* Forzar ocultar "Tu valoración *" que a veces viene en etiquetas o párrafos */
#commentform label[for="rating"],
#commentform .comment-form-rating,
#commentform p.comment-form-rating {
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    display: none !important;
}

/* Estilo Premium del Formulario Real de Comentarios - IDÉNTICO AL PLACEHOLDER */
#review_form_wrapper {
    background: transparent;
    padding: 0;
    border: none;
    margin-top: 40px;
    display: block !important;
}

#review_form {
    margin: 0;
    padding: 0;
}

#commentform {
    margin: 0;
    padding: 0;
}

/* Hacer que .comment-form-comment se vea EXACTAMENTE como .tm-comment-placeholder */
.comment-form-comment {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 15px 20px !important;
    border-radius: 50px !important;
    cursor: text !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin: 0 !important;
}

.comment-form-comment:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(139, 92, 246, 0.4) !important;
    transform: translateY(-2px);
}

.comment-form-comment label {
    display: none !important;
}

/* Avatar del usuario en el formulario (se añadirá vía JS) */
.comment-form-comment::before {
    content: '';
    width: 35px;
    height: 35px;
    background: #222;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid #333;
    background-size: cover;
    background-position: center;
}

/* El textarea debe verse como el texto placeholder "Escribe un comentario..." */
#commentform textarea {
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    color: #666 !important;
    font-size: 0.95rem !important;
    min-height: 20px !important;
    height: 20px !important;
    transition: all 0.3s ease !important;
    resize: none !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    overflow: hidden !important;
}

#commentform textarea::placeholder {
    color: #666 !important;
}

/* Cuando se hace focus, expandir el formulario */
.comment-form-comment:focus-within {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(139, 92, 246, 0.4) !important;
    border-radius: 20px !important;
    padding: 15px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.comment-form-comment:focus-within::before {
    margin-bottom: 10px;
}

#commentform textarea:focus {
    color: #fff !important;
    min-height: 120px !important;
    height: auto !important;
    overflow: visible !important;
}

/* Botón de enviar - oculto hasta que se enfoca */
#commentform .form-submit {
    margin: 0 !important;
    padding: 0 !important;
    display: none !important;
    width: 100% !important;
    justify-content: flex-end !important;
}

.comment-form-comment:focus-within~.form-submit {
    display: flex !important;
    margin-top: 10px !important;
}

#commentform .submit {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%) !important;
    color: #fff !important;
    padding: 10px 30px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 0.85rem !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
}

#commentform .submit:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.4);
}

/* Interacción de Comentarios para Invitados */
.tm-comment-guest-wrapper {
    margin: 40px 0;
}

.tm-comment-placeholder {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tm-comment-placeholder:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

.tm-fake-avatar {
    width: 35px;
    height: 35px;
    background: #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    border: 1px solid #333;
    overflow: hidden;
}

.tm-fake-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tm-fake-input {
    color: #666;
    font-size: 0.95rem;
    flex: 1;
}

.tm-comment-login-cta {
    margin-top: 20px;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tm-comment-login-cta p {
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
}

.tm-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.tm-btn-login,
.tm-btn-register {
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.tm-btn-login {
    background: #8B5CF6;
    color: #fff;
}

.tm-btn-register {
    background: transparent;
    border: 1px solid #8B5CF6;
    color: #8B5CF6;
}

.tm-btn-login:hover {
    background: #7C3AED;
    color: #fff !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.5);
}

.tm-btn-register:hover {
    background: #8B5CF6;
    border-color: #8B5CF6;
    color: #fff !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

.tm-or {
    color: #444;
    font-size: 0.8rem;
    font-weight: 600;
}

.tm-guest-comment-msg {
    margin-top: 40px;
    padding: 20px;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 10px;
    text-align: center;
    color: #A78BFA;
    font-weight: 500;
}