@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("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: #f5f5f5;
    --text-secondary: #dcdcdc;
    --button-primary: #306844;
    --button-secondary: #2c4c3b;
    --background-color: #182c25;
    --background-secondary: #2c4c3b;
    --main-color: #306844;
}

body {
    background-color: var(--main-color);
    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: 200px;
    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: 0px 0;
}

.why-choose-details {
    background-color: var(--background-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 80px;
    align-items: center;
}

.why-choose .logo {
    max-width: 300px;
}

.why-choose h1 {
    color: var(--text-primary);
    margin-bottom: 20px;
}

.why-choose p,h3 {
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.3;
}

.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(0, 0, 0, 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 h2 {
    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;
}

.footer a {
  color: #ffffff;
  background-color: rgba(48, 236, 132, 0.15); /* transparent #30ec84 */
  padding: 5px 8px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.footer a:hover,
.footer a:focus {
  background-color: rgba(30, 150, 85, 0.25); /* darker version for hover */
  text-decoration: underline;
}


@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: 150px;
    }

    .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: 50px;
    }

    .why-choose .logo {
        max-width: 160px;
    }

    .why-choose h3 {
        padding-right: 0px;
        font-size: 16px;
    }

    .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 h2 {
        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;
}

/* Game Providers Section */
.providers-section {
    padding: 40px 20px;
    background: #1a1a1a;
    text-align: center;
}

.providers-section h4 {
    color: #fff;
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.provider-card {
    background: #2c3e50;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    border: 2px solid #ea1520;
    transition: all 0.3s ease;
}

.provider-card:hover {
    transform: translateY(-5px);
    background: #333;
}

.provider-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-right: 20px;
    border-radius: 8px;
}

.provider-info h3 {
    color: #f0ecfc;
    margin-bottom: 10px;
    text-align: left;
}

.provider-info p {
    color: #ddd;
    text-align: left;
    font-size: 14px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .providers-grid {
        grid-template-columns: 1fr;
    }
    
    .provider-card {
        flex-direction: column;
        text-align: center;
    }
    
    .provider-logo {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .provider-info h3, 
    .provider-info p {
        text-align: center;
    }
}