* {
    box-sizing: border-box;
}
html, body {
    margin: 0;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    background-color: #0a0a14;
    background: radial-gradient(circle, #250760 0%, #0a001a 80%);
    background-image: url("/main/img/bg.png"), radial-gradient(circle, #250760 0%, #0a001a 80%);
    background-repeat: repeat, no-repeat;
    background-size: cover, cover;
    background-position: 0 0, center;
    background-blend-mode: multiply;

    background-attachment: fixed; 

    min-height: 100vh;
}



::-webkit-scrollbar {
    width: 2px; 
}

::-webkit-scrollbar-track {
    background: #2c2c2c;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: rgba(150, 150, 150, 0.5);
    border-radius: 6px;
    transition: background 0.3s ease, height 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(200, 200, 200, 0.7); 
    height: 12px;
}

::-webkit-scrollbar-thumb:active {
    background: rgba(220, 220, 220, 0.8);
}


.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(20px) brightness(0.5);
    z-index: -1;
}

.content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
    padding: 2rem;
    text-align: center;
}

@keyframes fadeZoomIn {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes slideFadeUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes iconsIn {
  0% { opacity: 0; transform: scale(0.6); }
  100% { opacity: 1; transform: scale(1); }
}



.profile {
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}
.profile img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(37, 7, 96, 0.2);
    box-shadow: 0 0 5px rgba(138, 43, 226, 0.4), 0 0 10px rgba(138, 43, 226, 0.2);
    transition: 0.3s ease-in-out;
    animation: fadeZoomIn 0.6s ease-out forwards;
}


.profileborder {
    border-radius: 50%;
    border: 4px solid white;
}

@keyframes neonFlicker {
    0%, 96%, 100% { opacity: 1; filter: drop-shadow(0 0 8px rgba(138, 43, 226, 0.8)); }
    97% { opacity: 0.3; filter: drop-shadow(0 0 3px rgba(138, 43, 226, 0.3)); }
    98% { opacity: 0; filter: drop-shadow(0 0 1px rgba(138, 43, 226, 0.1)); } 
    99% { opacity: 0.7; filter: drop-shadow(0 0 6px rgba(138, 43, 226, 0.6)); } 
}

.profile h2 {
    opacity: 0;
    animation: fadeZoomIn 0.6s ease-out forwards;
}

.profile h2 span {
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: transparent;
    -webkit-text-stroke: 2px rgba(138, 43, 226, 1);
    filter: drop-shadow(0 0 5px rgba(138, 43, 226, 0.2)) 
            drop-shadow(0 0 5px rgba(138, 43, 226, 0.2));

    display: inline-block;
    animation: neonFlicker 2s infinite alternate ease-in-out;
}

.profile h2 span:nth-child(1) { animation-delay: 2.7s; }
.profile h2 span:nth-child(2) { animation-delay: 7.1s; }
.profile h2 span:nth-child(3) { animation-delay: 3.3s; }
.profile h2 span:nth-child(4) { animation-delay: 8.5s; }
.profile h2 span:nth-child(5) { animation-delay: 5.6s; }
.profile h2 span:nth-child(6) { animation-delay: 4.9s; }
.profile h2 span:nth-child(7) { animation-delay: 9.2s; }
.profile h2 span:nth-child(8) { animation-delay: 6.8s; }
.profile h2 span:nth-child(9) { animation-delay: 1.5s; }




.profile .social-links {
  margin: 20px 0;
  display: flex;
  opacity: 0;
  animation: iconsIn 0.5s ease-out 0.8s forwards;
  justify-content: center;
  gap: 10px;
  position: relative;
}

.profile .social-links a {
  display: inline-flex;
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.profile .social-links a.discord {
  border: 2px solid #5865F2;
  background: rgba(88, 101, 242, 0.2);
  color: #fff;
}

.profile .social-links a.discord:hover {
  background: rgba(88, 101, 242, 0.4);
  box-shadow: 0 0 8px rgba(88, 101, 242, 0.3);
}

.profile .social-links a.twitch {
  border: 2px solid #9146FF;
  background: rgba(145, 70, 255, 0.2);
  color: #fff;
}

.profile .social-links a.twitch:hover {
  background: rgba(145, 70, 255, 0.4);
  box-shadow: 0 0 8px rgba(145, 70, 255, 0.8);
}

.profile .social-links a.instagram {
  border: 2px solid #E4405F;
  background: rgba(228, 64, 95, 0.2);
  color: #fff;
}

.profile .social-links a.instagram:hover {
  background: rgba(228, 64, 95, 0.4);
  box-shadow: 0 0 8px rgba(228, 64, 95, 0.8);
}



.light-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  animation: lightMove 3s linear infinite;
}
.profile .social-links {
  margin: 20px 0;
  display: flex;
  justify-content: center;
  gap: 15px;
  align-items: center;
  position: relative; 
}


.casino-section {
    margin-bottom: 2rem;
}

