/* ============================================
   TENIS PRO MX - CSS Variables & Landing Styles
   ============================================ */

:root {
    /* 🎾 BRAND COLORS */
    --tp-primary: #1f2a44;        /* azul oscuro del logo */
    --tp-primary-light: #2c3a5a;
    --tp-secondary: #0f172a;      /* más profundo */

    --tp-accent: linear-gradient(135deg,
            #fff6d5,
            #f1d999,
            #c8a96a,
            #b89655,
            #e6c88c,
            #fff3d6);
    --tp-accent-hover: linear-gradient(135deg,
                #c8a96a 0%,
                #e6c88c 20%,
                #fff6d5 50%,
                #e6c88c 80%,
                #c8a96a 100%);

    --tp-highlight: #c7f000;

    /* BASE */
    --tp-white: #ffffff;
    --tp-off-white: #f8f9fa;

    --tp-gray-50: #fafafa;
    --tp-gray-100: #f5f5f5;
    --tp-gray-200: #eeeeee;
    --tp-gray-300: #e0e0e0;
    --tp-gray-400: #bdbdbd;
    --tp-gray-500: #9e9e9e;
    --tp-gray-600: #757575;
    --tp-gray-700: #4b5563;
    --tp-gray-800: #1f2937;
    --tp-gray-900: #111827;

    --tp-black: #0a0a0a;

    --tp-success: #00c853;

    /* TIPOGRAFÍA */
    --tp-font-heading: 'Montserrat', 'Poppins', sans-serif;
    --tp-font-body: 'Inter', 'Roboto', sans-serif;

    --tp-radius: 14px;
    --tp-radius-sm: 10px;
    --tp-radius-lg: 22px;

    --tp-shadow: 0 4px 20px rgba(0,0,0,0.06);
    --tp-shadow-lg: 0 10px 40px rgba(0,0,0,0.1);

    --tp-transition: all 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== RESET FOR LANDING ===== */
.tp-landing {
    font-family: var(--tp-font-body);
    color: var(--tp-gray-900);
    background: var(--tp-white);
    overflow-x: hidden;
}

.tp-landing * {
    box-sizing: border-box;
}

/* ===== TYPOGRAPHY ===== */
.tp-heading {
    font-family: var(--tp-font-heading);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.tp-subheading {
    font-family: var(--tp-font-heading);
    font-weight: 600;
    line-height: 1.2;
}

.tp-body-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--tp-gray-600);
}

.tp-section-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--tp-accent);
    margin-bottom: 12px;
}

/* ===== NAVBAR ===== */
.tp-logo-img {
    height: 28px;
    object-fit: contain;
}

.tp-navbar.dark .tp-nav-links a,
.tp-navbar.dark-section .tp-nav-links a {
    color: rgba(255, 255, 255, 0.85);
}

.tp-navbar.dark .tp-nav-links a.active,
.tp-navbar.dark-section .tp-nav-links a.active {
    color: white;
}

/* Cuando esta sobre seccion clara (scrolled y NO dark-section) */
.tp-navbar.scrolled:not(.dark-section) .tp-nav-links a {
    color: var(--tp-gray-700);
}

.tp-navbar.scrolled:not(.dark-section) .tp-nav-links a:hover {
    color: var(--tp-gray-900);
}

.tp-navbar.scrolled:not(.dark-section) .tp-logo-text {
    color: var(--tp-gray-900);
}

.tp-navbar.scrolled:not(.dark-section) {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.tp-navbar.scrolled:not(.dark-section) .tp-nav-mobile-toggle {
    color: var(--tp-gray-900);
}

.tp-navbar {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 80px);
    max-width: 1200px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 24px;
    transition: all 0.3s ease;
}

.tp-navbar .tp-nav-links a {
    color: white;
}

.tp-hero-btns a {
    color: white;
}

.tp-navbar.scrolled {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.tp-navbar .tp-btn {
    border-radius: 999px;
    padding: 10px 20px;
}

.tp-navbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tp-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.tp-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--tp-accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.tp-logo-text {
    font-family: var(--tp-font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--tp-white);
    transition: var(--tp-transition);
}

.tp-navbar.scrolled .tp-logo-text {
    color: var(--tp-gray-900);
}

.tp-nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tp-nav-links a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--tp-gray-900);
    /* transition: var(--tp-transition); */
    letter-spacing: 0.3px;
}

