@charset "UTF-8";

:root {
    --primary-color: #74a5e0;
    --text-color: #ffffff;
    --text-color-r: #000; 
    --bg-overlay: rgba(0, 0, 0, 0.4); 
    --header-height: 70px;
    --sphere-size: 50px;
    --mobile-nav-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

ul { padding:0!important; margin:0!important; }

body {
    overflow: hidden; 
    background-color: #1a1a2e;
    color: var(--text-color);
}

#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0d111c; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s;
}

.loader {
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

.loading-text {
    margin-top: 15px;
    font-size: 1.2em;
    color: var(--text-color);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

header, footer {
    position: fixed;
    width: 100%;
    padding: 15px 30px;
    z-index: 100; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color);
}

header {
    top: 0;
    height: var(--header-height);
    background: transparent;
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

footer {
    width: 100%;
    bottom: 10px;
    height: 40px;
    font-size: 0.8em;
    text-align: center;
    background: transparent; 
    justify-content: center;
}

.rules-a a {
    display: inline-block;
    color: #ccc!important;
    padding: 0 10px;
    text-decoration: none;
}
.rules-a a:hover { color: #fff!important; text-decoration: underline; }

footer.site-footer {
    position: fixed;
    width: 100%;
    bottom: 10px;
    height: auto;
    z-index: 100; 
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}

/*.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}*/

.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.footer-groups {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

.menuDot {
    color: #ccc;
    user-select: none;
}

.footer-group-item {
    position: relative;
    display: inline-block;
}

.footer-group-title {
    color: #ccc;
    cursor: pointer;
    padding: 5px 10px;
    font-size: 0.95em;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-group-title i { font-size: 11px; }

.footer-group-item:hover .footer-group-title,
.footer-group-item.mobile-active .footer-group-title {
    color: var(--primary-color) !important;
}

.footer-submenu {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(13, 17, 28, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 240px;
    display: none; 
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.footer-submenu a {
    display: block !important;
    color: #eee !important;
    padding: 8px 20px !important;
    text-align: left;
    text-decoration: none;
    font-size: 0.9em;
    transition: background 0.2s, color 0.2s;
}

.footer-submenu a:hover {
    background: rgba(116, 165, 224, 0.2);
    color: var(--primary-color) !important;
}

@media (min-width: 901px) {
    .footer-group-item:hover .footer-submenu {
        display: block;
        animation: fadeInFooterMenu 0.2s ease forwards;
    }
}

.footer-group-item.mobile-active .footer-submenu {
    display: block;
    animation: fadeInFooterMenu 0.2s ease forwards;
}

@keyframes fadeInFooterMenu {
    from { opacity: 0; }
    to { opacity: 1; }
}

.footer-copyright {
    font-size: 0.85em;
    color: #888;
    margin-top: 5px;
}



.logo {
    width: 62px !important;
    height: 62px !important;
    display: inline-block !important;
    background-image: url(../backofice/ts-img/tsclogo.png) !important;
    background-repeat: no-repeat !important;
    background-position: -56px;
}

.logo h1 {
    font-size: 1.2em;
    font-weight: 600;
    letter-spacing: 1px;
}

.gtranslate_wrapper { top: 15px; position: absolute; left: 100px; }
.gt_float_switcher .gt-selected .gt-current-lang { padding: 2px!important; }
.gt_float_switcher img { width: 20px!important; }
.gt-lang-code { font-size: 16px!important; color: #fff; }
.gt_float_switcher .gt-selected, .gt_float_switcher, .notranslate { background-color: transparent!important;
box-shadow: none!important; }
.gt_options, .gt-open { background-color: #fff!important; }
.nturl { font-size: 16px!important; }

.nav-btn, .nav-btn-icon, .nav-btn-sm {
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background 0.3s ease, transform 0.2s;
    background: none;
    color: var(--text-color);
}

.nav-btn {
    background: transparent;
    text-transform: uppercase;
    border: 1px solid #fff;
    border-radius: 20px;
    margin-left: 15px;
    font-weight: bold;
    font-size: 16px;
}

.nav-btn a { display: block; padding: 8px 15px; color: #fff!important; }
.nav-btn:hover a { color: #000!important; }

.nav-btn-sm {
    padding: 5px 10px;
    font-size: 0.8em;
    background: var(--primary-color);
}

.nav-btn:hover, .nav-btn-sm:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

.nav-btn-icon {
    padding: 8px;
    margin-left: 5px;
    font-size: 1.2em;
    opacity: 0.8;
}

.nav-btn-icon:hover {
    opacity: 1;
    color: var(--primary-color);
}

#slide-nav {
    position: fixed;
    top: 50%; 
    transform: translateY(-50%); 
    left: 30px;
    z-index: 90;
    perspective: 1000px; 
    padding: 0; 
    width: auto;
}

#slide-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 35px 15px; 
}

#slide-nav li {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.sphere-nav {
    width: var(--sphere-size);
    height: var(--sphere-size);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    color: var(--text-color);
    /*box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8), 0 0 5px rgba(0, 0, 0, 0.5);
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.4) 100%);*/
    transition: transform 0.3s, background 0.5s;
    position: relative;
}

.sphere-nav::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px dashed var(--text-color);
    border-radius: 50%;
    animation: rotate-dashed 15s linear infinite;
    pointer-events: none;
    opacity: 0.6;
}

.sphere-nav:hover::after {box-shadow:0 0 14px #fff6;}

.sphere-nav.active::after {
    border-style: solid;
    border-color: var(--primary-color);
    opacity: 1;
    border-width: 2px;

    box-shadow: 0 0 30px var(--primary-color);
}

@keyframes rotate-dashed {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.sphere-nav:hover {
    transform: scale(1.1);
}

.sphere-nav.active {
    /*box-shadow: inset 0 0 15px var(--primary-color), 0 0 10px var(--primary-color);
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.5) 0%, var(--primary-color) 100%);*/

    transform: scale(1.1);
    font-size: 30px;
    transition: ease .14s all;
}

.sphere-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    /*border: 3px solid transparent; 
    background: linear-gradient(0deg, rgba(255,255,255,0) 0%, transparent 50%, rgba(255,255,255,.2) 100%) border-box;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: exclude; 
    animation: spin-border 8s linear infinite;*/
    z-index: 10;
}

/*@keyframes spin-border {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}*/

.nav-text-tooltip {
    position: absolute;
    left: calc(var(--sphere-size) + 15px); 
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-color-r);
    padding: 8px 12px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    pointer-events: none;
    z-index: 100;
    font-size: 1.1em;
    font-weight: 500;
}

#slide-nav li:hover .nav-text-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(5px);
}

#slides-container {
    height: 100vh;
    width: 100vw;
    position: relative;
}

.slide {
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    display: none; 
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-in-out;
    opacity: 0;
    background: none; 
}

.slide.active {
    display: flex;
    opacity: 1;
}

.slide .slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1; 
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; 
    opacity: 0.8; 
    background-repeat: no-repeat;
    background-size: cover;
}

.slide p { margin-top: 20px; }

.slide:nth-child(1)::before { 
    background: #162561;
    background-image: radial-gradient( circle at 20% 100%, rgba(184, 184, 184, 0.1) 0%, rgba(184, 184, 184, 0.1) 33%, rgba(96, 96, 96, 0.1) 33%, rgba(96, 96, 96, 0.1) 86%, rgba(7, 7, 7, 0.1) 66%, rgba(7, 7, 7, 0.1) 99% ), 
                      linear-gradient(40deg, #0B1333, #162561, #74a5e0, #74a5e0);
}

.slide:nth-child(2)::before { 
    background: #612f16;
    background-image: radial-gradient( circle at 80% 20%, rgba(255, 200, 150, 0.15) 0%, rgba(255, 200, 150, 0.15) 33%, rgba(200, 150, 100, 0.1) 33%, rgba(200, 150, 100, 0.1) 86%, rgba(7, 7, 7, 0.1) 66%, rgba(7, 7, 7, 0.1) 99% ), 
                      linear-gradient(40deg, #33150B, #612f16, #e0a574, #e0a574);
}

.slide:nth-child(3)::before { 
    background: #16612f;
    background-image: radial-gradient( circle at 50% 50%, rgba(184, 255, 184, 0.1) 0%, rgba(184, 255, 184, 0.1) 33%, rgba(96, 150, 96, 0.1) 33%, rgba(96, 150, 96, 0.1) 86%, rgba(7, 7, 7, 0.1) 66%, rgba(7, 7, 7, 0.1) 99% ), 
                      linear-gradient(40deg, #0B3315, #16612f, #74e0a5, #74e0a5);
}

.slide:nth-child(4)::before { 
    background: #252525;
    background-image: radial-gradient( circle at 10% 90%, rgba(200, 200, 200, 0.1) 0%, rgba(200, 200, 200, 0.1) 33%, rgba(100, 100, 100, 0.1) 33%, rgba(100, 100, 100, 0.1) 86%, rgba(7, 7, 7, 0.1) 66%, rgba(7, 7, 7, 0.1) 99% ), 
                      linear-gradient(40deg, #101010, #252525, #606060, #606060);
}

.slide:nth-child(5)::before { 
    background: #164861;
    background-image: radial-gradient( circle at 70% 30%, rgba(184, 184, 255, 0.15) 0%, rgba(184, 184, 255, 0.15) 33%, rgba(96, 96, 150, 0.1) 33%, rgba(96, 96, 150, 0.1) 86%, rgba(7, 7, 7, 0.1) 66%, rgba(7, 7, 7, 0.1) 99% ), 
                      linear-gradient(40deg, #0B2533, #164861, #74cbe0, #74cbe0);
}

.slide:nth-child(6)::before { 
    background: #611661;
    background-image: radial-gradient( circle at 30% 70%, rgba(255, 184, 255, 0.1) 0%, rgba(255, 184, 255, 0.1) 33%, rgba(150, 96, 150, 0.1) 33%, rgba(150, 96, 150, 0.1) 86%, rgba(7, 7, 7, 0.1) 66%, rgba(7, 7, 7, 0.1) 99% ), 
                      linear-gradient(40deg, #330B33, #611661, #e074e0, #e074e0);
}

.slide:nth-child(7)::before { 
    background: #614016;
    background-image: radial-gradient( circle at 60% 40%, rgba(255, 255, 184, 0.15) 0%, rgba(255, 255, 184, 0.15) 33%, rgba(150, 150, 96, 0.1) 33%, rgba(150, 150, 96, 0.1) 86%, rgba(7, 7, 7, 0.1) 66%, rgba(7, 7, 7, 0.1) 99% ), 
                      linear-gradient(40deg, #33210B, #614016, #e0c874, #e0c874);
}

#controls-container {
    position: fixed;
    bottom: 50px; 
    left: 20px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 15px;
}

.player-container {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,0.3);
    padding: 5px 15px 5px 5px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
}

.music-info {
    display: flex;
    flex-direction: column;
}

.song-name {
    font-weight: 700;
    font-size: 0.9em;
}

.song-author {
    font-size: 0.75em;
    opacity: 0.8;
}

.slide-content {
    z-index: 3; 
    text-align: left;
    padding: 30px 50px;
    background: transparent;
    animation: fadeInScale 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    max-width: 70%; 
}

.slide-content h2 { 
    text-align: left;
    font-size: 4em; 
    margin-bottom: 25px;
    letter-spacing: 3px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    font-weight: 900;

    
    overflow-wrap: break-word;
}

.slide-content p {
    font-size: 1.8em;
    font-weight: 300;
}

.ai-slide {
    max-width: 1200px;
    width: 80%;
    padding: 30px;
}

.ai-models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 
    gap: 20px;
    margin-top: 30px;
}

.model-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 300px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.model-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px var(--primary-color);
}

.model-card img, .model-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
}

.model-card video {
    opacity: 0;
    z-index: 1;
}

.model-card img {
    z-index: 2;
}

.model-card:hover img {
    opacity: 0;
}

.model-card:hover video {
    opacity: 1;
}

.model-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    text-align: left;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 70%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 3;
}

.model-info h4 {
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
}

.model-info p {
    font-size: 0.9em;
    font-weight: 300;
    margin-bottom: 10px;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 900px) {
    .slide-content h2 {
        font-size: 2em; 
    }
    
    .slide-content p {
        font-size: 1.2em;
    }
    
    .slide.active {
        padding-bottom: var(--mobile-nav-height); 
    }
    
    .slide-content {
        max-width: 100%; 
        max-height: calc(100vh - var(--header-height) - var(--mobile-nav-height) - 40px);
        padding: 20px;
    }
    
    #slide-nav {
        left: 0;
        bottom: 0;
        top: auto;
        transform: none;
        width: 100%;
        height: var(--mobile-nav-height);
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 5px 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }

    .sphere-nav::after { display:none; }

    #slide-nav ul {
        flex-direction: row;
        gap: 10px;
        width: 100%;
        justify-content: space-between;
    }
    
    #slide-nav li {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .sphere-nav {
        --sphere-size: 45px;
        width: var(--sphere-size);
        height: var(--sphere-size);
        font-size: 1.3em;
    }

    .nav-text-tooltip {
        display: none;
    }

    #controls-container {
        bottom: calc(var(--mobile-nav-height) + 10px); 
        left: 15px;
    }
    
    .ai-models-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 10px;
    }
    
    .model-card {
        height: 220px;
    }


    #autoplay-toggle { display:none; }
    /*footer { display: none; bottom: 95px; }*/

}



