@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css");

@keyframes heartbeat {
  0% {
    transform: scale(0);
  }
  25% {
    transform: scale(1.2);
  }
  50% {
    transform: scale(1);
  }
  75% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes glow {
  0% {
    text-shadow: 0 0 5px #00CCCC, 0 0 10px #00CCCC, 0 0 15px #00A3A3, 0 0 20px #00A3A3;
  }
  50% {
    text-shadow: 0 0 10px #00CCCC, 0 0 20px #00CCCC, 0 0 30px #00A3A3, 0 0 40px #00A3A3;
  }
  100% {
    text-shadow: 0 0 5px #00CCCC, 0 0 10px #00CCCC, 0 0 15px #00A3A3, 0 0 20px #00A3A3;
  }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulseGlow {
    0% {
        opacity: 0.6;
        filter: blur(20px);
    }
    50% {
        opacity: 0.8;
        filter: blur(15px);
    }
    100% {
        opacity: 0.6;
        filter: blur(20px);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --text-primary: #fbfcfc;
    --text-secondary: #dbdbdb;
    --button-primary: #00CCCC;
    --button-secondary: #00A3A3;
    --background-color: #000000;
    --background-secondary: #00A3A3;
    --main-color: #00CCCC;
}

body {
    background-image: url('images/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-family: Ubuntu;
}

header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 20px 5%;
    background-color: var(--background-color);
}

.logo {
    cursor: pointer;
    margin-right: auto;
}

.logo img {
    max-width: 300px;
    width: auto;
    height: auto;
}

.nav__links a,
.cta,
.overlay__content a {
    font-weight: 500;
    font-size: 18px;
    color: var(--text-primary);
    text-decoration: none;
}

.nav__links {
    list-style: none;
    display: flex;
}

.nav__links li {
    padding: 0px 20px;
}

.nav__links li a {
    transition: color 0.3s ease 0s;
}

.nav__links li a:hover {
    color: var(--text-secondary);
}

.cta {
    margin-left: 30px;
    padding: 9px 25px;
    background-color: var(--button-primary);
    color: var(--text-primary);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease 0s;
}
  
.cta:hover {
    background-color: var(--button-secondary);
}

.menu {
    display: none;
}
  
.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    background-color: var(--background-color);
    overflow-x: hidden;
    transition: width 0.5s ease 0s;
}
  
.overlay--active {
    width: 100%;
}
  
.overlay__content {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
  
.overlay a {
    padding: 15px;
    font-size: 36px;
    display: block;
    transition: color 0.3s ease 0s;
}
  
.overlay a:hover,
.overlay a:focus {
    color: var(--text-secondary);
}

.overlay .close {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
    color: var(--text-secondary);
}

.tc-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: var(--background-color);
    position: relative;
    box-sizing: border-box;
}

.tc-description {
    font-size: 1.3em;
    line-height: 1.8em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--background-color);
}

.tc-wrapper {
    position: relative;
    padding: 20px 0;
}

.tc-gallery {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 1000px;
}

.tc-track {
    display: flex;
    transition: transform 0.5s ease;
}

.tc-card {
    min-width: 250px;
    width: 250px;
    margin: 0 10px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
    background-color: white;
}

.tc-card:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.tc-card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
}
  
