* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    background: #0a0a0a;
    color: #98c379;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Animated terminal background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(152, 195, 121, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(106, 159, 90, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(171, 214, 153, 0.05) 0%, transparent 50%);
    animation: backgroundPulse 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

/* Matrix-like falling characters */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 98px,
            rgba(152, 195, 121, 0.03) 100px
        );
    animation: matrixRain 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes matrixRain {
    0% { transform: translateY(-100vh); }
    100% { transform: translateY(100vh); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}

#background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 2px solid #475569;
    position: relative;
}

h1 {
    font-size: 2.5em;
    text-shadow: 
        0 0 20px rgba(152, 195, 121, 0.5),
        0 0 40px rgba(152, 195, 121, 0.3);
    animation: terminalFlicker 3s ease-in-out infinite;
    letter-spacing: 3px;
    position: relative;
}

h1::before {
    content: '> ';
    color: #98c379;
    /*animation: cursorBlink 1s infinite;*/
}

h1::after {
    content: '_';
    color: #98c379;
    animation: cursorBlink 1s infinite;
}

@keyframes terminalFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.app-card {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid #475569;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(148, 163, 184, 0.1);
    backdrop-filter: blur(10px);
}

.app-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, #98c379, #6a9f5a, #abd699);
    border-radius: 8px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.app-card:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(152, 195, 121, 0.15),
        inset 0 1px 0 rgba(148, 163, 184, 0.2);
    border-color: #98c379;
}

.app-card:hover::before {
    opacity: 0.3;
}

.app-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: transparent; /* Arka planı temizle */
}

.app-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmi alana sığdır */
    border-radius: 12px; /* Köşeleri yuvarla */
}

.app-logo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: logoShine 4s infinite;
}

@keyframes logoShine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.app-name {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(152, 195, 121, 0.5);
    letter-spacing: 1px;
}

.platform-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.platform-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid #475569;
    border-radius: 6px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.platform-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(152, 195, 121, 0.1), transparent);
    transition: left 0.5s ease;
}

.platform-link:hover {
    background: rgba(152, 195, 121, 0.1);
    border-color: #98c379;
    color: #98c379;
    box-shadow: 0 0 10px rgba(152, 195, 121, 0.2);
    transform: scale(1.05);
}

.platform-link:hover::before {
    left: 100%;
}

.platform-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    h1 {
        font-size: 2em;
    }

    .app-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .app-card {
        padding: 20px;
    }

    .app-logo {
        width: 70px;
        height: 70px;
        font-size: 1.8em;
    }

    .app-name {
        font-size: 1.2em;
    }

    .platform-links {
        gap: 10px;
    }

    .platform-link {
        padding: 6px 10px;
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .app-grid {
        grid-template-columns: 1fr;
    }
    
    .platform-links {
        flex-direction: column;
        align-items: center;
    }
    
    .platform-link {
        width: 120px;
        justify-content: center;
    }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f172a;
}

::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Terminal cursor effect */
@keyframes terminalCursor {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Add floating particles */
.container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(2px 2px at 20px 30px, rgba(152, 195, 121, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(152, 195, 121, 0.3), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(171, 214, 153, 0.3), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(106, 159, 90, 0.3), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(152, 195, 121, 0.3), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: floatingParticles 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes floatingParticles {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-200px); }
}