* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #121212;
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 110px 0 0 0;

}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    background: transparent;
    box-shadow: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 1000;
    height: 110px;
    border-bottom: 1px solid transparent;
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0 40px;
    gap: 16px;
    box-sizing: border-box;
}

.logo {
    flex: 1;
    display: flex;
    align-items: center;
}

.logo-img {
    max-width: 220px;
    max-height: 84px;
    height: auto;
    transition: max-height 0.3s ease;
    border-radius: 0;
    box-shadow: none;
}

.page-title {
    flex: 2;
    text-align: center;
    min-width: 0;
}

.page-title h1 {
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    margin: 0;
    line-height: 1;
}

.auth-links {
    flex: 1;
    text-align: right;
    min-width: 170px;
}

.auth-links a {
    text-decoration: none;
    color: #f44336;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease, background-color 0.3s ease;
    display: inline-block;
    padding: 10px 14px;
    border: 1px solid #f44336;
    border-radius: 6px;
}

.auth-links a:hover {
    color: #fff;
    background-color: rgba(244, 67, 54, 0.2);
}

header nav ul {
    list-style: none;
    padding: 0;
}

header nav ul li {
    display: inline-block;
    margin: 0 20px;
}

header nav ul li a {
    text-decoration: none;
    color: #f44336;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #fff;
}

header.shrunken {
    padding: 0;
    background-color: #111;
    background: linear-gradient(to right, #000, rgba(0, 0, 0, 0.9));
    height: 74px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(244, 67, 54, 0.25);
}

header.shrunken .logo-img {
    max-height: 52px;
}

header.shrunken .page-title h1 {
    font-size: 1.5rem;
}

main {
    flex: 1;
    display: block;
    margin: 0;
    padding: 30px 0 40px;
}

h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #f44336;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2,
h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

button {
    background-color: #f44336;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #d32f2f;
}

/* Ultra Modern Footer Styles */
.modern-footer {
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    color: #fff;
    width: 100%;
    overflow: hidden;
    margin-top: auto;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, 
        #f44336 0%, 
        #ff5722 25%, 
        #f44336 50%, 
        #e91e63 75%, 
        #f44336 100%);
    background-size: 200% 100%;
    animation: waveGradient 8s ease infinite;
}

@keyframes waveGradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.footer-content {
    width: min(100%, 1240px);
    margin: 0 auto;
    padding: 60px 40px 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    position: relative;
    box-sizing: border-box;
}

.footer-section {
    position: relative;
    z-index: 1;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo-link {
    display: inline-flex;
    width: fit-content;
    align-items: center;
}

.footer-logo-img {
    display: block;
    width: 210px;
    height: 96px;
    object-fit: contain;
    object-position: left center;
    border-radius: 0;
    box-shadow: none;
}

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

.footer-location {
    margin: 2px 0 0;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.footer-section h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 2px;
    margin: 0 0 20px 0;
    color: #f44336;
    text-transform: uppercase;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    position: relative;
    padding-left: 20px;
}

.footer-links a::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #f44336;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(244, 67, 54, 0.15);
    padding: 25px 40px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.footer-credits {
    width: min(100%, 1160px);
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.footer-copyright {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px;
    flex: 1;
    text-align: left;
}

.footer-dev-credit {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: right;
}

.footer-dev-credit span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.dev-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.dev-logo-viewport {
    display: block;
    width: 172px;
    height: 52px;
    overflow: hidden;
}

.dev-logo {
    display: block;
    width: 172px;
    max-width: none;
    max-height: none;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    filter: brightness(0.95);
    transform: translateY(-36px);
    transition: all 0.3s ease;
}

.dev-logo-link:hover .dev-logo {
    filter: brightness(1.1) drop-shadow(0 0 8px rgba(244, 67, 54, 0.4));
    transform: translateY(-36px) scale(1.04);
}

@media (max-width: 768px) {
    .footer-credits {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-copyright {
        text-align: center;
    }
    
    .footer-dev-credit {
        justify-content: center;
    }
}

/* Responsive Footer */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        padding: 50px 20px 35px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .footer-logo-link {
        margin: 0 auto;
    }
}

@media (max-width: 1024px) {
    .header-nav {
        padding: 0 24px;
    }
    
    .footer-bottom {
        padding: 25px 24px;
    }
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        padding: 50px 24px 35px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .footer-logo-link {
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .header-nav {
        padding: 0 16px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 40px 16px 30px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-logo-img {
        width: 190px;
        height: 86px;
    }
    
    .footer-links ul {
        align-items: center;
    }
    
    .footer-copyright {
        font-size: 0.8rem;
    }
    
    .footer-bottom {
        padding: 20px 16px;
    }
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

a {
    color: #f44336;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #fff;
}


.container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
}

@media (max-width: 900px) {
    body {
        padding-top: 90px;
    }

    header {
        height: 90px;
        padding: 0 14px;
    }

    header.shrunken {
        height: 70px;
        padding: 0 14px;
    }

    .page-title h1 {
        font-size: 1.5rem;
    }

    .auth-links a {
        font-size: 0.9rem;
        padding: 8px 12px;
    }

    .logo-img {
        max-height: 70px;
    }
}

@media (max-width: 640px) {
    body {
        padding-top: 86px;
    }

    header {
        height: 86px;
        padding: 0 10px;
    }

    header.shrunken {
        height: 66px;
        padding: 0 10px;
    }

    .page-title {
        display: none;
    }

    .auth-links {
        min-width: 124px;
        flex: 0 0 auto;
    }

    .auth-links a {
        font-size: 0.78rem;
        letter-spacing: 0.6px;
    }
}