.tc-gradient-left {
    position: absolute;
    left: 0;
    top: 0;
    width: 100px;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.tc-gradient-right {
    position: absolute;
    right: 0;
    top: 0;
    width: 100px;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.tc-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5C258D;
    transition: background-color 0.2s;
}

.tc-btn:hover {
    background-color: #f8f8f8;
}

.tc-prev {
    left: 10px;
}

.tc-next {
    right: 10px;
}

.auth-button {
    padding: 20px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.auth-button img {
    max-width: 250px;
    height: auto;
    width: auto;
}

.casino-details {
    padding: 20px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.detail-card {
    background: linear-gradient(45deg, var(--background-color), var(--background-secondary));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    flex: 1 1 400px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.detail-card h2 {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 40px;
    text-align: center;
}

.detail-card .detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    position: relative;
}

.detail-card .detail-row span {
    font-size: 16px;
    color: var(--text-secondary);
}

.detail-card .detail-row span.detail-value {
    font-weight: 500;
}

.why-choose {
    padding: 30px 0;
    position: relative;
    overflow: hidden;
}

.why-choose-details {
    background: linear-gradient(145deg, var(--background-color), rgba(0, 0, 0, 0.8));
    border-radius: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 60px;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 204, 204, 0.3);
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.why-choose-details::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, 
        rgba(0, 128, 128, 0.05) 0%,
        rgba(0, 204, 204, 0.2) 25%, 
        rgba(0, 240, 240, 0.15) 50%,
        rgba(0, 204, 204, 0.2) 75%,
        rgba(0, 128, 128, 0.05) 100%
    );
    background-size: 400% 400%;
    z-index: -1;
    filter: blur(20px);
    border-radius: 25px;
    animation: gradientFlow 15s ease infinite, pulseGlow 5s ease-in-out infinite;
    opacity: 0.8;
}

.why-choose-details::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 204, 204, 0.1), 
        transparent
    );
    z-index: -2;
    border-radius: 22px;
    opacity: 0.6;
}

.why-choose .logo {
    max-width: 300px;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 10px rgba(0, 204, 204, 0.5));
}

.why-choose h1 {
    color: #00CCCC;
    margin-bottom: 40px;
    font-size: 36px;
    position: relative;
    display: inline-block;
}

.why-choose h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 30%;
    width: 40%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00CCCC, transparent);
}

.why-choose h3 {
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
    font-size: 18px;
    text-align: left;
    display: inline-block;
}

.why-choose h3 p {
    margin-bottom: 15px;
    position: relative;
    padding-left: 5px;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.why-choose h3 p:hover {
    transform: translateX(5px);
    color: #ffffff;
}

.why-choose h3 p:last-child {
    margin-bottom: 0;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
    text-align: left;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    border-left: 4px solid #00CCCC;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.benefits-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #00CCCC;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
    opacity: 0;
}

.benefits-list li:hover {
    transform: translateX(5px);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 5px 15px rgba(0, 204, 204, 0.2);
}

.benefits-list li:hover::before {
    transform: scaleY(1);
    opacity: 1;
}

.benefit-icon {
    flex: 0 0 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 204, 204, 0.15);
    border-radius: 50%;
    margin-right: 20px;
    color: #00CCCC;
    font-size: 28px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 204, 204, 0.2);
}

.benefits-list li:hover .benefit-icon {
    background: rgba(0, 204, 204, 0.3);
    transform: scale(1.1);
}

.benefit-content {
    flex: 1;
}

.benefit-content h3 {
    color: #00CCCC;
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.benefit-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    opacity: 0.9;
}

.benefits-list li:last-child {
    margin-bottom: 0;
}

.benefit {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.benefit-card {
    background-color: var(--text-secondary);
    padding: 30px;
    border-radius: 15px;
    color: var(--background-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background-color: var(--text-primary);
}

.feature-icon {
    font-size: 50px;
    color: var(--text-black);
    margin-bottom: 20px;
}

.benefit-card h4 {
    margin: 15px 0 10px;
    color: var(--background-color);
    font-size: 24px;
    font-weight: 700;
}

.benefit-card p {
    margin: 0;
    color: var(--background-color);
    font-size: 16px;
    line-height: 1.6;
}

.games-section {
    padding: 30px;
    background-color: var(--background-color);
}

.games-section h4 {
    color: var(--text-primary);
}

.games-section img {
    max-width: 120px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin: 20px;
    color: var(--text-primary);
}

.games-grid {
    padding: 40px;
}

.game-card {
    background: rgba(0, 204, 204, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 30px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.game-icon {
    margin-bottom: 20px;
}

.game-title {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.game-description {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.5;
}

.join-section {
    padding: 50px;
    text-align: center;
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.85));
    border-radius: 15px;
    margin: 30px auto;
    max-width: 1200px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 204, 204, 0.2);
}

.join-section h2 {
    font-size: 32px;
    color: #00CCCC;
    margin-bottom: 25px;
    animation: glow 2s ease-in-out infinite;
    display: inline-block;
    padding: 15px 30px;
    border: 2px solid #00CCCC;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 15px rgba(0, 204, 204, 0.3);
    position: relative;
}

.join-section h2::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 1px solid rgba(0, 204, 204, 0.3);
    border-radius: 12px;
    pointer-events: none;
}

.join-section p {
    font-size: 18px;
    padding: 0 120px;
    margin-bottom: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.join-section p span {
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.join-section p span:hover {
    transform: scale(1.05);
    text-decoration: underline;
}

.footer {
    background-color: var(--background-color);
    color: var(--text-primary);
    padding: 20px 0;
    text-align: center;
}
  
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}
  
.footer p {
    margin: 0;
    font-size: 18px;
}

.footer-seo {
    margin-top: 10px;
    opacity: 0.7;
}

.footer-seo p {
    font-size: 12px;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
}

.footer a {
    color: var(--button-primary);
    text-decoration: none;
    position: relative;
    padding: 0 5px;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--text-primary);
}

.footer a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 0;
    background-color: var(--button-primary);
    transition: width 0.3s ease;
}

