/*
Theme Name: Tricore Studios
Theme URI: https://tricorestudios.local
Author: Tricore Studios
Author URI: https://tricorestudios.local
Description: Premium service marketplace theme for Tricore Studios, converted from static HTML/CSS/JS build.
Version: 1.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: tricore-studios
*/

html, body, a, button, input, textarea, [role="button"], .talent-slider-container {
    cursor: none !important;
}

body {
    background-color: #04060a;
    color: #d1d5db;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    position: relative;
}

.font-display {
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.03em;
}

[data-aos] {
    transition-timing-function: cubic-bezier(0.25, 1, 0.5, 1) !important;
}

#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#cursor-animation-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
}

section, nav, footer {
    position: relative;
    z-index: 10;
}

.btn-cyan {
    background: transparent;
    color: #7C6EF6;
    border: 2px solid #7C6EF6;
    text-shadow: 0 0 8px rgba(124, 110, 246, 0.6);
    box-shadow: 0 0 15px rgba(124, 110, 246, 0.15);
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.btn-cyan::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.4s;
}

.btn-cyan:hover, .btn-cyan:active {
    transform: translateY(-4px) scale(1.03);
    background: #7C6EF6;
    color: #000000;
    border-color: #7C6EF6;
    text-shadow: none;
    box-shadow: 0 0 20px rgba(124, 110, 246, 0.9),
                0 0 40px rgba(124, 110, 246, 0.6),
                0 0 60px rgba(124, 110, 246, 0.3);
}

.btn-cyan:hover::before {
    left: 100%;
}

html {
    scroll-behavior: smooth;
}

.talent-slider-container {
    overflow-x: auto;
    display: flex;
    gap: 1.5rem;
    padding: 2rem 1rem;
    scrollbar-width: none;
    scroll-behavior: smooth;
    will-change: scroll-position;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
    .talent-slider-container {
        gap: 2rem;
        padding: 2.5rem 1.5rem;
    }
}

.talent-slider-container::-webkit-scrollbar {
    display: none;
}

.talent-card {
    background-color: #07080e;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 1.5rem;
    padding: 2rem 1.75rem;
    position: relative;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

@media (min-width: 768px) {
    .talent-card {
        padding: 2.5rem 2.25rem;
        min-height: 480px;
    }
}

.talent-card:hover, .talent-card:active {
    transform: translateY(-8px);
    border-color: rgba(124, 110, 246, 0.4);
    box-shadow: 0 25px 50px rgba(124, 110, 246, 0.08);
}

.talent-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 1.6rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.75rem;
    font-weight: 700;
    color: #51587a;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}
.talent-card:hover .talent-pill, .talent-card:active .talent-pill {
    border-color: rgba(124, 110, 246, 0.3);
    color: #7C6EF6;
    background-color: rgba(124, 110, 246, 0.05);
}

.talent-bg-num {
    position: absolute;
    right: 1.5rem;
    top: 0.25rem;
    font-family: 'Inter', sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.01);
    line-height: 1;
    pointer-events: none;
    transition: all 0.4s ease;
}
@media (min-width: 768px) {
    .talent-bg-num { font-size: 5.5rem; }
}
.talent-card:hover .talent-bg-num, .talent-card:active .talent-bg-num {
    color: rgba(124, 110, 246, 0.025);
}

.talent-meta {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: #4b527d;
    text-transform: uppercase;
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
}

.service-hover-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}
.service-hover-card:hover, .service-hover-card:active {
    transform: translateY(-8px);
    border-color: rgba(124, 110, 246, 0.3);
    box-shadow: 0 15px 35px rgba(124, 110, 246, 0.05);
}

.chat-scroll-area::-webkit-scrollbar {
    width: 4px;
}
.chat-scroll-area::-webkit-scrollbar-track {
    background: transparent;
}
.chat-scroll-area::-webkit-scrollbar-thumb {
    background: rgba(124, 110, 246, 0.15);
    border-radius: 999px;
}
.chat-scroll-area::-webkit-scrollbar-thumb:hover {
    background: rgba(124, 110, 246, 0.4);
}

.gradient-fade-mask {
    -webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
    mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
}

@keyframes aiPulse {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}
.typing-dot {
    animation: aiPulse 1.4s infinite ease-in-out;
    width: 5px;
    height: 5px;
    background-color: #7C6EF6;
    border-radius: 50%;
    display: inline-block;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

.tricore-form-notice {
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}
.tricore-form-notice.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
}
.tricore-form-notice.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
}
