* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Baloo Bhai 2', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #333;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #f0f0f0;
    color: white;
    padding: 10px 30px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 60px;
    max-width: 400px;
    margin: 0px auto 0;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
}

.Logo {
    display: flex;
    font-size: 1.5rem;
    margin-left: -500px;
    margin-top: 5vh;
}

.fancy2 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(90deg, #ff512f, #dd2476, #1fa2ff, #23d160);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
    font-family: 'Baloo Bhai 2', cursive, sans-serif;
    transition: transform 0.2s;
    display: inline-block;
    margin-top: -3vh;
    margin-right: 1vh;
}

.fancy2:hover {
    transform: scale(1.08) rotate(-2deg);
}

nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    margin: 0;
    background: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 0px;
    margin: 0;
    padding: 0;
    align-items: center;
}

nav ul li {
    margin: 0;
    display: flex;
    align-items: center;
}

nav ul li a {
    color: #3a3a3a;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 8px 17px;
    border-radius: 18px;
    transition: background 0.25s, color 0.25s, box-shadow 0.25s, transform 0.18s;
    box-shadow: 0 0 0 transparent;
    position: relative;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.06);
}

nav ul li a:hover,
nav ul li a:focus {
    background: gray;
    color: #fff;
    box-shadow: 0 2px 16px 0 rgba(31, 162, 255, 0.13);
    transform: translateY(-2px) scale(1.07);
    text-decoration: none;
    outline: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    position: absolute;
    top: 3vh;
    right: -60vh;
    filter: drop-shadow(0 0 10px rgba(26, 188, 156, 0.7));
}

.social-links2 {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-icon {
    color: #ffffff;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

.social-icon:hover {
    color: #fff;
    transform: scale(1.08) rotate(-10deg);
}

.theme-toggle {
    background: #fff;
    color: #333;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: #1fa2ff;
    color: #fff;
    transform: scale(1.08) rotate(-10deg);
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 10vh;
    height: 85vh;
    background-color: #333;
}

.welcome {
    text-align: left;
    color: #fff;
    font-size: 2rem;
    margin-top: 20px;
    margin-left: 23.5vh;
}

.what {
    text-align: left;
    color: #fff;
    font-size: 1rem;
    margin-top: 20px;
    margin-left: 23.5vh;
}

.what span span {
    color: #1fa2ff;
    font-weight: bold;
    font-size: 1.2rem;
}

.altay-fancy {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(90deg, #ff512f, #dd2476, #1fa2ff, #23d160);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
    font-family: 'Baloo Bhai 2', cursive, sans-serif;
    transition: transform 0.2s;
    display: inline-block;
}

.altay-fancy:hover {
    transform: scale(1.08) rotate(-2deg);
}

.see {
    display: inline-block;
    background: linear-gradient(90deg, #ff512f, #dd2476, #1fa2ff, #23d160);
    color: #fff;
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 1px;
    border: none;
    box-shadow: 0 4px 16px rgba(31, 162, 255, 0.15), 0 1.5px 8px rgba(255, 81, 47, 0.1);
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
    margin-left: 23.5vh;
    outline: none;
    position: relative;
    overflow: hidden;
    margin-top: 4vh;
}

.see::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 100%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: 0;
}

.see:hover::after {
    width: 250%;
    height: 600%;
}

.see:hover {
    transform: scale(1.06) translateY(-2px);
    box-shadow: 0 8px 32px rgba(31, 162, 255, 0.18), 0 3px 16px rgba(255, 81, 47, 0.13);
    background: linear-gradient(90deg, #23d160, #1fa2ff, #dd2476, #ff512f);
}

.hero-image-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-right: 4.5vw;
    margin-top: -360px;
    filter: drop-shadow(0 0 10px rgba(26, 188, 156, 0.7));
    pointer-events: none;
    z-index: 1;
}

.hero-image-wrapper img {
    width: 570px;
    height: auto;
    max-width: 100%;
    animation: image-glow 3s ease-in-out infinite alternate;
}

@keyframes image-glow {
    0% {
        filter: drop-shadow(0 0 10px rgba(26, 188, 156, 0.7));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(52, 152, 219, 0.8));
    }
    100% {
        filter: drop-shadow(0 0 15px rgba(155, 89, 182, 0.9));
    }
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: relative;
    width: 100%;
    height: 5vh;
    align-items: center;
    justify-content: center;
}

/* About Section */
.about-section {
    background-color: #1a1a2e;
    padding: 4rem 0;
    color: white;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.about-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 100px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #e94560;
}

.stat-label {
    font-size: 0.9rem;
}

.about-image {
    flex: 1;
    min-width: 300px;
    margin-left: 100px;
    scale: 1.15;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    filter: drop-shadow(0 0 15px rgba(75, 192, 192, 0.6));
    animation: about-glow 3s ease-in-out infinite alternate;
}

@keyframes about-glow {
    0% {
        filter: drop-shadow(0 0 5px rgba(75, 192, 192, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(54, 162, 235, 0.7));
    }
    100% {
        filter: drop-shadow(0 0 10px rgba(153, 102, 255, 0.6));
    }
}

/* Games Section */
.games-section {
    background-color: #21213a;
    padding: 4rem 0;
    color: white;
}

.games-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.games-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 0 0 10px rgba(26, 188, 156, 0.7);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.game-card {
    background: #16213e;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(26, 188, 156, 0.3);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(52, 152, 219, 0.7);
}

.game-image-wrapper {
    height: 200px;
    overflow: hidden;
}

.game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: brightness(0.9);
}

.game-card:hover .game-image {
    transform: scale(1.05);
    filter: brightness(1.1) drop-shadow(0 0 10px rgba(52, 152, 219, 0.5));
}

.game-name {
    padding: 1rem 1rem 0;
    font-size: 1.5rem;
    color: #4cc9f0;
}

.game-desc {
    padding: 0 1rem 1rem;
    color: #b8b8b8;
}

.game-button {
    display: block;
    width: calc(100% - 2rem);
    margin: 0 1rem 1rem;
    padding: 0.7rem;
    background: linear-gradient(45deg, #23d160, #1fa2ff);
    border: none;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(31, 162, 255, 0.5);
}

.game-button:hover {
    background: linear-gradient(45deg, #1fa2ff, #23d160);
    box-shadow: 0 0 20px rgba(31, 162, 255, 0.8);
    transform: translateY(-2px);
}

/* Contact Section */
.contact-section {
    background-color: rgb(29, 29, 42);
    padding: 4rem 0;
    color: white;
    font-family: 'Baloo Bhai 2', sans-serif;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 0 0 10px rgba(26, 188, 156, 0.7);
}

.contact-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #23d160;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    background: linear-gradient(45deg, #23d160, #1fa2ff);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(31, 162, 255, 0.5);
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(31, 162, 255, 0.8);
}

.contact-image-container {
    width: 45%;
    align-self: flex-start;
    position: relative;
}

.contact-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(52, 152, 219, 0.7));
}

.info-card {
    background: rgba(26, 188, 156, 0.1);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border: 1px solid #23d160;
}

.info-card h3 {
    color: #4cc9f0;
    margin-bottom: 1rem;
}

.info-card p {
    margin: 0.8rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-left: -960px;
    margin-top: 40px;
}

.social-icon img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.social-icon:hover img {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px rgba(52, 152, 219, 0.7));
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

#dc {
    pointer-events: none;
    z-index: 1;
    opacity: .5;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    background: none;
    border: none;
    color: #333;
    font-size: 1.8rem;
    cursor: pointer;
    display: none; /* Sadece mobilde gözükecek */
    position: relative;
    width: 30px;
    height: 30px;
}

