/* ============================================
   GENEL AYARLAR VE DEĞİŞKENLER
   ============================================ */
:root {
    --color-white: #FFFFFF;
    --color-ice-blue: #B8E6F0;
    --color-deep-navy: #0A1A2E;
    --color-dark-blue: #162B4D;
    --color-red: #C84B31;
    --color-brown: #8B4513;
    --color-light-gray: #F5F5F5;
    --color-gray: #CCCCCC;
    --gradient-ice: linear-gradient(135deg, #B8E6F0 0%, #7EC8E3 100%);
    --gradient-dark: linear-gradient(135deg, #0A1A2E 0%, #162B4D 100%);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-strong: 0 12px 40px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--color-deep-navy);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-medium);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-deep-navy);
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--color-deep-navy);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-red);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--color-deep-navy);
    transition: var(--transition);
    border-radius: 2px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-dark);
    overflow: hidden;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(184, 230, 240, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(200, 75, 49, 0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    width: 100%;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { text-shadow: 0 4px 20px rgba(184, 230, 240, 0.3); }
    50% { text-shadow: 0 4px 30px rgba(184, 230, 240, 0.6); }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--color-ice-blue);
}

.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-image-placeholder {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-preview {
    position: relative;
    width: 400px;
    height: 200px;
    max-width: 90%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(184, 230, 240, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ice-block {
    position: absolute;
    width: 80%;
    height: 60%;
    background: linear-gradient(135deg, rgba(184, 230, 240, 0.3) 0%, rgba(126, 200, 227, 0.2) 100%);
    border-radius: 10px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

.pawn {
    position: absolute;
    width: 30px;
    height: 40px;
    border-radius: 50% 50% 40% 40%;
    animation: bounce 2s ease-in-out infinite;
}

.blue-pawn {
    background: var(--color-ice-blue);
    left: 30%;
    box-shadow: 0 4px 10px rgba(184, 230, 240, 0.5);
}

.red-pawn {
    background: var(--color-red);
    right: 30%;
    animation-delay: 0.5s;
    box-shadow: 0 4px 10px rgba(200, 75, 49, 0.5);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--color-red);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(200, 75, 49, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(200, 75, 49, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-deep-navy);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s ease-in-out infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--color-white);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--color-white);
    border-radius: 2px;
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes scrollWheel {
    0% { opacity: 1; top: 10px; }
    100% { opacity: 0; top: 30px; }
}

/* ============================================
   FADE IN ANIMATIONS
   ============================================ */
.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

.fade-in-delay-3 {
    animation: fadeIn 1s ease-out 0.9s both;
}

.fade-in-delay-4 {
    animation: fadeIn 1s ease-out 1.2s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   PHILOSOPHY SECTION
   ============================================ */
.philosophy-section {
    padding: 100px 0;
    background: var(--color-white);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 4rem;
    color: var(--color-deep-navy);
    font-weight: 700;
}

.philosophy-content {
    max-width: 900px;
    margin: 0 auto;
}

.philosophy-text {
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--color-dark-blue);
}

.card-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.card-type-item {
    background: var(--color-light-gray);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.card-type-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-ice-blue);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card-type-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-deep-navy);
}

.card-slogan {
    font-weight: 600;
    color: var(--color-red);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.card-description {
    color: var(--color-dark-blue);
    line-height: 1.6;
}

.replayability {
    background: var(--gradient-ice);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    color: var(--color-deep-navy);
}

.replayability h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.replayability p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ============================================
   COMPONENTS SECTION
   ============================================ */
.components-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-light-gray) 100%);
}

.components-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.component-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border-top: 4px solid var(--color-ice-blue);
}

.component-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.component-card.full-width {
    grid-column: 1 / -1;
}

.component-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.component-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-deep-navy);
}

.component-specs p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: var(--color-dark-blue);
}

.cards-table {
    margin-top: 1.5rem;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-light-gray);
    border-radius: 10px;
    overflow: hidden;
}

thead {
    background: var(--color-deep-navy);
    color: var(--color-white);
}