@keyframes subtlePulse {
    0%, 100% { filter: drop-shadow(0 0 4px rgba(255,255,255,0.2)); }
    50% { filter: drop-shadow(0 0 10px rgba(255,255,255,0.4)); }
}
@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); text-shadow: -2px 2px 5px rgba(255, 0, 0, 0.7); }
    40% { transform: translate(2px, -2px); text-shadow: 2px -2px 5px rgba(0, 255, 255, 0.7); }
    60% { transform: translate(-2px, 2px); text-shadow: -2px 2px 5px rgba(255, 0, 0, 0.7); }
    80% { transform: translate(2px, -2px); text-shadow: 2px -2px 5px rgba(0, 255, 255, 0.7); }
    100% { transform: translate(0); text-shadow: none; }
}
.casino-section h2 {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 1s forwards;
}
.casino-section h2 span {
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: transparent;
    -webkit-text-stroke: 2px rgba(220, 220, 220, 1);
    filter: drop-shadow(0 0 5px rgba(220, 220, 220, 0.3));

    display: inline-block;
    animation: subtlePulse 4s infinite ease-in-out;
}

.casino-section h2::after {
    display: block;
    width: 80px;
    height: 2px;
    margin: 10px auto 0;
    background: white;
    opacity: 0.2;
    box-shadow: 0 0 8px rgba(255,255,255,0.5);
}
.casino-section h2:hover span {
    animation: glitch 0.3s steps(2, start);

}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


@keyframes lineGrow {
  0% {
    width: 0;
  }
  100% {
    width: 80px;
  }
}
.casino-grid {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
    overflow: visible; 
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow {
  0% {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
  }
  100% {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  }
}
@keyframes hoverGlow {
  0% {
    box-shadow: 0 0 10px rgba(var(--card-color-rgb), 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(var(--card-color-rgb), 0.8);
  }
  100% {
    box-shadow: 0 0 10px rgba(var(--card-color-rgb), 0.3);
  }
}


.casino-box-wrapper:nth-child(1) {
  animation-delay: 1.2s;
}
.casino-box-wrapper:nth-child(2) {
  animation-delay: 1.4s;
}
.casino-box-wrapper:nth-child(3) {
  animation-delay: 1.6s;
}
.casino-box-wrapper:nth-child(4) {
  animation-delay: 1.8s;
}
.casino-box-wrapper:nth-child(5) {
  animation-delay: 2s;
}
.casino-box-wrapper:nth-child(6) {
  animation-delay: 2.2s;
}
.casino-box-wrapper:nth-child(7) {
  animation-delay:  2.4s;
}
.casino-box-wrapper:nth-child(8) {
  animation-delay: 2.6s;
}
.casino-box-wrapper:nth-child(9) {
  animation-delay: 2.8s;
}
.casino-box-wrapper:nth-child(10) {
  animation-delay: 3.0s;
}
.casino-box-wrapper:nth-child(11) {
  animation-delay: 3.2s;
}
.casino-box-wrapper:nth-child(12) {
  animation-delay: 3.4s;
}
.casino-box-wrapper:nth-child(13) {
  animation-delay: 3.6s;
}
.casino-box-wrapper:nth-child(14) {
  animation-delay: 3.8s;
}
.casino-box-wrapper:nth-child(15) {
  animation-delay: 4s;
}
.casino-box-wrapper:nth-child(16) {
  animation-delay: 4.2s;
}
.casino-box-wrapper:nth-child(17) {
  animation-delay: 4.4s;
}



.crab-tooltip {
  position: relative;
  cursor: pointer;
  display: inline-block;
  margin-top: 2px;
}

.crab-tooltip .tooltip-text {
  visibility: hidden;
  background-color: #000;
  color: #fff;
  text-align: left;
  border-radius: 6px;
  padding: 0.5rem;
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  width: 500px;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.crab-tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}


.footer {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 1rem 0;
    position: relative;
    background: rgba(0, 0, 0, 0.3);
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px; 
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0)); 
    opacity: 0.5;
}

.footer p {
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding-bottom: 2px;
    padding-top: 2px;
}

.footer:hover::before {
    opacity: 0.8;
}
.footer-image {
    max-width: 150px; 
    display: block;
    margin: 0 auto;
    opacity: 0.9; 
}

.credit {
    bottom: 5px;
    right: 10px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5); 
    text-decoration: none; 
    transition: color 0.3s ease-in-out;
}

.credit:hover {
    color: rgba(255, 255, 255, 0.8); 
    text-decoration: none; 
}

.casino-box-wrapper {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  min-height: 250px;
  display: flex;
  backdrop-filter: blur(5px);
}


.casino-box {
width: 100%;
max-width: 420px;
min-width: 420px;
  min-height: 250px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  padding: 24px;
  border: 2px solid var(--main-color2);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 15px var(--shadow-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
  transform: perspective(800px) rotateX(0deg) translateY(0);
  will-change: transform, box-shadow;
}

.casino-box:hover {
  transform: perspective(800px) rotateX(4deg) translateY(-4px);
  box-shadow: 0 0 30px var(--shadow-color);
}

.casino-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 16px;
  margin-top: 16px;
  height: 60px;
  overflow: hidden;
}

.casino-logo {
  width: 220px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 6px var(--main-color));
  object-fit: contain;
}