@media (max-width: 900px) {

    body {
        overflow-y: auto !important;
        overflow-x: hidden;
    }

    #slides-container {
        height: auto !important;
    }

    .slide {
        position: relative !important;
        display: block !important;
        opacity: 1 !important;
        height: auto !important;
        min-height: 100vh;

        align-items: flex-start !important;
        padding-top: calc(var(--header-height) + 20px);
        padding-bottom: calc(var(--mobile-nav-height) + 20px);
    }

    .slide-content { position: relative; max-height: none !important; overflow: visible !important; }

    .slide.active {
        display: block !important;
        opacity: 1 !important;
    }
}






@media (max-width: 900px) {
    header { padding: 15px 5px; }

    #autoplay-toggle { 
        display: none; 
    }

    footer, 
    footer.site-footer {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        width: 100%;
        height: auto !important;
        padding: 40px 20px calc(var(--mobile-nav-height) + 20px) 20px !important;
        background: rgba(13, 17, 28, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        display: flex !important;
        flex-direction: column;
        gap: 15px;
    }

    .footer-container {
        flex-direction: column !important;
        gap: 15px !important;
        width: 100%;
    }

    .footer-groups {
        flex-direction: column !important;
        gap: 15px !important;
        width: 100%;
    }

    .footer-groups .menuDot {
        display: none !important;
    }

    .footer-group-item {
        width: 100%;
        text-align: center;
    }

    .footer-group-title {
        justify-content: center;
        font-size: 1.1em;
        padding: 10px;
    }

    .footer-submenu {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        box-shadow: none !important;
        background: rgba(255, 255, 255, 0.05) !important;
        margin-top: 5px;
        border-radius: 6px;
    }

    .footer-submenu a {
        text-align: center !important;
        padding: 12px 20px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .footer-submenu a:last-child {
        border-bottom: none;
    }

    .footer-copyright {
        margin-top: 10px;
        font-size: 0.9em;
    }
}















.ts-mdl-head-bg { background-color: #74A5E0!important; color: #fff!important; font-weight: bold!important; }
.ts-mdl-head-bg-2 { background-color: #f4f4f4!important; color: #000!important; font-weight: bold!important;
border-bottom: 1px solid #ddd; }

.ts-fcc { border: 2px solid #747474; border-radius: 10px; }
  i.fafix5 + input { padding-left: 47px!important; }
  i.fafix5 { color: #555!important; }

.ts-login-btn { width: 100%; color: #fff!important;
margin-top: 25px; border-radius: 10px; box-shadow: none;
background: -webkit-linear-gradient(50deg,#45cafc,#303f9f)!important;
    background: -o-linear-gradient(50deg,#45cafc,#303f9f)!important;
    background: linear-gradient(40deg,#45cafc,#303f9f)!important; }
.ts-login-btn:hover { box-shadow: 0 6px #ccc; }

.ts-btn-out { background-color: transparent!important; box-shadow: none!important; color: #555; border: none;
outline: none; font-size: 15px;  font-weight: 600; }
.ts-btn-out:hover { color: #000; text-decoration: underline; }

.form-control-colors, .form-control-colors-2, .close, .fafixREG, .fafixREG2  { color: #000!important; }
.form-control-colors:focus { color: #000; }

.form-control-colors, .form-control-colors-2 { padding: .375rem .75rem!important; border: 1px solid #ced4da!important;
    font-size: 1rem; font-weight: 400; line-height: 1.5; }

.close{
            display:block;
            position:absolute;
            top:-13px;
            right:5px;
            width:25px;
            height:25px;
            line-height:25px;
            background:#1BA600;
            cursor:pointer;
            -webkit-border-radius: 15px;
            -moz-border-radius: 15px;
            -ms-border-radius: 15px;
            -o-border-radius: 15px;
            border-radius: 15px;
            -moz-box-shadow: 1px 1px 3px #000;
            -webkit-box-shadow: 1px 1px 3px #000;
            box-shadow: none;
            outline: none;
        }
.close:hover {
            background-color:#eee;
}

.ts-padding { padding: 0.375rem 2.8rem!important; }
#lb_name { color: #555; }

.rules-section { position: absolute; bottom: 10px; left: 0; text-align: center; margin: 0 auto; width: 100%; }
.rules-a a { display: inline-block; color: #ccc!important; padding: 0 10px; }
.rules-a a:hover { color: #fff!important; }
#id_sp { display: none; }

.btn-success { background: linear-gradient(to right, #11998e, #38ef7d)!important; }

.modal-body { background: #f4f4f4!important; }
.modal-content { background: #f4f4f4!important; }
.modal-footer { background: #e8e8e8!important; }

.pass-eye { width: 40px; height: 110px; line-height: 110px; text-align: center; margin-left: -40px;
  position: relative; z-index: 1; float: right; font-size: 20px; color: #74A5E0!important; cursor: pointer; }