.footer a:hover::after {
    width: 100%;
}

@media screen and (max-height: 450px) {
    .overlay a {
        font-size: 20px;
    }
    .overlay .close {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}
  
@media only screen and (max-width: 800px) {
    .nav__links,
    .cta {
        display: none;
    }
    .menu {
        display: initial;
    }
}

@media (max-width: 768px) {
    .tc-gallery {
        max-width: 300px;
    }
    .tc-description {
        font-size: 1.1em;
        padding: 0 15px;
    }
    .tc-btn {
        width: 36px;
        height: 36px;
    }

    .logo {
        max-width: 100px;
    }

    .logo img {
        max-width: 250px;
    }

    .hero-container {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .hero-banner {
        width: 100%;
        margin-top: 20px;
        border-radius: 20px;
    }

    .hero-container .auth-buttons {
        width: 100%;
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
        margin-right: 20px;
        padding: 10px;
    }

    .hero-container .login-button, .register-button {
        margin-bottom: 0px;
        font-size: 16px;
        min-width: 300px;
        padding: 10px 20px;
        border-radius: 50px;
    }

    .casino-details {
        padding: 20px 0;
    }

    .detail-card {
        margin: 0 20px;
    }

    .detail-card h2 {
        font-size: 20px;
    }

    .detail-card .detail-row span {
        font-size: 14px;
    }

    .why-choose-details {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .why-choose .logo {
        max-width: 220px;
        margin-bottom: 20px;
    }

    .why-choose h1 {
        font-size: 26px;
        margin-bottom: 25px;
    }

    .why-choose h1::after {
        bottom: -8px;
        height: 2px;
    }

    .why-choose h3 {
        padding-right: 0px;
        font-size: 14px;
        line-height: 1.5;
    }
    
    .why-choose h3 p {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .benefit-card h4 {
        font-size: 18px;
    }
    
    .benefit-card p {
        margin: 0;
        font-size: 12px;
        line-height: 1.5;
    }

    .games-section {
        padding: 40px 0;
    }

    .games-section img {
        max-width: 100px;
    }
  
    .section-title {
        font-size: 24px;
    }
  
    .games-grid {
        grid-template-columns: 1fr;
    }
  
    .game-card {
        padding: 20px;
    }
  
    .game-title {
        font-size: 18px;
    }
  
    .game-description {
        font-size: 14px;
    }

    .join-section {
        padding: 40px 20px;
        margin: 20px auto;
    }
    
    .join-section h2 {
        font-size: 24px;
        margin-bottom: 20px;
        padding: 10px 15px;
        border-width: 1px;
    }
    
    .join-section p {
        font-size: 16px;
        padding: 0 20px;
        line-height: 1.5;
    }
    
    .footer {
        padding: 10px 0;
    }
    
    .footer p {
        font-size: 14px;
    }
    
    .footer-seo p {
        font-size: 10px;
        line-height: 1.3;
    }
    
    .footer a {
        padding: 0 3px;
        font-size: 13px;
    }
    
    .footer a::after {
        height: 1px;
    }
}

@keyframes tcFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tc-fade-in {
    animation: tcFadeIn 0.5s forwards;
}