.hamburger-icon, .close-icon {
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
}

.close-icon {
    font-size: 2.2rem;
    line-height: 0.8;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
        z-index: 1000;
        position: absolute;
        right: 20px;
        top: 10px;
    }
    
    nav ul {
        display: none;
        position: fixed;
        top: 60px; /* Header yüksekliği kadar aşağıda başlasın */
        left: 0;
        width: 100%;
        height: auto; /* Otomatik yükseklik */
        max-height: calc(100vh - 60px); /* Viewport'tan header yüksekliğini çıkar */
        background: #f0f0f0;
        flex-direction: column;
        justify-content: flex-start; /* Üstten başlasın */
        align-items: center;
        z-index: 999;
        padding: 20px 0;
        overflow-y: auto; /* İçerik uzunsa scroll çıksın */
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        width: 100%;
        text-align: center;
    }
    
    nav ul li a {
        font-size: 1.2rem;
        padding: 12px;
        margin: 5px 0;
        width: 80%;
        max-width: 300px;
    }
    
    /* Logo ve header düzenlemeleri */
    header {
        position: relative;
        height: auto;
        min-height: 60px;
    }
    
    .Logo {
        margin-left: 0;
        margin-top: 0;
        font-size: 1.3rem;
    }
    
    .fancy2 {
        font-size: 1.8rem;
        margin-top: 0;
    }
}
/* Responsive Design */
@media (max-width: 1200px) {
    .header-actions {
        right: -40vh;
    }
    
    .hero-image-wrapper {
        margin-top: -300px;
    }
    
    .hero-image-wrapper img {
        width: 450px;
    }
    
    .welcome, .what, .see {
        margin-left: 15vh;
    }
}