.tp-navbar.scrolled .tp-nav-links a {
    color: var(--tp-primary);
}

.tp-nav-links a:hover {
    color: var(--tp-accent);
}

.tp-nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 4px;
}

.tp-navbar.scrolled .tp-nav-mobile-toggle {
    color: var(--tp-gray-900);
}

/* ===== BUTTONS ===== */
.tp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--tp-radius-sm);
    font-family: var(--tp-font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--tp-transition);
}

.tp-btn,
.tp-btn a {
    color: inherit;
    text-decoration: none;
}

.tp-btn-primary {
    background: var(--tp-accent);
    background-size: 200% 200%;
    transition: all 0.4s ease;
    color: #1a1a1a !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 30px rgba(200, 169, 106, 0.35);
}

.gold-text {
    background: var(--tp-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tp-btn-primary:hover {
    background-position: 100% 50%;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(200, 169, 106, 0.4);
}

.tp-btn-highlight {
    background: var(--tp-highlight);
    color: #000;
}

.tp-btn-outline {
    background: transparent;
    color: var(--tp-white);
    /* color: #1a1a1a !important; */
    color: var(--tp-white) !important;
    border: 2px solid rgba(255,255,255,0.4) !important;
}

.tp-btn-outline:hover {
    background: var(--tp-white);
    color: var(--tp-gray-900) !important;
    border-color: var(--tp-white);
}

.tp-btn-outline-dark {
    background: transparent;
    color: var(--tp-gray-900) !important;
    border: 2px solid rgba(0, 0, 0, 0.2) !important;
}

.tp-btn-outline-dark:hover {
    color: var(--tp-white) !important;
    background: var(--tp-gray-900) !important;
    border-color: var(--tp-white);
}

.tp-btn-dark {
    background: var(--tp-gray-900);
    color: var(--tp-white);
}

.tp-btn-dark:hover {
    background: var(--tp-black);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.tp-btn-sm {
    padding: 10px 24px;
    font-size: 12px;
}

.tp-btn-lg {
    padding: 18px 42px;
    font-size: 15px;
}

/* ===== HERO ===== */
.tp-hero {
    position: relative;
    min-height: calc(100vh - 60px);
    margin: 30px;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.tp-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.75) 0%, rgba(15, 52, 96, 0.6) 100%), url('https://images.unsplash.com/photo-1554068865-24cecd4e34b8?w=1920&q=80') center/cover no-repeat;
    z-index: 0;
}

.tp-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 120px 40px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tp-hero-text h1 {
    font-size: 64px;
    color: var(--tp-white);
    margin: 0 0 24px;
    line-height: 1.05;
}

.tp-hero-text h1 span {
    color: var(--tp-accent);
}

.tp-hero-text p {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin: 0 0 40px;
    max-width: 500px;
}

.tp-hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.tp-hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
}

.tp-hero-stat {
    text-align: left;
}

.tp-hero-stat-number {
    font-family: var(--tp-font-heading);
    font-size: 42px;
    font-weight: 800;
    color: var(--tp-white);
    line-height: 1;
}

.tp-hero-stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tp-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.tp-hero-image-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--tp-radius-lg);
    padding: 40px;
    text-align: center;
    width: 100%;
    max-width: 420px;
}

.tp-hero-image-card .tp-tennis-icon {
    font-size: 80px;
    margin-bottom: 20px;
    display: block;
}

.tp-hero-image-card h3 {
    color: var(--tp-white);
    font-family: var(--tp-font-heading);
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px;
}

.tp-hero-image-card p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin: 0;
}

/* ===== SECTIONS ===== */
.tp-section {
    padding: 200px 0;
}

.tp-section-dark {
    background: var(--tp-gray-900);
    color: var(--tp-white);
}

.tp-section-light {
    background: var(--tp-white);
}

.tp-section-gray {
    background: var(--tp-gray-50);
}

.tp-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.tp-section-header {
    text-align: center;
    margin-bottom: 64px;
}

.tp-section-header h2 {
    font-size: 44px;
    margin: 0 0 16px;
}

.tp-section-header p {
    font-size: 17px;
    color: var(--tp-gray-500);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.tp-section-dark .tp-section-header p {
    color: rgba(255,255,255,0.5);
}

/* ===== FEATURES GRID ===== */
.tp-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.tp-feature-card {
    border: 1px solid #f1f1f1;
    background: #fff;
    border-radius: var(--tp-radius);
    padding: 36px 28px;
    text-align: center;
    transition: var(--tp-transition);
    position: relative;
    overflow: hidden;
}

.tp-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.tp-feature-card:hover .tp-feature-icon span {
    background-position: 100% 50%;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(200, 169, 106, 0.4);
}

.tp-feature-icon span {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--tp-accent);
    background-size: 200% 200%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: white;
    transition: all 0.4s ease;
}

