body {
    background-color: #111; /* base color */
    /* subtle grid with intersection dots (scrolls with page) */
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.32) 2px, transparent 3px),
        linear-gradient(to right, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 240px 240px, 240px 240px, 240px 240px;
    background-position: 0 0, 0 0, 0 0;
    /* do NOT use background-attachment: fixed; so it scrolls normally */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Banner görselinin tam olarak görünmesi için */
.bg-white\/10 {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-black\/50 {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-black\/50 img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 640px) {
    canvas#overlay {
        display: none;
    }
}

@import url("https://fonts.cdnfonts.com/css/thegoodmonolith");


.app-header,
.layout-container,
.version-table,
.version-item {
    font-family: "TheGoodMonolith", monospace;
    color: #f0f0f0;
}

#spiral {
    width: 400px;
    height: 400px;
    margin: 40px 0;
}

.layout-container {
    width: 90%;
    max-width: 900px;
    margin: 20px auto 60px;
    border: 1px solid #fff;
}

.layout-header {
    padding: 20px 30px;
    border-bottom: 1px solid #fff;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* added for right-side current version */
}

.layout-title {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
}

.layout-progress {
    padding: 20px 30px;
    border-bottom: 1px solid #fff;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.shortcut-info {
    font-size: 12px;
    opacity: 0.7;
}

.layout-services {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.service-item {
    padding: 20px 30px;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    display: flex;
    flex-direction: column;
}

.service-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #FD6023;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-item h3::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #FD6023;
    box-shadow: 0 0 8px #FD6023;
}

.service-item p {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
}

.service-item code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 10px;
}

.service-item:nth-child(3n) {
    border-right: none;
}

.service-item:nth-last-child(-n + 3) {
    border-bottom: none;
}

/* Code formatting */
pre {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    overflow-x: auto;
    font-size: 10px;
    margin: 10px 0;
}

/* Tweakpane container */
.tweakpane-container {
    position: fixed;
    top: 20px;
    right: 20px;
    transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
    .layout-services {
        grid-template-columns: 1fr 1fr;
    }

    .service-item:nth-child(3n) {
        border-right: 1px solid #fff;
    }

    .service-item:nth-child(2n) {
        border-right: none;
    }

    .service-item:nth-last-child(-n + 3) {
        border-bottom: 1px solid #fff;
    }

    .service-item:nth-last-child(-n + 2) {
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    .layout-services {
        grid-template-columns: 1fr;
    }

    .service-item {
        border-right: none !important;
    }

    .service-item:not(:last-child) {
        border-bottom: 1px solid #fff !important;
    }
}

/* App header for desktop app context */
.app-header {
    width: 80%;
    max-width: 900px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px auto 0;
}

.app-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid #fff;
    border-radius: 10px;
    font-size: 22px;
}

.app-info .app-title {
    font-size: 20px;
    letter-spacing: 0.5px;
}

.app-info .app-subtitle {
    font-size: 12px;
    opacity: 0.8;
}

.current-version {
    font-size: 12px;
    opacity: 0.9;
}

/* Version table */
.version-table {
    display: flex;
    flex-direction: column;
}

.version-item {
    padding: 20px 30px;
    border-bottom: 1px solid #fff;
}

.version-item:last-child {
    border-bottom: none;
}

.version-item.latest {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
}

.version-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.version-number {
    font-size: 18px;
    font-weight: 700;
}

.version-date {
    font-size: 12px;
    opacity: 0.8;
}

.version-badge {
    font-size: 10px;
    padding: 4px 8px;
    border: 1px solid #fff;
    border-radius: 999px;
}

.latest-badge {
    background: #FD6523;
    border-color: #FD6023;
}

.initial-badge {
    background: rgba(255, 255, 255, 0.08);
}

.version-features h4 {
    font-size: 12px;
    margin: 10px 0 6px;
}

.version-features ul {
    margin-left: 16px;
    list-style: square;
}

.feature-list {
    margin: 12px 0 0 16px;
    list-style: square;
}

.feature-list li {
    font-size: 12px;
    line-height: 1.5;
    margin: 3px 0;
}

.version-features li {
    font-size: 12px;
    line-height: 1.5;
    margin: 3px 0;
}

/* Download section */
.download-section {
    padding: 20px 30px 30px;
    border-top: 1px solid #fff;
}

.download-info h3 {
    font-size: 14px;
}

.download-info p {
    font-size: 12px;
    opacity: 0.8;
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.download-btn {
    background: transparent;
    color: inherit;
    border: 1px solid #fff;
    padding: 10px 14px;
    font-family: inherit;
    font-size: 12px;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.download-btn .btn-icon {
    margin-right: 6px;
}

.download-btn.primary {
    background: #ffffff10;
}

.download-btn:hover {
    transform: translateY(-1px);
    background: #ffffff14;
}

.download-btn.secondary {
    opacity: 0.9;
}

@media (max-width: 640px) {
    .version-header {
        grid-template-columns: 1fr auto;
        grid-auto-flow: row;
    }

    .version-number {
        font-size: 16px;
    }

    .current-version {
        display: none;
    }

    .app-header {
        width: 90%;
    }
}

.app-icon img,
.app-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: inherit;
}

/* Animated brand word */
.brand-animated {
  position: relative;
  display: inline-block;
  background: linear-gradient(120deg, #FD6023 0%, #FD6023 40%, #ffffff 50%, #FD6023 60%, #FD6023 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent; /* metin rengi gradyan ile veriliyor (#FD6023 ağırlıklı) */
  animation: brandSheen 4s linear infinite, brandGlow 3.2s ease-in-out infinite;
  letter-spacing: 0.5px;
}

@keyframes brandSheen {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes brandGlow {
  0%, 100% {
    text-shadow: 0 0 6px rgba(253, 96, 35, 0.35), 0 0 12px rgba(253, 96, 35, 0.25);
  }
  50% {
    text-shadow: 0 0 12px rgba(253, 96, 35, 0.55), 0 0 24px rgba(253, 96, 35, 0.40);
  }
}

/* Hareketten rahatsız olan kullanıcılar için */
@media (prefers-reduced-motion: reduce) {
  .brand-animated {
    animation: none;
    background: none;
    color: #FD6023;
    text-shadow: none;
  }
}