@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);
  }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --text-primary: #fbfcfc;
    --text-secondary: #dbdbdb;
    --button-primary: #097be5;
    --button-secondary: #064ab1;
    --background-color: #000000;
    --background-secondary: #1106b1;
    --main-color: #0931e5;
}

body {
    background-color: var(--main-color);
    font-family: Ubuntu;
}

header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 20px 5%;
    background: linear-gradient(to bottom, #ffffff 0%, #f5f5f5 50%, #dddddd 100%);
}


.logo {
    cursor: pointer;
    margin-right: auto;
}

.logo img {
    max-width: 250px;
    width: auto;
    height: auto;
}

.nav__links a,
.cta,
.overlay__content a {
    font-weight: 500;
    font-size: 18px;
    color: black;
    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: #000000; /* black color */
}

.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: #25498d;
    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: 40px 0;
    background: linear-gradient(135deg, var(--main-color) 0%, var(--background-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 0;
}

.why-choose-details {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.why-choose .logo {
    max-width: 300px;
    margin-bottom: 30px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.why-choose .logo:hover {
    transform: scale(1.05);
}

.why-choose h1 {
    color: var(--text-primary);
    margin-bottom: 25px;
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.why-choose h3 {
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.5;
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.2rem;
}

.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;
}

.games-grid {
    padding: 40px;
}

.game-card {
    background: rgba(33, 103, 255, 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;
}

.join-section h1 {
    font-size: 32px;
    color: var(--text-primary);
    margin-bottom: 40px;
}

.join-section p {
    font-size: 18px;
    padding: 0 120px;
    margin-bottom: 40px;
    color: var(--text-secondary);
}

.join-section p a{
    font-size: 18px;
    text-decoration: none;
    color: var(--background-color);
    margin-bottom: 40px;
    font-weight: bold;
}

.join-section p a:hover{
    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;
}

@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: 40px 20px;
        margin: 0 15px;
    }

    .why-choose .logo {
        max-width: 220px;
    }

    .why-choose h1 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .why-choose h3 {
        font-size: 1rem;
        padding: 0;
    }

    .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: 60px 20px;
        text-align: center;
    }
    
    .join-section h1 {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .join-section p {
        font-size: 16px;
        padding: 10px;
        line-height: 1.3;
    }

    .footer {
        padding: 10px 0;
    }
      
    .footer p {
        font-size: 14px;
    }
}

@keyframes tcFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tc-fade-in {
    animation: tcFadeIn 0.5s forwards;
}