.tp-feature-card h3 {
    font-family: var(--tp-font-heading);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--tp-gray-900);
}

.tp-feature-card p {
    font-size: 14px;
    color: var(--tp-gray-500);
    line-height: 1.6;
    margin: 0;
}

/* ===== ABOUT SECTION ===== */
.tp-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.tp-about-image {
    position: relative;
    border-radius: var(--tp-radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    /* public/assets/img/tp-about.png */
    background: url('/assets/img/tp-about.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tp-about-image .tp-big-icon {
    font-size: 120px;
    opacity: 0.3;
}

.tp-about-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    background: var(--tp-accent);
    color: white;
    padding: 12px 24px;
    border-radius: var(--tp-radius-sm);
    font-family: var(--tp-font-heading);
    font-weight: 700;
    font-size: 14px;
}

.tp-about-text h2 {
    font-size: 40px;
    margin: 0 0 20px;
}

.tp-about-text p {
    font-size: 16px;
    color: var(--tp-gray-600);
    line-height: 1.8;
    margin: 0 0 24px;
}

.tp-about-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.tp-about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 15px;
    color: var(--tp-gray-700);
}

.tp-about-list li .check-icon {
    color: var(--tp-success);
    font-size: 20px;
    flex-shrink: 0;
}

/* ===== SERVICES GRID ===== */
.tp-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.tp-service-card {
    position: relative;
    border-radius: var(--tp-radius);
    overflow: hidden;
    background: var(--tp-primary-light);
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    transition: var(--tp-transition);
}

.tp-service-card:hover {
    transform: translateY(-4px);
}

.tp-service-card-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.15;
    font-size: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tp-service-card h3 {
    font-family: var(--tp-font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--tp-white);
    margin: 0 0 8px;
    position: relative;
    z-index: 1;
}

.tp-service-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ===== BOOKING / CTA ===== */
.tp-cta-section {
    background: linear-gradient(135deg, var(--tp-primary), var(--tp-secondary));
    padding: 180px 0;
    text-align: center;
}

.tp-cta-section h2 {
    font-size: 44px;
    color: var(--tp-white);
    margin: 0 0 16px;
}

.tp-cta-section p {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    margin: 0 0 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.tp-cta-features {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 40px;
}

.tp-cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--tp-white);
    font-size: 15px;
    font-weight: 500;
}

.tp-cta-feature .cta-icon {
    font-size: 22px;
}

/* ===== TESTIMONIALS ===== */
.tp-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.tp-testimonial-card {
    background: var(--tp-white);
    border: 1px solid var(--tp-gray-200);
    border-radius: var(--tp-radius);
    padding: 32px;
    transition: var(--tp-transition);
}

.tp-testimonial-card:hover {
    box-shadow: var(--tp-shadow);
}

.tp-testimonial-stars {
    color: #fbbf24;
    font-size: 16px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.tp-testimonial-card blockquote {
    font-size: 15px;
    color: var(--tp-gray-600);
    line-height: 1.7;
    margin: 0 0 20px;
    font-style: italic;
}

.tp-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tp-testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tp-accent), #ff6b8a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
}

.tp-testimonial-info h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    color: var(--tp-gray-900);
}

.tp-testimonial-info span {
    font-size: 12px;
    color: var(--tp-gray-500);
}

/* ===== COMMUNITY ===== */
.tp-community-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.tp-community-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--tp-radius);
    padding: 36px;
    text-align: center;
    transition: var(--tp-transition);
}

.tp-community-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-4px);
}

.tp-community-icon {
    font-size: 40px;
    margin-bottom: 16px;
    display: block;
}

.tp-community-card h3 {
    font-family: var(--tp-font-heading);
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--tp-white);
}

.tp-community-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    margin: 0;
}

/* ===== FOOTER ===== */
.tp-footer {
    background: var(--tp-black);
    padding: 64px 0 0;
    color: rgba(255,255,255,0.6);
}

.tp-logo-img-footer {
    height: 68px;
    object-fit: contain;
}