@media (max-width: 992px) {
    header {
        max-width: 100%;
        border-radius: 0;
        justify-content: space-between;
        padding: 10px 20px;
    }
    
    .Logo {
        margin-left: 0;
        margin-top: 0;
        font-size: 1.2rem;
    }
    
    .fancy2 {
        font-size: 2rem;
        margin-top: 0;
    }
    
    .header-actions {
        position: static;
        margin-left: auto;
        right: 0;
    }
    
    .container {
        padding: 5vh;
        height: auto;
        text-align: center;
    }
    
    .welcome, .what, .see {
        margin-left: 0;
        text-align: center;
    }
    
    .hero-image-wrapper {
        justify-content: center;
        margin: 30px auto 0;
        max-width: 100%;
    }
    
    .hero-image-wrapper img {
        width: 100%;
        max-width: 500px;
    }
    
    .about-image {
        margin-left: 0;
    }
    
    .social-links {
        margin-left: 0;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    nav ul.show {
        display: flex;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background: #f0f0f0;
        padding: 10px 0;
    }
    
    nav ul li {
        width: 100%;
        text-align: center;
    }
    
    nav ul li a {
        display: block;
        padding: 10px;
        border-radius: 0;
    }
    
    .container {
        padding: 3vh;
    }
    
    .welcome {
        font-size: 1.8rem;
    }
    
    .altay-fancy {
        font-size: 3rem;
    }
    
    .what {
        font-size: 0.9rem;
    }
    
    .about-content, .contact-content {
        flex-direction: column;
    }
    
    .about-image, .contact-image-container {
        width: 100%;
        margin-top: 20px;
    }
    
    .contact-image {
        max-width: 100%;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        min-width: 80px;
    }
}

@media (max-width: 576px) {
    header {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }
    
    .Logo {
        margin-bottom: 10px;
    }
    
    .header-actions {
        margin-top: 10px;
    }
    
    .welcome {
        font-size: 1.5rem;
    }
    
    .altay-fancy {
        font-size: 2.5rem;
    }
    
    .about-title, .games-title, .contact-title {
        font-size: 2rem;
    }
    
    .stat-item {
        min-width: 60px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .game-card {
        max-width: 100%;
    }
    
    .contact-form {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .fancy2 {
        font-size: 1.5rem;
    }
    
    .altay-fancy {
        font-size: 2rem;
    }
    
    .see {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
    }
    
    .social-icon img {
        width: 36px;
        height: 36px;
    }
    
    .theme-toggle {
        width: 34px;
        height: 34px;
    }
    
    .game-name {
        font-size: 1.3rem;
    }
    
    .game-desc {
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 10px 20px;
    }
}

@media (max-height: 480px) and (orientation: landscape) {
    .container {
        height: auto;
        padding: 2vh;
    }
    
    .hero-image-wrapper {
        margin-top: 20px;
    }
    
    .hero-image-wrapper img {
        max-height: 200px;
    }
}/* Light Theme Styles */
.light-theme {
    background-color: #f8f9fa;
    color: #333;
}

.light-theme header {
    background-color: #f8f9fa !important; /* Container ile aynı arkaplan */
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.light-theme nav ul li a {
    color: #495057 !important;
    background: rgba(255, 255, 255, 0.9) !important; /* Beyaz kart rengi */
    border: 1px solid #dee2e6 !important; /* Hafif çerçeve */
}

.light-theme .fancy2,
.light-theme .altay-fancy {
    background: linear-gradient(90deg, #ff6b6b, #cc5de8, #339af0, #20c997);
    -webkit-background-clip: text;
    background-clip: text;
}

.light-theme nav ul li a {
    color: #495057;
    background: rgba(241, 243, 245, 0.8);
}

.light-theme nav ul li a:hover,
.light-theme nav ul li a:focus {
    background: linear-gradient(90deg, #ff6b6b, #cc5de8);
    color: #fff;
}

.light-theme .container {
    background-color: #f8f9fa;
}

.light-theme .welcome,
.light-theme .what {
    color: #495057;
}

.light-theme .what span span {
    color: #339af0;
}

.light-theme .see {
    background: linear-gradient(90deg, #ff6b6b, #cc5de8, #339af0, #20c997);
}

.light-theme .see:hover {
    background: linear-gradient(90deg, #20c997, #339af0, #cc5de8, #ff6b6b);
}

.light-theme .about-section {
    background-color: #e9ecef;
}

.light-theme .games-section {
    background-color: #dee2e6;
}

.light-theme .contact-section {
    background-color: #e9ecef;
}

.light-theme .game-card {
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.light-theme .game-name {
    color: #4263eb;
}

.light-theme .game-desc {
    color: #868e96;
}

.light-theme .game-button {
    background: linear-gradient(45deg, #20c997, #339af0);
}

.light-theme .info-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #74c0fc;
}

.light-theme .form-group input,
.light-theme .form-group textarea {
    background: rgba(255, 255, 255, 0.9);
    border-color: #20c997;
    color: #495057;
}

.light-theme .submit-btn {
    background: linear-gradient(45deg, #20c997, #339af0);
}

.light-theme footer {
    background-color: #343a40;
}