html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    background: url('arkaplan.png') no-repeat center center fixed;
    background-size: cover;
    backdrop-filter: blur(8px);
    color: #fff;
    min-height: 100vh;
    height: auto;
}

.container {
    flex-grow: 1;
    display: flex;
    flex-wrap: wrap;
    padding: 15px;
    gap: 15px;
    justify-content: center;
    box-sizing: border-box;
    min-height: 100vh;
    height: auto;
    overflow-y: auto;
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
}

.left-section, .center-section, .right-section {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.4);
    box-sizing: border-box;
    width: 100%;
    max-width: 320px;
    flex: 1 1 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.center-section {
    position: relative;
    flex: 2 1 540px;
    max-width: 600px;
    text-align: center;
    padding-bottom: 60px;
    overflow-y: auto;
    height: auto;
    max-height: none;
}
.right-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 320px;
  width: 100%;
  align-items: center;
}

.right-section img { 
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 10px;
    max-width: 320px;
    object-fit: contain;
    display: block;
}

.discord-widget {


  text-align: center;
}

.discord-widget h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 1.4rem;
}

.discord-widget iframe {
  width: 100%;
  border-radius: 16px;
  border: none;
  background: #111;
}

.join-button {
  display: inline-block;
  margin: 15px auto 0;
  background: #ff0000;
  color: #fff;
  padding: 10px 25px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.7);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.join-button:hover {
  background: #cc0000;
  box-shadow: 0 0 15px 3px rgba(204, 0, 0, 0.7);
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-wrapper h1 {
    font-size: 3.5rem;
    color: #fff;
    text-shadow:
      0 0 3px #ff0000,
      0 0 7px #ff0000,
      0 0 15px #ff4444,
      0 0 25px #ff4444;
    margin: 0;
    font-weight: 900;
}

.logo {
    width: 80px;
    height: auto;
    margin-bottom: 8px;
}

.whatsapp-note {
    font-style: italic;
    font-size: 0.85rem;
    color: #ccc;
    margin-top: 6px;
    text-align: center;
}

.social-icons-frame {
    background: rgba(0,0,0,0.6);
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 0 8px rgba(255,0,0,0.4);
    max-width: 600px;
    margin: 0 auto 20px auto;
    box-sizing: border-box;
    width: 100%;
}

.social-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px;
    padding: 10px 0;
    justify-items: center;
    align-items: center;
}

.icon-box {
    background: rgba(255, 0, 0, 0.15);
    border-radius: 16px;
    width: 90px;
    height: 90px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
    transition: background 0.4s ease, transform 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
    font-size: 0.75rem;
}

.icon-box i {
    font-size: 3.5rem;
    margin-bottom: 5px;
}

.icon-box:hover {
    background: rgba(255, 0, 0, 0.7);
    box-shadow: 0 0 20px 6px rgba(255, 0, 0, 0.9);
    transform: scale(1.1);
    color: #fff;
}

.join-button {
    display: inline-block;
    margin-top: 15px;
    background: #ff0000;
    color: white;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 0 8px rgba(255,0,0,0.7);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    align-self: center;
}

.join-button:hover {
    background: #cc0000;
    box-shadow: 0 0 15px 3px rgba(204, 0, 0, 0.7);
}

.game-servers {
    border-radius: 16px;
    padding: 20px;
    margin-top: 30px;
    text-align: center;
}

.server-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.server-logos img {
    height: 45px;
    width: auto;
    object-fit: contain;
    margin: 0 10px;
}

.footer-frame {
    position: relative;
    margin-top: 30px;
    padding: 12px 20px;
    font-size: 1,3rem;
    color: #f0f0f0;
    text-shadow: 0 0 5px rgba(0,0,0,0.7);
    background: rgba(0, 0, 0, 0.7);
    text-align: center;
    width: auto;
    min-width: 200px;
    border-radius: 8px;
}

.footer-frame a {
    color: #ff4444;
    text-decoration: none;
    font-weight: 600;
}

.footer-frame a:hover {
    text-decoration: underline;
}


.left-section img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 10px;
    max-width: 320px;
    object-fit: contain;
    display: block;
}

.section-title {
    text-align: center;
}

.whatsapp-link {
    display: block;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        padding-top: 50px;
        padding-left: 15px;
        padding-right: 15px;
        gap: 20px;
        flex-wrap: nowrap;
        box-sizing: border-box;
        scroll-behavior: smooth;
        width: 100%;
        max-width: 100%;
    }

    .center-section,
    .right-section,
    .left-section {
        max-width: 100%;
        width: 100%;
        margin: 0 auto 1px auto;
        flex: none;
        box-sizing: border-box;
    }

    .center-section {
        height: auto !important;
        max-height: none !important;
        overflow-y: visible !important;
        padding-bottom: 10px;
    }

    .center-section { order: 1; }
    .right-section  { order: 2; }
    .left-section   { order: 3; }
}

@media (max-width: 768px) {
    .social-icons {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, auto);
    }

    .icon-box {
        width: 70px;
        height: 70px;
        font-size: 0.7rem;
    }

    .icon-box i {
        font-size: 2.5rem;
    }

    .left-section img {
        max-height: 250px;
    }
}
