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

html {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #ffffff;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
    position: relative;
}

body > * {
    max-width: 100%;
    overflow-x: hidden;
}

main, section {
    overflow-x: hidden;
    max-width: 100%;
}

/* Navigation */
.navbar {
    background: rgba(20, 25, 35, 0.85);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 3rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.7rem;
    color: #a0b0c0;
    letter-spacing: 2px;
    font-weight: 400;
    line-height: 1.2;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-link:hover {
    color: #5a9eff;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.connect-btn {
    background: #4a8eff;
    color: #ffffff;
    border: none;
    padding: 0.65rem 1.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.connect-btn:hover {
    background: #3a7eef;
    transform: translateY(-1px);
}

.dashboard-btn {
    background: rgba(30, 35, 45, 0.9);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dashboard-btn:hover {
    background: rgba(40, 45, 55, 0.95);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.dashboard-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Dashboard Page */
.dashboard-page {
    position: relative;
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 4rem;
    overflow: hidden;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

.dashboard-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: #000000;
    max-width: 100%;
}

.dashboard-background::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.dashboard-background .slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    filter: blur(4px);
}

.dashboard-background .slider-img.active {
    opacity: 1;
}

.dashboard-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem clamp(1rem, 4vw, 3rem);
    position: relative;
    z-index: 1;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard-header-left {
    flex: 1;
}

.dashboard-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.dashboard-subtitle {
    font-size: 1.1rem;
    color: #e0e8f0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.dashboard-header-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.dashboard-update-btn {
    background: rgba(30, 35, 45, 0.9);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.65rem 1.25rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dashboard-update-btn:hover {
    background: rgba(40, 45, 55, 0.95);
    border-color: rgba(255, 255, 255, 0.3);
}

.dashboard-logout-btn {
    background: #dc3545;
    color: #ffffff;
    border: none;
    padding: 0.65rem 1.5rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dashboard-logout-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
}

.dashboard-user-box {
    background: rgba(30, 35, 45, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.dashboard-user-avatar-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.dashboard-user-info {
    flex: 1;
}

.dashboard-username-text {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    letter-spacing: 0.5px;
}

.dashboard-user-id-text {
    font-size: 1rem;
    color: #b0c0d0;
    margin: 0;
    font-family: monospace;
}

.dashboard-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.dashboard-tab {
    background: transparent;
    color: #e0e8f0;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.dashboard-tab:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.dashboard-tab.active {
    color: #4a8eff;
    border-bottom-color: #4a8eff;
}

.dashboard-content-box {
    background: rgba(30, 35, 45, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 400px;
}

.dashboard-content-area {
    color: #ffffff;
}

.dashboard-tab-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.dashboard-info-item {
    font-size: 1rem;
    color: #e0e8f0;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
}

.dashboard-info-item strong {
    color: #ffffff;
    display: inline-block;
    min-width: 120px;
}

/* Dashboard Responsive */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .dashboard-header-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .dashboard-user-box {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .dashboard-tabs {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .dashboard-tab {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .dashboard-content-box {
        padding: 1.5rem;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow-x: hidden;
}

.background-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: #000000;
    max-width: 100%;
}

.background-slider::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.background-slider .slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.background-slider .slider-img.active {
    opacity: 1;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-left {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.logo-large {
    width: 120px;
    height: 120px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    filter: drop-shadow(0 8px 24px rgba(90, 158, 255, 0.3));
}

.server-status-box {
    background: rgba(30, 35, 45, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 1.5rem;
    min-width: 220px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #4ade80;
    border-radius: 50%;
    display: block;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
}

.status-label {
    font-size: 0.75rem;
    color: #ffffff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
}

.status-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.status-text {
    font-size: 0.9rem;
    color: #a0b0c0;
    font-weight: 400;
}

.hero-right {
    max-width: 600px;
}

.main-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.main-description {
    font-size: 1.05rem;
    color: #ffffff;
    line-height: 1.7;
    margin-bottom: 2rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: #4a8eff;
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: #3a7eef;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 142, 255, 0.4);
}

.btn-secondary {
    background: rgba(30, 35, 45, 0.85);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(40, 45, 55, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Content Section */
.content-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: rgba(20, 25, 35, 0.95);
}

.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 3rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.content-left {
    max-width: 700px;
}

.content-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.content-description {
    font-size: 1.05rem;
    color: #ffffff;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.content-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-panel {
    background: rgba(30, 35, 45, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    min-height: 400px;
}

.logo-panel-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(90, 158, 255, 0.3));
    opacity: 0.9;
}

/* Rules Page */
.rules-page {
    position: relative;
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 4rem;
    overflow: hidden;
}

.rules-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    max-width: 100%;
}

.rules-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 25, 35, 0.6);
    z-index: 1;
}

.rules-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: blur(3px);
}

.rules-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    position: relative;
    z-index: 1;
}

.rules-sections-wrapper {
    background: rgba(20, 25, 35, 0.75);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    margin-top: 2rem;
}

.rules-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.rules-intro {
    font-size: 1.15rem;
    color: #e0e8f0;
    line-height: 1.8;
    margin-bottom: 3rem;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.rules-section {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: rgba(30, 35, 45, 0.4);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rules-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #4a9eff;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.rules-text {
    font-size: 1.05rem;
    color: #e0e8f0;
    line-height: 1.8;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.nav-link.active {
    color: #4a9eff;
    font-weight: 600;
}

/* OM OS Page */
.omos-page {
    position: relative;
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 4rem;
    overflow: hidden;
}

.omos-page .background-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: #000000;
    max-width: 100%;
}

.omos-page .background-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 25, 35, 0.6);
    z-index: 1;
    pointer-events: none;
}

.omos-page .background-slider::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.omos-page .background-slider .slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    filter: blur(2px);
}

.omos-page .background-slider .slider-img.active {
    opacity: 1;
}

.omos-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem;
    position: relative;
    z-index: 1;
}

.omos-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-align: left;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.omos-description {
    font-size: 1.15rem;
    color: #e0e8f0;
    line-height: 1.8;
    margin-bottom: 3rem;
    text-align: left;
    max-width: 100%;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.omos-image-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.omos-card {
    width: 300px;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.omos-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.omos-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.omos-values {
    background: rgba(20, 25, 35, 0.75);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.values-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    text-align: left;
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.values-list li {
    font-size: 1.1rem;
    color: #e0e8f0;
    line-height: 1.8;
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.8rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.values-list li::before {
    content: '•';
    color: #4a9eff;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -2px;
    font-weight: bold;
}

/* Ansøgninger Page */
.ansogninger-page {
    position: relative;
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 4rem;
    overflow: hidden;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

.ansogninger-page .background-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: #000000;
    max-width: 100%;
}

.ansogninger-page .background-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 25, 35, 0.6);
    z-index: 1;
    pointer-events: none;
}

.ansogninger-page .background-slider::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.ansogninger-page .background-slider .slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    filter: blur(4px);
}

.ansogninger-page .background-slider .slider-img.active {
    opacity: 1;
}

.ansogninger-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(1.5rem, 3vw, 3rem);
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

.ansogninger-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.ansogninger-description {
    font-size: 1.15rem;
    color: #e0e8f0;
    line-height: 1.8;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.ansogninger-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: clamp(0.75rem, 1.5vw, 1.5rem);
    max-width: 1800px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
}

.ansog-card {
    background: rgba(20, 25, 35, 0.75);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ansog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
    border-radius: 12px 12px 0 0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: blur(3px) brightness(0.6);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 1.25rem 1.25rem 0.5rem 1.25rem;
    letter-spacing: 0.5px;
}

.card-tag {
    display: inline-block;
    background: rgba(255, 140, 0, 0.9);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    margin: 0 1.25rem 0.75rem 1.25rem;
    letter-spacing: 0.5px;
}

.card-description {
    font-size: 0.9rem;
    color: #e0e8f0;
    line-height: 1.5;
    margin: 0 1.25rem 1.25rem 1.25rem;
    flex-grow: 1;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.card-btn {
    width: calc(100% - 2.5rem);
    margin: 0 1.25rem 1.25rem 1.25rem;
    padding: 0.875rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.card-btn-active {
    background: #4a8eff;
    color: #ffffff;
}

.card-btn-active:hover {
    background: #3a7eef;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 142, 255, 0.4);
}

.card-btn-disabled {
    background: rgba(40, 50, 65, 0.9);
    color: #b0c0d0;
    cursor: not-allowed;
    opacity: 0.8;
}


.info-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-align: left;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    font-size: 1rem;
    color: #e0e8f0;
    line-height: 1.8;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.info-list li::before {
    content: '•';
    color: #ffffff;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -2px;
    font-weight: bold;
}

/* Footer */
.footer {
    background: rgba(20, 25, 35, 0.9);
    backdrop-filter: blur(10px);
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #ffffff;
    position: relative;
    z-index: 10;
}

.footer p {
    font-size: 0.9rem;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Whitelist Page */
.whitelist-page {
    position: relative;
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 4rem;
    overflow: hidden;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

.whitelist-page .background-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: #000000;
    max-width: 100%;
}

.whitelist-page .background-slider::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.whitelist-page .background-slider .slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    filter: blur(4px);
}

.whitelist-page .background-slider .slider-img.active {
    opacity: 1;
}

.whitelist-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem clamp(1rem, 4vw, 3rem);
    position: relative;
    z-index: 1;
}

.whitelist-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 3rem;
    letter-spacing: 1px;
    text-align: left;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.whitelist-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-group label {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.form-input,
.form-textarea {
    background: rgba(20, 25, 35, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1rem;
    font-size: 1rem;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #4a8eff;
    box-shadow: 0 0 0 3px rgba(74, 142, 255, 0.2);
    background: rgba(25, 30, 40, 0.95);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit-btn {
    background: #4a8eff;
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    margin-top: 1rem;
    align-self: flex-start;
}

.form-submit-btn:hover {
    background: #3a7eef;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 142, 255, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-left {
        justify-content: center;
    }

    .hero-right {
        max-width: 100%;
        text-align: center;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .content-left {
        max-width: 100%;
        text-align: center;
    }

    .content-title {
        font-size: 2.5rem;
    }

    .logo-panel {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
        padding: 0 1.5rem;
    }

    .nav-menu {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 1.5rem;
        margin-top: 1rem;
        flex-wrap: wrap;
    }

    .hero-content {
        padding: 2rem 1.5rem;
    }

    .hero-left {
        flex-direction: column;
        align-items: center;
    }

    .logo-large {
        width: 100px;
        height: 100px;
    }

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

    .main-description {
        font-size: 0.95rem;
    }

    .button-group {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem 1.5rem;
    }

    .content-left {
        max-width: 100%;
        text-align: center;
    }

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

    .content-right {
        order: -1;
    }

    .logo-panel {
        max-width: 100%;
        min-height: 300px;
        padding: 2rem;
    }

    .logo-panel-image {
        max-width: 200px;
    }

    .rules-page {
        padding-top: 120px;
        padding-bottom: 2rem;
    }

    .rules-content {
        padding: 2rem 1.5rem;
    }

    .rules-sections-wrapper {
        padding: 2rem 1.5rem;
    }

    .rules-title {
        font-size: 2.5rem;
    }

    .rules-section {
        padding: 1.5rem;
    }

    .rules-heading {
        font-size: 1.5rem;
    }

    .rules-text {
        font-size: 1rem;
    }

    .omos-page {
        padding-top: 120px;
        padding-bottom: 2rem;
    }

    .omos-content-wrapper {
        padding: 2rem 1.5rem;
    }

    .omos-title {
        font-size: 2.5rem;
    }

    .omos-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .omos-image-cards {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 3rem;
    }

    .omos-card {
        width: 90%;
        max-width: 350px;
        height: 220px;
    }

    .omos-values {
        padding: 2rem;
    }

    .values-title {
        font-size: 1.8rem;
    }

    .values-list li {
        font-size: 0.95rem;
        padding-left: 1.5rem;
    }

    .values-list li::before {
        font-size: 1.3rem;
    }

    .ansogninger-page {
        padding-top: 120px;
        padding-bottom: 2rem;
    }

    .ansogninger-content-wrapper {
        padding: 2rem 1.5rem;
    }

    .ansogninger-title {
        font-size: 2.5rem;
    }

    .ansogninger-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .ansogninger-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .card-title {
        font-size: 1.5rem;
    }

    .card-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 640px) {
    .ansogninger-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .donation-page {
        padding-top: 120px;
        padding-bottom: 2rem;
    }
}

/* Custom Alert/Notification Box */
.custom-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.custom-alert-overlay.show {
    opacity: 1;
    visibility: visible;
}

.custom-alert-box {
    background: rgba(30, 35, 45, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.custom-alert-overlay.show .custom-alert-box {
    transform: scale(1);
}

.custom-alert-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.custom-alert-message {
    font-size: 1rem;
    color: #e0e8f0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.custom-alert-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.custom-alert-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.custom-alert-btn-primary {
    background: #4a8eff;
    color: #ffffff;
}

.custom-alert-btn-primary:hover {
    background: #3a7eef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 142, 255, 0.4);
}

.custom-alert-btn-secondary {
    background: rgba(60, 65, 75, 0.9);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.custom-alert-btn-secondary:hover {
    background: rgba(70, 75, 85, 0.95);
    border-color: rgba(255, 255, 255, 0.3);
}

.custom-alert-btn-danger {
    background: #ef4444;
    color: #ffffff;
}

.custom-alert-btn-danger:hover {
    background: #dc3545;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

/* Custom Confirm Box */
.custom-confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.custom-confirm-overlay.show {
    opacity: 1;
    visibility: visible;
}

.custom-confirm-box {
    background: rgba(30, 35, 45, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.custom-confirm-overlay.show .custom-confirm-box {
    transform: scale(1);
}

.custom-confirm-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.custom-confirm-message {
    font-size: 1rem;
    color: #e0e8f0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.custom-confirm-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.custom-confirm-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.custom-confirm-btn-cancel {
    background: rgba(60, 65, 75, 0.9);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.custom-confirm-btn-cancel:hover {
    background: rgba(70, 75, 85, 0.95);
    border-color: rgba(255, 255, 255, 0.3);
}

.custom-confirm-btn-confirm {
    background: #ef4444;
    color: #ffffff;
}

.custom-confirm-btn-confirm:hover {
    background: #dc3545;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}
