@font-face {
  font-family: 'CustomFont';
  src: url('font.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'nexa';
  src: url('nexa.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


body {
  background-color: #1e1e2f;
  color: white;
  font-family: 'CustomFont', serif;
  margin: 0;
  padding: 0;
  text-align: center;
}

body a{
  color: white;
}

body:visited{
  color: white;
}

header {
    padding: 20px;
    top: 0;
    background: transparent;
    padding: 20px;
    z-index: 10;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

#logo-wrapper {
    display: inline-block;
    animation: pulse 3s ease-in-out infinite;
}

#logo {
    width: 200px;
    transition: filter 0.1s, transform 0.1s;
    transform-style: preserve-3d;
      will-change: transform;
}



header img {
    width: 200px;
}

nav {
    margin: 20px 0;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 20px;
    font-weight: bold;
}

.section-title {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #ffcc00;
    display: inline-block;
    padding-bottom: 5px;
}

.tournament-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin: 20px auto;
    max-width: 1000px;
}

.tournament {
    background-color: #2a2a3d;
    border-radius: 10px;
    padding: 10px;
    width: 150px;
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
}

.tournament:hover {
    transform: perspective(600px) rotateX(8deg) rotateY(8deg) scale(1.15);
}

.tournament-grid:hover .tournament {
    transform: scale(0.9);
}

.tournament img {
    width: 100%;
    border-radius: 5px;
    background-color: transparent;
    filter: 
      drop-shadow(0 0 3px #eeeeee) /* outline color amarillo */
      drop-shadow(0 6px 15px rgba(0, 0, 0, 0.25)); /* sombra normal */
    transition: transform 0.15s cubic-bezier(.17,.67,.83,.67),
                filter 0.15s cubic-bezier(.17,.67,.83,.67);
}

.tournament:hover img {
    transform: translateY(-4px);
    filter: 
      drop-shadow(0 0 9px #ffffff) /* outline amarillo más fuerte al hover */
      drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
}


footer {
    background-color: #111;
    padding: 10px;
    margin-top: 40px;
    font-size: 14px;
}

/* ====== Forum Preview ====== */
.forum-preview {
  display: flex;
  justify-content: center;
  width: 100%;
}

.forum-container {
  width: 90%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* ====== Forum Post Card ====== */
.forum-post {
  background-color: #2a2a3d;
  border-radius: 10px;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.3s ease;
}

.forum-post:hover {
  transform: perspective(600px) rotateX(4deg) rotateY(4deg) scale(1.03);
}

/* ====== Post Info ====== */
.post-info h2 a {
  color: white;
  text-decoration: none;
}

.post-info p a {
  color: #ffcc00;
  text-decoration: none;
}

/* ====== Avatar ====== */
.post-avatar {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  background-color: transparent;
  filter:
    drop-shadow(0 0 3px #eeeeee)
    drop-shadow(0 6px 15px rgba(0, 0, 0, 0.25));
  transition: transform 0.15s ease, filter 0.15s ease;
}

.forum-post:hover .post-avatar {
  transform: translateY(-4px);
  filter:
    drop-shadow(0 0 9px #ffffff)
    drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
}

/* BALL THING */

.circle {
    position: relative;
    width: 125px;
    height: 125px;
    background: #0f0e13;
    padding: 40px;
    border-radius: 50%;
    /* Multi-colored glows with perspective effect */
    box-shadow:
        0 20px 40px rgba(255, 105, 180, 0.4), /* pink */
        0 -15px 35px rgba(150, 80, 255, 0.4), /* purple */
        0 0 60px rgba(255, 105, 180, 0.3),
        0 0 90px rgba(150, 80, 255, 0.25);
    transform: perspective(600px) rotateX(8deg); /* tilt to match perspective */
    overflow: hidden;
    border: 2px solid #666;
    background: transparent;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-right: 20px;

/* Glare overlay */
.glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        115deg,
        rgba(255, 255, 255, 0.35) 0%,
        rgba(255, 255, 255, 0.05) 40%,
        transparent 70%
    );
    mix-blend-mode: screen;
    pointer-events: none;
}

/* Content inside */
.content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    font-family: Arial, sans-serif;
}

.content h2 {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
    font-family: "nexa", sans-serif;
    user-select: none;
}

/* Progress bar */
.progress {
    margin-top: 15px;
    background: #222;
    height: 14px;
    width: 80%;
    border-radius: 7px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.bar {
    height: 100%;
    width: 40%;
    background: #d96a94;
    border-radius: 7px;
}

