/* ==========================================================================
   ScrapNode - Common Styles
   Shared CSS across all pages
   ========================================================================== */

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */

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

body {
    font-family: 'Inter', sans-serif;
    background: #0F1419;
    color: #ECF0F1;
    overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   Background Animation & Grid Overlay
   -------------------------------------------------------------------------- */

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15;
    background:
        radial-gradient(circle at 20% 50%, rgba(230, 126, 34, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(46, 204, 113, 0.1) 0%, transparent 50%);
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(52, 73, 94, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(52, 73, 94, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
}

.content {
    position: relative;
    z-index: 1;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

nav {
    position: sticky;
    top: 0;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(52, 73, 94, 0.3);
    padding: 20px 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-nav {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-icon-nav {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #E67E22, #D35400);
    border-radius: 50%;
    position: relative;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-icon-nav::before {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background: #0F1419;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.logo-text-nav {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo-text-nav .scrap {
    color: #E67E22;
}

.logo-text-nav .node {
    color: #ECF0F1;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    color: #BDC3C7;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #E67E22;
}

/* --------------------------------------------------------------------------
   Social Icons (Nav)
   -------------------------------------------------------------------------- */

.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(52, 73, 94, 0.5);
    border-radius: 50%;
    color: #ECF0F1;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.social-icon:hover {
    background: #E67E22;
    transform: translateY(-2px);
}

.social-icon.tiktok-icon:hover {
    background: #000000;
}

/* --------------------------------------------------------------------------
   Nav Auth Button
   -------------------------------------------------------------------------- */

.nav-auth-btn {
    background: linear-gradient(135deg, #E67E22, #D35400);
    color: white !important;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.nav-auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.5);
}

/* --------------------------------------------------------------------------
   Page Header
   -------------------------------------------------------------------------- */

.page-header {
    max-width: 1200px;
    margin: 80px auto 60px;
    padding: 0 40px;
    text-align: center;
}

.page-header h1 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.page-header h1 .gradient-text {
    background: linear-gradient(135deg, #E67E22 0%, #F39C12 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 1.3rem;
    color: #95A5A6;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

footer {
    background: rgba(15, 20, 25, 0.95);
    border-top: 1px solid rgba(52, 73, 94, 0.3);
    padding: 60px 40px 30px;
    margin-top: 150px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #E67E22;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #95A5A6;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #E67E22;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(52, 73, 94, 0.3);
    text-align: center;
    color: #7F8C8D;
}

/* --------------------------------------------------------------------------
   Mobile Menu Button
   -------------------------------------------------------------------------- */

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #ECF0F1;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   Language Switcher
   -------------------------------------------------------------------------- */

.lang-switcher {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 5px;
    background: rgba(15, 20, 25, 0.95);
    border: 1px solid rgba(230, 126, 34, 0.3);
    border-radius: 25px;
    padding: 5px;
    backdrop-filter: blur(10px);
}

.lang-btn {
    padding: 8px 15px;
    border: none;
    background: transparent;
    color: #95A5A6;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-btn:hover {
    color: #ECF0F1;
}

.lang-btn.active {
    background: linear-gradient(135deg, #E67E22, #D35400);
    color: white;
}

.lang-btn img {
    width: 18px;
    height: 12px;
    border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Responsive - Common
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .lang-switcher {
        top: 80px;
        right: 10px;
    }

    .lang-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}