.tp-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.tp-footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    margin: 16px 0 0;
}

.tp-footer h4 {
    font-family: var(--tp-font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--tp-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 20px;
}

.tp-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tp-footer-links li {
    margin-bottom: 10px;
}

.tp-footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 14px;
    transition: var(--tp-transition);
}

.tp-footer-links a:hover {
    color: var(--tp-accent);
}

.tp-footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.3);
}

/* ===== REGISTER PAGE ===== */
.tp-register-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--tp-primary) 0%, var(--tp-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.tp-register-container {
    width: 100%;
    max-width: 520px;
}

.tp-register-card {
    background: var(--tp-white);
    border-radius: var(--tp-radius-lg);
    padding: 48px 40px;
    box-shadow: var(--tp-shadow-lg);
}

.tp-register-header {
    text-align: center;
    margin-bottom: 36px;
}

.tp-register-header h1 {
    font-family: var(--tp-font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--tp-gray-900);
    margin: 16px 0 8px;
}

.tp-register-header p {
    font-size: 14px;
    color: var(--tp-gray-500);
    margin: 0;
}

.tp-stepper {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}

.tp-step {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: var(--tp-gray-200);
    transition: var(--tp-transition);
}

.tp-step.active {
    background: var(--tp-secondary);
    width: 60px;
}

.tp-form-group {
    margin-bottom: 20px;
}

.tp-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--tp-gray-700);
    margin-bottom: 6px;
}

.tp-form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--tp-gray-200);
    border-radius: var(--tp-radius-sm);
    font-size: 15px;
    font-family: var(--tp-font-body);
    transition: var(--tp-transition);
    outline: none;
    background: var(--tp-gray-50);
}

.tp-form-group input:focus {
    border-color: var(--tp-accent);
    background: var(--tp-white);
    box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.1);
}

.tp-form-group input.error {
    border-color: #ef4444;
}

.tp-form-group select {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 40px 14px 16px;
    border: 2px solid var(--tp-gray-200);
    border-radius: var(--tp-radius-sm);
    font-size: 15px;
    font-family: var(--tp-font-body);
    line-height: 1.5;
    color: var(--tp-gray-800);
    background-color: var(--tp-gray-50);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%239e9e9e' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
}

.tp-form-group select:focus {
    border-color: var(--tp-primary);
    background-color: var(--tp-white);
    box-shadow: 0 0 0 4px rgba(31, 42, 68, 0.1);
}

.tp-form-group select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.tp-form-error {
    font-size: 12px;
    color: #ef4444;
    margin-top: 4px;
}

.tp-input-icon-wrapper {
    position: relative;
}

.tp-input-icon-wrapper input {
    padding-right: 46px;
}

.tp-input-icon-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--tp-gray-400);
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
}

.tp-input-icon-btn:hover {
    color: var(--tp-gray-600);
}

.tp-register-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--tp-gray-500);
}

.tp-register-footer a {
    color: var(--tp-accent);
    text-decoration: none;
    font-weight: 600;
}

.tp-register-footer a:hover {
    text-decoration: underline;
}

/* ===== SUCCESS STATE ===== */
.tp-success-state {
    text-align: center;
    padding: 20px 0;
}

.tp-success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tp-success), #00e676);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 40px;
    color: white;
}

/* ===== MOBILE NAV MENU ===== */
.tp-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.tp-mobile-menu.open {
    display: flex;
}

.tp-mobile-menu a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
}