.casino-divider-line {
  width: 80%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--main-color2), transparent);
  opacity: 0.3;
  margin: 16px 0;
}



.casino-info {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.5px;
  line-height: 1.6;
  font-family: 'Segoe UI', sans-serif;
  color: #f0f0f0;
}

.casino-info li {
  margin: 10px 0;
  padding-left: 0;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.08);
  text-transform: uppercase;
}
.highlight {
  color: var(--main-color2);
  text-shadow: 0 0 2px var(--main-color2);
  font-weight: 500;
}
.casino-overlay-link {
  position: absolute;
  inset: 0;
  z-index: 10;
  cursor: pointer;
  text-decoration: none;
}

@media only screen and (max-width: 768px) {
    .content {
        padding: 1.5rem;
    }

    .profile img {
        width: 120px;
        height: 120px;
    }

    .profile h2 {
        font-size: 1.2rem;
    }

    .casino-section h2 {
        font-size: 1.5rem;
    }

    .casino {
        width: 100%;
    }

    .casino img {
        max-width: 80px;
        max-height: 80px;
    }

    .casino p {
        font-size: 0.9rem;
    }
    .casino-box {
        min-width: 320px;
    }

    .footer {
        font-size: 0.7rem;
    }
}

@media only screen and (max-width: 480px) {
    .content {
        padding: 1rem;
    }

    .profile img {
        width: 100px;
        height: 100px;
    }

    .profile h2 {
        font-size: 1rem;
    }

    .casino-section h2 {
        font-size: 1.2rem;
    }

    .casino {
        width: 100%;
    }

    .casino img {
        max-width: 70px;
        max-height: 70px;
    }

    .casino p {
        font-size: 0.8rem;
    }

    .footer {
        font-size: 0.7rem;
    }
}
.casino-badge {
  position: absolute;
  top: -13px; 
  left: 50%;
  border: 2px solid var(--main-color2);
  transform: translate(-50%, 0);

    background: radial-gradient(circle at center, #20228a 30%, #141433 100%);



  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.63rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  
  box-shadow: 0 0 1px rgba(78, 79, 226, 0.5), 0 0 1px rgba(78, 79, 226, 0.4);
  backdrop-filter: blur(6px);
  z-index: 10;
}

.casino-badge-new::before {
    content: "✨ ";
}
.casino-badge-new {
  position: absolute;
  top: -13px; 
  left: 50%;
  border: 2px solid var(--main-color2);
  transform: translate(-50%, 0);

    background: radial-gradient(circle at center, #2e114d 30%, #160925 100%);



  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.63rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  
  box-shadow: 0 0 1px rgba(78, 79, 226, 0.5), 0 0 1px rgba(78, 79, 226, 0.4);
  backdrop-filter: blur(6px);
  z-index: 10;
}
.casino-badge-new2::before {
    content: "✨ ";
}
.casino-badge-new2 {
  position: absolute;
  top: -13px; 
  left: 50%;
  border: 2px solid var(--main-color2);
  transform: translate(-50%, 0);

    background:radial-gradient(circle at center, #91760c 30%, #473904 100%);


  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.63rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  
  box-shadow: 0 0 1px rgba(78, 79, 226, 0.5), 0 0 1px rgba(78, 79, 226, 0.4);
  backdrop-filter: blur(6px);
  z-index: 10;
}

.casino-badge-hot2::before {
    content: "🔥";
}
.casino-badge-hot2 {
  position: absolute;
  top: -13px; 
  left: 50%;
  border: 2px solid var(--main-color2);
  transform: translate(-50%, 0);

    background:radial-gradient(circle at center, #91760c 30%, #473904 100%);


  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.63rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  
  box-shadow: 0 0 1px rgba(78, 79, 226, 0.5), 0 0 1px rgba(78, 79, 226, 0.4);
  backdrop-filter: blur(6px);
  z-index: 10;
}

.casino-badge::before {
    content: "👑 ";
}

.shiny-text {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.shiny-text::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: 200%;
  mix-blend-mode: screen;
  opacity: 1;
  z-index: 2;
  pointer-events: none;
}

@media only screen and (max-width: 768px) {

    .casino-grid {
        display: flex;
        flex-direction: column;
        align-items: center; 
        width: 100% !important;
        padding: 0;
    }

    .casino-box {

        width: 90vw !important;       
        max-width: 380px !important;
        min-width: 0 !important;
        
        height: auto !important;
        
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 25px !important;
        
        padding: 20px 10px !important;
        
        box-sizing: border-box !important; 
        display: block !important;
    }

    .casino-header {
        height: 70px !important;       
        

        width: 100% !important;        
        overflow: hidden !important;
        
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        
        margin-top: 10px !important;
        margin-bottom: 10px !important;
        position: relative !important;
    }

    .casino-logo {
        width: auto !important;  
        max-width: 200px;
        max-height: 200px;
        
        max-width: none !important; 
        
        transform: none !important;
    }

    .casino-info {
        width: 100% !important;
    }

    .casino-info li {
        font-size: 13px !important;
        line-height: 1.4 !important;
        margin: 6px 0 !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
}