th, td {
    padding: 1rem;
    text-align: left;
}

tbody tr {
    border-bottom: 1px solid var(--color-gray);
    transition: var(--transition);
}

tbody tr:hover {
    background: rgba(184, 230, 240, 0.2);
}

tbody tr:last-child {
    border-bottom: none;
}

.eco-badge {
    background: var(--gradient-ice);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-top: 3rem;
    font-size: 1.1rem;
    color: var(--color-deep-navy);
}

/* ============================================
   HOW TO PLAY SECTION
   ============================================ */
.how-to-play-section {
    padding: 100px 0;
    background: var(--color-white);
}

.rules-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--color-light-gray);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border: 2px solid transparent;
    transition: var(--transition);
}

.accordion-item.active {
    border-color: var(--color-ice-blue);
    box-shadow: var(--shadow-soft);
}

.accordion-header {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
    user-select: none;
}

.accordion-header:hover {
    background: rgba(184, 230, 240, 0.2);
}

.step-number {
    background: var(--color-deep-navy);
    color: var(--color-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.accordion-header h3 {
    flex: 1;
    font-size: 1.3rem;
    color: var(--color-deep-navy);
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-deep-navy);
    transition: var(--transition);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 2rem;
}

.accordion-item.active .accordion-content {
    max-height: 2000px;
    padding: 0 2rem 2rem 2rem;
}

.accordion-content ol,
.accordion-content ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.accordion-content li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: var(--color-dark-blue);
}

.card-details {
    margin-top: 1.5rem;
}

.card-detail-item {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--color-ice-blue);
}

.card-detail-item.highlight {
    border-left-color: var(--color-red);
    background: linear-gradient(135deg, rgba(200, 75, 49, 0.05) 0%, rgba(200, 75, 49, 0.02) 100%);
}

.card-detail-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--color-deep-navy);
}

.card-detail-item p {
    line-height: 1.6;
    color: var(--color-dark-blue);
}

.win-lose {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.win-lose-item {
    padding: 1.5rem;
    border-radius: 10px;
    background: var(--color-white);
}

.win-lose-item.lose {
    border-left: 4px solid var(--color-red);
}

.win-lose-item.win {
    border-left: 4px solid #4CAF50;
}

.win-lose-item h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--color-deep-navy);
}

.win-lose-item ul {
    margin-left: 1.5rem;
}

.win-lose-item li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--color-light-gray) 0%, var(--color-white) 100%);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: 100px 0;
    background: var(--gradient-dark);
    color: var(--color-white);
}

.contact-section .section-title {
    color: var(--color-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 15px;
    border: 2px solid rgba(184, 230, 240, 0.3);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-white);
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-ice-blue);
    background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    display: none;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.3);
    border: 2px solid #4CAF50;
    display: block;
}

.form-message.error {
    background: rgba(200, 75, 49, 0.3);
    border: 2px solid var(--color-red);
    display: block;
}

.social-links {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 15px;
    border: 2px solid rgba(184, 230, 240, 0.3);
    height: fit-content;
}

.social-links h3 {
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-icon {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-decoration: none;
    color: var(--color-white);
    transition: var(--transition);
    border: 2px solid transparent;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--color-ice-blue);
    transform: translateX(5px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-deep-navy);
    color: var(--color-white);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.footer-brand p {
    opacity: 0.8;
}

.footer-links h4,
.footer-info h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--color-white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--color-ice-blue);
}

.footer-info p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--color-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-medium);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .card-types {
        grid-template-columns: 1fr;
    }

    .components-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .win-lose {
        grid-template-columns: 1fr;
    }

    .game-preview {
        width: 90%;
        height: 150px;
    }

    table {
        font-size: 0.9rem;
    }

    th, td {
        padding: 0.8rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .accordion-header {
        padding: 1rem 1.5rem;
    }

    .accordion-header h3 {
        font-size: 1.1rem;
    }

    .contact-form-container,
    .social-links {
        padding: 1.5rem;
    }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-red);
    color: var(--color-white);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(200, 75, 49, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(200, 75, 49, 0.6);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

