/* --- 1. FONT TANIMLAMALARI --- */
@font-face {
    font-family: 'Aka-AcidGRPathetic';
    src: url('fonts/Aka-AcidGRPathetic.ttf.woff') format('woff'),
         url('fonts/Aka-AcidGRPathetic.ttf.svg#Aka-AcidGRPathetic') format('svg'),
         url('fonts/Aka-AcidGRPathetic.ttf.eot'),
         url('fonts/Aka-AcidGRPathetic.ttf.eot?#iefix') format('embedded-opentype'); 
    font-weight: normal; font-style: normal;
}

@font-face {
    font-family: 'ProvidenceSans';
    src: url('fonts/ProvidenceSansOffcW00Bold.ttf') format('truetype');
    font-weight: bold; font-style: normal;
}

@font-face {
    font-family: 'MarvinRound';
    src: url('fonts/Marvin-Round.ttf') format('truetype');
    font-weight: normal; font-style: normal;
}

/* --- 2. TEMEL AYARLAR & DEĞİŞKENLER --- */
:root {
    --main-blue: #1581bf;
    --accent-orange: #ff5a36;
    --accent-yellow: #ffcc00;
    --bg-white: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.96);
    --title-font: 'MarvinRound', 'Aka-AcidGRPathetic', sans-serif;
    --body-font: 'ProvidenceSans', sans-serif;
    --funky-font: 'Aka-AcidGRPathetic', sans-serif;
}

body {
    background-color: var(--bg-white);
    background-image: url('images/clipart1.gif'); 
    background-repeat: repeat;
    color: var(--main-blue);
    font-family: var(--body-font);
    margin: 0;
    padding: 15px;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--title-font);
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.5px;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    color: var(--main-blue);
    position: relative;
    display: inline-block;
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
}

a {
    color: var(--main-blue);
    font-weight: bold;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: all 0.2s ease-in-out;
}

a:hover {
    color: var(--accent-orange);
    text-shadow: 1px 1px 0px rgba(255, 90, 54, 0.2);
}

/* --- 3. LAYOUT --- */
.wrapper {
    max-width: 960px;
    margin: 20px auto;
    border: 4px solid var(--main-blue);
    box-shadow: 8px 8px 0px var(--main-blue);
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    border-bottom: 4px solid var(--main-blue);
    background: var(--bg-white);
    padding: 30px 20px;
    text-align: center;
    position: relative;
}

.header-logo {
    max-width: 100%;
    height: auto;
    max-height: 140px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.02);
}

/* Kayan Yazı Banner */
.marquee-container {
    background: var(--main-blue);
    color: var(--bg-white);
    padding: 6px 0;
    font-family: var(--funky-font);
    font-size: 0.9rem;
    overflow: hidden;
    white-space: nowrap;
}

.main-container {
    display: flex;
    min-height: 500px;
}

/* Sidebar */
.sidebar {
    width: 200px;
    border-right: 4px solid var(--main-blue);
    background: #f0faff;
    padding: 30px 20px;
    flex-shrink: 0;
}

.sidebar h3 {
    font-family: var(--funky-font);
    font-size: 1.1rem;
    border-bottom: 2px dashed var(--main-blue);
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.sidebar ul {
    list-style: '✦ ';
    padding-left: 15px;
    margin: 0 0 30px 0;
}

.sidebar li {
    margin-bottom: 12px;
}

.sidebar a {
    text-decoration: none;
}

.sidebar a:hover {
    text-decoration: underline;
}

.contact-box {
    padding: 12px;
    border: 2px dashed var(--main-blue);
    border-radius: 10px;
    background: var(--bg-white);
    font-size: 0.85rem;
    word-break: break-all;
    text-align: center;
}

.contact-box strong {
    display: block;
    margin-bottom: 5px;
}

/* Content Area */
.content {
    flex-grow: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Section Styling */
.section {
    padding-bottom: 30px;
    border-bottom: 3px dashed rgba(21, 129, 191, 0.2);
}

.section:last-child {
    border-bottom: none;
}

.section-title {
    margin-bottom: 20px;
    font-family: var(--title-font);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-orange);
    margin-top: 8px;
    border-radius: 2px;
}

/* Hero Section */
.hero-announcement {
    text-align: center;
    background: linear-gradient(135deg, #e1f5fe, #fff);
    border: 3px solid var(--main-blue);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 10px;
    box-shadow: 4px 4px 0px var(--main-blue);
}

.hero-announcement h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #dc81be;
    text-shadow: 2px 2px 0 var(--main-blue);
    animation: bounce 2s infinite ease-in-out;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.game-card {
    background: var(--bg-white);
    border: 3px solid var(--main-blue);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 4px 4px 0 var(--main-blue);
    transition: all 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.game-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 8px 8px 0 var(--main-blue);
}

.game-card h4 {
    margin-top: 0;
    font-family: var(--title-font);
    font-size: 1.25rem;
    color: var(--main-blue);
}

.game-card p {
    font-size: 0.9rem;
    margin: 10px 0 20px 0;
    color: #444;
}

.game-btn {
    display: inline-block;
    background: var(--main-blue);
    color: var(--bg-white) !important;
    text-align: center;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    border: 2px solid var(--main-blue);
    transition: all 0.2s ease-in-out;
}

.game-btn:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 90, 54, 0.3);
}

/* Team Section */
.team-section {
    background: #fbfbfb;
    border: 3px solid var(--main-blue);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 4px 4px 0 var(--main-blue);
}

.team-image-container {
    width: 100%;
    margin-bottom: 25px;
    border: 3px solid var(--main-blue);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(21, 129, 191, 0.15);
}

.team-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.team-image:hover {
    transform: scale(1.03);
}

.team-bios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.bio-card {
    background: var(--bg-white);
    border: 2px dashed rgba(21, 129, 191, 0.4);
    border-radius: 12px;
    padding: 15px;
    transition: all 0.2s ease-in-out;
}

.bio-card:hover {
    border-color: var(--accent-orange);
    background: #fffefb;
}

.bio-card h4 {
    font-family: var(--title-font);
    font-size: 1.15rem;
    margin: 0 0 5px 0;
    color: var(--main-blue);
}

.bio-card p {
    font-size: 0.85rem;
    margin: 0 0 10px 0;
    color: #555;
    line-height: 1.5;
}

.bio-card a {
    font-size: 0.8rem;
    color: var(--main-blue);
}

/* Footer stamp decoration */
.footer-stamp {
    max-width: 60px;
    height: auto;
    margin-bottom: 10px;
    animation: rotate 12s infinite linear;
}

/* Animations */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- 4. RESPONSIVE --- */
@media (max-width: 768px) {
    body {
        padding: 5px;
    }
    .wrapper {
        border-radius: 10px;
        margin: 5px;
    }
    .main-container {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 4px solid var(--main-blue);
        box-sizing: border-box;
        padding: 20px;
    }
    .sidebar ul {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        list-style: none;
        padding-left: 0;
        margin-bottom: 20px;
    }
    .sidebar li {
        margin-bottom: 0;
    }
    .sidebar li::before {
        content: '✦ ';
    }
    .content {
        padding: 20px;
        gap: 30px;
    }
}