/* FONT */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* BODY */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100%;
    background: linear-gradient(180deg, #0d0d0d 0%, #1a1a1a 100%);
    color: #fff;
    font-family: "Poppins", sans-serif;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    user-select: none;
    transition: background 0.3s, color 0.3s;
}

/* Pixel Grid & Glow */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(90deg, rgba(0, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(0, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 25px 25px;
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(88, 101, 242, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Container */
.container {
    max-width: 1050px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    z-index: 1;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Language Flags */
.language-flags {
    display: flex;
    justify-content: center;
    gap: 14px;
    padding: 15px 0;
    position: relative;
    z-index: 10;
}

.language-flags img {
    width: 42px;
    cursor: pointer;
    transition: 0.25s;
    filter: drop-shadow(0 0 4px #5865F2);
}

.language-flags img:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 0 8px #00ffff);
}

/* Banner */
.banner-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 60px;
}

.banner-wrapper .banner {
    width: 75%;
    max-width: 800px;
    border: 2px solid #5865F2;
    border-radius: 10px;
    box-shadow: 0 0 20px #5865F2;
    display: block;
    transition: width 0.3s, max-width 0.3s;
}

/* Title & Description */
.title {
    margin: 30px 0 30px 0;
    font-size: 2.3rem;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
}

.description {
    max-width: 760px;
    margin: 15px auto 40px auto;
    font-size: 1.15rem;
    color: #d0d0d0;
    line-height: 1.6;
}

/* Info Section */
.info-section {
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

/* Card UI/UX */
.info-card {
    background: rgba(20, 20, 30, 0.75);
    backdrop-filter: blur(6px);
    border: 2px solid rgba(88, 101, 242, 0.7);
    color: #fff;
    padding: 22px;
    flex: 1 1 260px;
    min-height: 180px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.3s, color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px rgba(88, 101, 242, 0.25);
    border-color: #ffcc00;
}

/* Card icons hover micro-animation */
.card-icons .icon {
    display: inline-block;
    margin-right: 6px;
    transition: transform 0.3s ease;
}

.info-card:hover .card-icons .icon {
    transform: scale(1.1) rotate(10deg);
}

/* Join Button */
.join-btn {
    display: inline-block;
    background-color: #ffcc00;
    color: #000;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    margin: 0 auto 35px auto;
    transition: 0.25s;
    box-shadow: 0 0 14px #ffcc00;
}

.join-btn:hover {
    background-color: #ffaa00;
    transform: scale(1.07);
    box-shadow: 0 0 20px #ffaa00;
}

/* Footer */
.contact {
    background: rgba(15, 15, 25, 0.95);
    color: #ffcc00;
    padding: 25px 0;
    border-top: 2px solid #5865F2;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 -4px 15px rgba(88, 101, 242, 0.35);
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.contact a {
    color: #ffcc00;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}

.contact a:hover {
    text-decoration: underline;
}

/* THEME TOGGLE */
.theme-toggle-wrapper {
    position: fixed; /* sağ üstte sabit */
    top: 10px;
    right: 10px;
    z-index: 50;
}

.theme-toggle {
    cursor: pointer;
    font-size: 1.4rem;
    background: rgba(20,20,30,0.85);
    padding: 6px 10px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.25);
    transition: 0.3s, background 0.3s, color 0.3s;
}

.theme-toggle:hover {
    transform: scale(1.05);
}

/* LIGHT THEME */
body.light-theme {
    background: #fff;
    color: #000;
}

body.light-theme .info-card {
    background: rgba(245, 245, 245, 0.85);
    color: #000;
    border-color: rgba(88, 101, 242, 0.5);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

body.light-theme .join-btn {
    background-color: #ffcc00;
    color: #000;
    box-shadow: 0 0 14px #ffcc00;
}

body.light-theme .contact {
    background: rgba(245, 245, 245, 0.95);
    color: #000;
    border-top: 2px solid #5865F2;
    box-shadow: 0 -4px 15px rgba(88,101,242,0.25);
}

body.light-theme .contact a {
    color: #000;
}

body.light-theme .language-flags img {
    filter: drop-shadow(0 0 4px #5865F2);
}

/* MEDIA QUERIES */
@media screen and (max-width: 768px) {
    .banner-wrapper .banner {
        width: 90%;
        max-width: 350px;
        height: auto;
    }

    .title {
        font-size: 1.7rem;
        margin-top: 50px;
    }

    .description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .info-section {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
    }

    .info-card {
        flex: none;
        width: 90%;
        max-width: 320px;
        padding: 18px;
        min-height: 180px;
        margin: 0 auto;
    }

    .join-btn {
        width: 90%;
        max-width: 320px;
        margin: 0 auto 35px auto;
        display: block;
        text-align: center;
    }
}