.tp-mobile-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .tp-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .tp-hero-text h1 {
        font-size: 48px;
    }
    .tp-hero-text p {
        margin: 0 auto 40px;
    }
    .tp-hero-btns {
        justify-content: center;
    }
    .tp-hero-stats {
        justify-content: center;
    }
    .tp-hero-image {
        display: none;
    }
    .tp-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tp-about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .tp-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tp-hero {
        margin: 10px;
    }

    .tp-navbar {
        top: 20px;
        width: calc(100% - 35px);
    }

    .tp-nav-links {
        display: none;
    }
    .tp-nav-mobile-toggle {
        display: block;
    }
    .tp-hero-text h1 {
        font-size: 36px;
    }
    .tp-hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    .tp-features-grid,
    .tp-services-grid,
    .tp-testimonials-grid,
    .tp-community-grid {
        grid-template-columns: 1fr;
    }
    .tp-section-header h2 {
        font-size: 32px;
    }
    .tp-section {
        padding: 120px 0;
    }
    .tp-cta-section h2 {
        font-size: 32px;
    }
    .tp-cta-features {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
    .tp-container {
        padding: 0 20px;
    }
    .tp-navbar-inner {
        padding: 0 10px;
    }
    .tp-hero-content {
        padding: 100px 20px 60px;
    }
    .tp-footer-grid {
        grid-template-columns: 1fr;
    }
    .tp-register-card {
        padding: 32px 24px;
    }
    .tp-register-page {
        align-items: flex-start;
        padding: 24px 16px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tp-animate {
    animation: fadeInUp 0.6s ease forwards;
}

.tp-animate-delay-1 { animation-delay: 0.1s; }
.tp-animate-delay-2 { animation-delay: 0.2s; }
.tp-animate-delay-3 { animation-delay: 0.3s; }
.tp-animate-delay-4 { animation-delay: 0.4s; }

.tp-avatar-loader {
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    /* 👈 clave */
}

.tp-avatar-loader .v-skeleton-loader__avatar {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
}

.tp-chip-fake {
    height: 20px;
    border-radius: 999px;
}
/* ── Match type selector cards ──────────────────────────────── */
.match-type-card {
    border: 2px solid #1565c0;
    transition: background 0.18s, transform 0.12s;
}
.match-type-card:active { transform: scale(0.96); }
.match-type-inactive {
    background: transparent;
}
.match-type-active {
    background: #1565c0;
}

.tp-tab-content {
    background: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}
/* ── ATP Score Table ──────────────────────────────────────────── */
.atp-score-table { width: 100%; border-collapse: collapse; }
.atp-score-table thead th {
    font-size: 10px; font-weight: 800; color: #9e9e9e;
    text-align: center; padding: 0 6px 4px; letter-spacing: 0.5px;
}
.atp-score-table thead th:first-child { text-align: left; }
.atp-score-table tbody td.atp-player {
    font-size: 13px; font-weight: 600; padding: 3px 8px 3px 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    max-width: 130px; color: #757575;
}
.atp-score-table tbody tr.atp-winner td.atp-player {
    color: #0f172a; font-weight: 800;
}
.atp-score-table tbody td.atp-set {
    font-size: 17px; font-weight: 700; text-align: center;
    padding: 3px 4px; min-width: 28px; color: #bdbdbd;
    line-height: 1.2;
}
.atp-score-table tbody tr.atp-winner td.atp-set-won { color: #1565c0; }
.atp-score-table tbody tr:not(.atp-winner) td.atp-set-won { color: #424242; }
.atp-tb { font-size: 9px; vertical-align: super; color: #9e9e9e; margin-left: 1px; }
.atp-winner-dot {
    display: inline-block; width: 6px; height: 6px;
    border-radius: 50%; background: #1565c0;
    margin-right: 5px; flex-shrink: 0;
}

/* ── Set stepper ─────────────────────────────────────────────── */
.set-stepper { display: flex; align-items: center; gap: 4px; }
.set-stepper-val {
    font-size: 28px; font-weight: 900; min-width: 42px;
    text-align: center; color: #1f2a44; line-height: 1;
}
/* Botones +/- principales (games) */
.set-stepper-btn.v-btn { width: 44px !important; height: 44px !important; color: #1565c0; }
.set-stepper-btn.v-btn .v-icon { font-size: 28px !important; }
/* Botones +/- secundarios (tiebreak) */
.set-stepper-btn-sm.v-btn { width: 36px !important; height: 36px !important; color: #1565c0; }
.set-stepper-btn-sm.v-btn .v-icon { font-size: 22px !important; }

/* ── Drum-roll score picker ──────────────────────────────────── */
.score-drum-wrap {
    position: relative;
    width: 72px;
}
.score-drum-sel {
    position: absolute;
    left: 4px; right: 4px;
    top: 44px; height: 44px;
    border-top: 2px solid #1565c0;
    border-bottom: 2px solid #1565c0;
    border-radius: 4px;
    pointer-events: none;
    z-index: 2;
}
.score-drum {
    height: 132px;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.score-drum::-webkit-scrollbar { display: none; }
.score-drum-pad { height: 44px; }
.score-drum-item {
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: center;
    font-size: 30px;
    font-weight: 900;
    color: #1f2a44;
    user-select: none;
}
.score-drum-fade {
    position: absolute;
    left: 0; right: 0;
    pointer-events: none;
    z-index: 1;
    height: 44px;
}
.score-drum-fade-top {
    top: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.95), rgba(255,255,255,0));
}
.score-drum-fade-bot {
    bottom: 0;
    background: linear-gradient(to top, rgba(255,255,255,0.95), rgba(255,255,255,0));
}
.theme--dark .score-drum-item { color: #e0e0e0; }
.theme--dark .score-drum-fade-top {
    background: linear-gradient(to bottom, rgba(30,30,30,0.95), rgba(30,30,30,0));
}
.theme--dark .score-drum-fade-bot {
    background: linear-gradient(to top, rgba(30,30,30,0.95), rgba(30,30,30,0));
}

/* ── Tabs hardcoded fix (mobile) ────────────────────────────── */
.v-tabs:not(.v-tabs--vertical) .tp-tab {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: none !important;
}
.v-tabs:not(.v-tabs--vertical) .v-tabs-bar {
    height: 44px !important;
}

/* ── Profile hero ───────────────────────────────────────────── */
.tp-profile-hero {
    -webkit-tap-highlight-color: transparent;
}

/* ── App dark background ─────────────────────────────────────── */
.tp-home-bg {
    background: linear-gradient(160deg, #070d1a 0%, #0f172a 55%, #1a2744 100%) !important;
    min-height: 100vh;
}

/* ── Glass card (match/friend items) ─────────────────────────── */
.tp-glass-card {
    background: rgba(255,255,255,0.09) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    box-shadow: none !important;
}
.tp-glass-item {
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(255,255,255,0.12);
}

/* ── ATP table on dark bg ────────────────────────────────────── */
.tp-home-bg .atp-player { color: rgba(255,255,255,0.7); }
.tp-home-bg .atp-winner td.atp-player { color: #f1d999; font-weight: 800; }
.tp-home-bg .atp-set { color: rgba(255,255,255,0.5); }
.tp-home-bg .atp-winner td.atp-set-won { color: #e6c88c; }
.tp-home-bg tr:not(.atp-winner) td.atp-set-won { color: rgba(255,255,255,0.8); }
.tp-home-bg .atp-winner-dot { background: #e6c88c; }

/* ── Tab bar on dark bg ──────────────────────────────────────── */
.tp-home-bg .v-tabs-bar { background: transparent !important; }
.tp-home-bg .v-tab { color: rgba(255,255,255,0.5) !important; }
.tp-home-bg .v-tab--active { color: #e6c88c !important; }
.tp-home-bg .v-tabs-slider { background: #e6c88c !important; }
.tp-home-bg .v-tabs-items { background: transparent !important; }

/* ── Vuetify v-tabs-items transparent ───────────────────────── */
.theme--light.v-tabs-items { background: transparent !important; }

/* ── Skeleton loaders en fondo oscuro ───────────────────────── */
.tp-home-bg .v-skeleton-loader {
    background: transparent !important;
}
.tp-home-bg .v-skeleton-loader .v-skeleton-loader__bone {
    background: rgba(255,255,255,0.08) !important;
}
.tp-home-bg .v-skeleton-loader .v-skeleton-loader__bone::after {
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.05) 50%,
        rgba(255,255,255,0) 100%
    ) !important;
}

/* ── Botón editar perfil destacado (desde CTA completar) ─────── */
@keyframes tp-pulse-btn {
    0%   { box-shadow: 0 0 0 0 rgba(21,101,192,0.6); }
    70%  { box-shadow: 0 0 0 8px rgba(21,101,192,0); }
    100% { box-shadow: 0 0 0 0 rgba(21,101,192,0); }
}
.tp-edit-pulse {
    animation: tp-pulse-btn 1.4s ease-in-out 3 !important;
}

/* ── PWA status bar (iOS black-translucent) ──────────────────── */
html, body {
    background-color: #070d1a;
}
.v-app-bar.v-app-bar--fixed {
    padding-top: env(safe-area-inset-top) !important;
    height: calc(60px + env(safe-area-inset-top)) !important;
}
.v-application--wrap {
    padding-top: env(safe-area-inset-top);
}

/* ── Skeleton loader: match cards ───────────────────────────── */
.match-skeleton .v-skeleton-loader__image {
    border-radius: 16px 16px 0 0 !important;
}
.match-skeleton .v-skeleton-loader__button {
    border-radius: 8px !important;
    margin: 8px 16px !important;
    height: 20px !important;
    width: 60% !important;
}
