@keyframes gpu-warm {
    from { transform: scale(1.05) translate3d(0, 0, 0); }
    to   { transform: scale(1.05) translate3d(0, 0, 0.0001px); }
}

@font-face {
    font-family: 'Determination Sans';
    src: url('fonts/DeterminationSans.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

html {
    background-color: #1a0a0a;
}

body {
    font-family: 'Determination Sans', 'Segoe UI', sans-serif;
    color: #e0e0e0;
    min-height: 100vh;
    position: relative;
    z-index: 0;
}

body::before {
    content: '';
    position: fixed;
    inset: -20px;
    background-image: url('images/archive1.webp');
    background-size: cover;
    background-position: center;
    filter: blur(6px) brightness(0.35);
    z-index: -1;
    backface-visibility: hidden;
    animation: gpu-warm 1s linear infinite alternate;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem 1.25rem 1.25rem;
    background-color: rgba(20, 10, 10, 0.75);
    backdrop-filter: blur(4px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 2.4rem;
    font-weight: bold;
    color: #ff4500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #ff6a33;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1.35rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ff4500;
}

.hero {
    text-align: center;
    padding: 4rem 2rem;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #ff4500 0%, #ff6a33 25%, #ff8c00 50%, #ff6a33 75%, #ff4500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.75rem;
    color: #aaa;
    margin-bottom: 0.5rem;
}

.server-address {
    font-size: 1.4rem;
    color: #aaa;
    margin-bottom: 3rem;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.carousel-wrapper {
    overflow: hidden;
    flex: 1;
    transform: translateZ(0);
}

.carousel-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: 12px;
}

.carousel-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background-color: rgba(255, 69, 0, 0.8);
    transform: scale(1.1);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.carousel-dot:hover {
    background-color: rgba(255, 69, 0, 0.6);
}

.carousel-dot.active {
    background-color: #ff4500;
    transform: scale(1.2);
}

.about-section {
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
}

.about-card {
    background-color: rgba(20, 10, 10, 0.75);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 69, 0, 0.15);
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 800px;
}

.section-title {
    font-size: 2rem;
    color: #ff4500;
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-card p {
    color: #aaa;
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: center;
}

.about-card p:last-child {
    margin-bottom: 0;
}

.features-section {
    padding: 2rem 2rem 4rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-card {
    background-color: rgba(20, 10, 10, 0.75);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 69, 0, 0.15);
    border-radius: 12px;
    padding: 2rem;
    width: 320px;
    text-align: center;
    transition: border-color 0.3s ease, transform 0.3s ease;
    will-change: transform;
}

.feature-card:hover {
    border-color: rgba(255, 69, 0, 0.4);
    transform: translateY(-5px);
}

.feature-title {
    font-size: 1.35rem;
    color: #ff4500;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #aaa;
    font-size: 1.35rem;
    line-height: 1.6;
}

.footer {
    text-align: center;
    padding: 2.5rem;
    background-color: rgba(20, 10, 10, 0.75);
    backdrop-filter: blur(4px);
    border-top: 1px solid rgba(255, 69, 0, 0.1);
}

.footer p {
    color: #888;
    font-size: 1.5rem;
}

.footer .heart {
    color: #ff0000;
}

.footer a {
    color: #ff4500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #ff6a33;
}

.page-content {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.page-title {
    font-size: 2.5rem;
    background: linear-gradient(90deg, #ff4500 0%, #ff6a33 25%, #ff8c00 50%, #ff6a33 75%, #ff4500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 2rem;
}

.content-card {
    background-color: rgba(20, 10, 10, 0.75);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 69, 0, 0.15);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.content-card h3 {
    color: #ff4500;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.content-card p {
    color: #ccc;
    font-size: 1.6rem;
    line-height: 1.8;
}

.owners-section {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.owners-card {
    background-color: rgba(20, 10, 10, 0.75);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 69, 0, 0.15);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.owners-card p {
    color: #ccc;
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.owners-names {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.owner-name {
    color: #ff4500;
    font-size: 1.5rem;
    font-weight: bold;
}

.faq-section {
    margin-top: 2rem;
}

.faq-container {
    background-color: rgba(20, 10, 10, 0.75);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 69, 0, 0.15);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background-color: rgba(255, 69, 0, 0.04);
    border: 1px solid rgba(255, 69, 0, 0.12);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 69, 0, 0.3);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: #e0e0e0;
    font-family: 'Determination Sans', sans-serif;
    font-size: 1.3rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(255, 69, 0, 0.08);
}

.faq-icon {
    color: #ff4500;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: #aaa;
    font-size: 1.2rem;
    line-height: 1.8;
    border-top: 1px solid rgba(255, 69, 0, 0.1);
    padding-top: 1rem;
}

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

.resources-section {
    background-color: rgba(20, 10, 10, 0.75);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 69, 0, 0.15);
    border-radius: 12px;
    padding: 2rem;
}

.resources-section h2 {
    color: #ff4500;
    font-size: 1.7rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 69, 0, 0.2);
}

.resource-list {
    list-style: none;
}

.resource-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    line-height: 1.6;
    font-size: 1.2rem;
}

.resource-list li:last-child {
    border-bottom: none;
}

.resource-list a {
    color: #ff6a33;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.resource-list a:hover {
    color: #ff8c00;
    text-decoration: underline;
}

.resource-list span {
    color: #aaa;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 1.5rem;
    }

    .logo {
        font-size: 1.75rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 1.15rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .carousel-container {
        max-width: 100%;
        padding: 0 0.5rem;
    }

    .carousel-slide {
        height: 300px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .features-section {
        flex-direction: column;
        align-items: center;
    }

    .feature-card {
        width: 100%;
        max-width: 400px;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .footer p {
        font-size: 1.3rem;
    }
}
