@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Luckiest Guy', Tahoma, Geneva, Verdana, sans-serif;
}

*::-webkit-scrollbar {
    display: none;
}

html {
    scrollbar-width: none;
}

/* Speech Bubble */
.speech-bubble {
    position: fixed;
    top: 10px; /* Moved to 2px from the top */
    right: 100px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 8px 15px 8px 10px;
    max-width: 250px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transform: translateZ(0);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
}

.bubble-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.weather-icon {
    font-size: 24px;
    line-height: 1;
    margin-right: 5px;
}

.bubble-content p {
    margin: 0;
    color: #333;
    font-size: 16px;
    line-height: 1.4;
    font-family: 'Luckiest Guy', Tahoma, Geneva, Verdana, sans-serif;
    text-align: left;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
}

/* Removed the .bubble-arrow styles as they're no longer needed */

@media (max-width: 768px) {
    .speech-bubble {
        top: 2px;
        right: 30px;
        max-width: 200px;
        padding: 6px 12px 6px 8px;
    }
    
    .bubble-content p {
        font-size: 14px;
    }
}

/* Canvas für den Sonnenhintergrund */
#sun-bg {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

/* Container für die Wolken */
#cloud-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70%; /* Nur im oberen Bereich des Bildschirms */
    pointer-events: none;
    z-index: -1; /* Hinter dem Inhalt, aber vor dem Hintergrund */
    overflow: hidden;
}

/* Stile für die Wolken */
#cloud-container img {
    position: absolute;
    will-change: transform;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

/* Canvas für den Regen-Effekt */
#rain-effect {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.8;
}

body {
    background: #0a0a1a;
    color: #f0f0f0;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    padding-top: 20px;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    cursor: auto;
}

/* Container für die Animation */
.content-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Content wrapper for layout */
.content-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 120px; /* Reduzierter Abstand, da der Footer jetzt mitläuft */
}

/* Custom cursor */
.custom-cursor {
    position: fixed;
    width: 16px;
    height: 16px;
    background-color: #000000 !important;
    border: 2px solid #ffffff !important;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.15s ease, height 0.15s ease;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);
}

/* Cursor styles for custom cursor */
body.custom-cursor-active,
body.custom-cursor-active * {
    cursor: none !important;
}

/* Reset cursor for the custom cursor element itself */
.custom-cursor {
    cursor: none !important;
    pointer-events: none !important;
}

#lava-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.8;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 20px 20px 20px;
    margin-top: 0;
    width: 100%;
}

.title-container {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 15px 40px 20px;
    backdrop-filter: blur(0px);
    margin: 0 auto 30px;
    display: table;
    width: auto;
    max-width: 90%;
}

h1 {
    display: inline-block;
    margin: -10px 0;
    padding: 10px 15px 0;
    text-align: center;
    font-weight: 800;
    font-size: 6rem;
    letter-spacing: -1.5px;
    line-height: 1.2;
    max-width: 100%;
    background: linear-gradient(165deg, #fff700, #ff0000);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
}


@media (max-width: 768px) {
    body {
        position: relative;
        min-height: 100vh;
    }
    
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: -1;
        background: #993366;
        animation: colorChange 30s linear infinite;
    }
    
    @keyframes colorChange {
        0%   { background-color: #4d1933; }  /* tiefes Rot-Pink */
        14%  { background-color: #4d3319; }  /* erdiges Dunkelorange */
        28%  { background-color: #1f4d1f; }  /* sattes Dunkelgrün */
        42%  { background-color: #194d4d; }  /* tiefes Petrol */
        56%  { background-color: #19264d; }  /* dunkles Mitternachtsblau */
        70%  { background-color: #2e194d; }  /* dunkles Violett */
        84%  { background-color: #4d193d; }  /* tiefes Weinrot */
        100% { background-color: #4d1933; }  /* zurück zum Start */
    }
    
    .container {
        padding: 0 0 20px 0;
    }
    
    .title-container {
        border-radius: 0 0 25px 25px;
        padding: 15px 0;
        margin: -20px 0 20px 0;
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 60px;
        text-align: center;
    }

    h1 {
        font-size: 4rem;
        letter-spacing: -0.5px;
        line-height: 1.2;
        padding: 10px 0 0;
        margin: -10px auto -10px;
        display: block;
        text-align: center;
        width: 100%;
    }
    
    .desktop-title {
        display: none;
    }
    
    .mobile-title {
        display: block;
        line-height: 1.1;
    }
    
    .mobile-break {
        display: none;
    }
    
    @media (max-width: 480px) {
        h1 {
            font-size: 3.2rem;
            line-height: 1.1;
        }
        
        .mobile-break {
            display: block;
            content: "";
            margin-bottom: -0.5em;
        }
    }
}

.category {
    margin-bottom: 40px;
    border-radius: 25px;
    padding-top: 0px;
    padding-bottom: 10px;
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.category:last-child {
    margin-bottom: 0px;
}

.category h2 {
    font-size: 3.5rem;
    margin: 0 0 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.2;
    width: 100%;
    position: relative;
    color: #ff2600cd;
    text-transform: none;
    padding: 15px 0;
    background: rgba(200, 200, 200, 0.15);
    backdrop-filter: blur(20px);
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .category h2 {
        font-size: 2.5rem;
        margin: 0 0 30px 0;
        letter-spacing: -1px;
        padding: 12px 0;
    }
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    100% { background-position: -1600% 50%; }
}

.tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    padding: 20px 40px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.tile {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.45);
    transition: transform 0.5s ease, box-shadow 0.5s ease, background 0.5s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #f0f0f0;
    background: linear-gradient(165deg, #e6d400, #cc0000);
    filter: brightness(0.9);
}

/* Keep the YannikApps tile's special styling */
.tile[href="https://yannikapps.ch"] {
    background: rgba(255, 153, 0, 0.6);
}



.tile:nth-child(odd) {
    animation-delay: 0.3s;
}

.tile:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    animation-play-state: running;
}

.tile-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.tile-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tile-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hosting {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hosting[data-host="neocities"] {
    background: rgba(0, 0, 0, 1);
    color: yellow;
}

.hosting[data-host="drachenplasma"] {
    background: rgb(255, 255, 255);
    color: #0015ff;
}

.hosting[data-host="netlify"] {
    background: rgba(0, 0, 0, 1);
    color: #00ffff;
}

.hosting[data-host="cybertimon"] {
    background: rgba(0, 0, 0, 1);
    color: #ff7300;
}

.tile-description {
    font-size: 0.9rem;
    color: #ffffff;
    line-height: 1.4;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

@media (max-width: 1800px) {
   .container {
        max-width: 1400px;
    }
}

@media (max-width: 1600px) {
   .tiles {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
   .tiles {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
   .tiles {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .tiles {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }
    
    .tile-image {
        height: 180px;
    }
    
    .tile-content {
        padding: 15px;
    }
}

/* Button styles */
button, .button, #previewClose, #previewVisit {
    background: rgba(100, 100, 200, 0.2);
    color: #e0e0ff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(0px);
}

button:active, .button:active, #previewClose:active, #previewVisit:active {
    transform: translateY(0);
}

.tile-status {
    display: inline-block;
    margin-top: -5px;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tile-status[data-status="online"] {
    background-color: rgb(0, 0, 0);
    color: #00ff3c;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.tile-status[data-status="beta"] {
    background-color: rgba(0, 0, 0);
    color: #ffbf00;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

@keyframes pulse-offline {
    0% {
        box-shadow: 0 0 16px 2px rgba(255, 0, 26, 0.75);
    }
    70% {
        box-shadow: 0 0 36px 14px rgba(255, 0, 26, 0.45);
    }
    100% {
        box-shadow: 0 0 16px 2px rgba(255, 0, 26, 0.75);
    }
}

.tile-status[data-status="offline"] {
    background-color: rgba(0, 0, 0);
    color: #ff0019;
    border: 1px solid rgba(220, 53, 69, 0.3);
    position: relative;
    transition: all 0.3s ease;
}

/* Apply glow to the tile when it has an offline status */
.tile:has(.tile-status[data-status="offline"]) {
    animation: pulse-offline 2s infinite;
    border-color: rgba(255, 0, 26, 0.6) !important;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 24px 6px rgba(255, 0, 26, 0.3);
}

.tile:has(.tile-status[data-status="offline"]):hover {
    transform: none;
    box-shadow: 0 14px 50px rgba(255, 0, 26, 0.38) !important;
}

/* Subtle red tint overlay over the entire tile when offline + hovered */
.tile:has(.tile-status[data-status="offline"]):hover::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(255, 0, 26, 0.2);
    pointer-events: none;
}

/* Gently shift imagery towards red when offline + hovered */
.tile:has(.tile-status[data-status="offline"]):hover .tile-image {
    filter: sepia(0.25) hue-rotate(-12deg) saturate(1.8) brightness(0.5);
}

/* Cursor changes for offline tiles */
.tile:has(.tile-status[data-status="offline"]),
.tile:has(.tile-status[data-status="offline"]) * {
    cursor: not-allowed !important;
}

/* If custom cursor is active, highlight it when hovering an offline tile */
body:has(.tile:hover .tile-status[data-status="offline"]) .custom-cursor {
    background-color: #ff0019 !important;
    border-color: #ff0019 !important;
    width: 22px;
    height: 22px;
    box-shadow: 0 0 30px rgba(255, 0, 26, 0.6), 0 0 8px rgba(255, 0, 26, 0.9) inset;
}

.tile-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* More Button */
.more-button-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    margin: 0;
    padding: 0;
    text-align: right;
}

.more-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 15px 0px 15px 25px;
    border-radius: 99px;
    background: #E24FA0;
    background: linear-gradient(135deg, #E24FA0, #F2874F);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease, background-color 0.4s ease;
    backdrop-filter: blur(0px);
    min-width: auto;
    max-width: 100%;
    gap: 5px;
}

.more-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #F2874F, #E24FA0);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.more-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.more-button:hover::before {
    opacity: 1;
}

.more-button-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0; /* Abstand entfernt */
    padding: 0; /* Innenabstand entfernt */
}

.more-button-sub {
    display: inline-block;
    margin-top: 5px;
    font-weight: 600;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.arrow-icon {
    width: 3cqi; /* Pfeil etwas kleiner */
    height: 30px;
    margin: 0; /* Alle Abstände entfernt */
    padding: 0;
    transition: transform 0.3s ease;
    opacity: 1;
    flex-shrink: 0; /* Verhindert, dass der Pfeil schrumpft */
}

.more-button:hover .arrow-icon {
    transform: translateX(3px);
    opacity: 1;
}


/* Mobile Styles */
@media (max-width: 768px) {
    /* Info Overlay Mobile Styles */
    .info-overlay {
        padding: 1rem;
        align-items: flex-start;
        padding-top: 60px;
    }
    
    .info-content {
        max-width: 100%;
        padding: 1.5rem;
        margin: 0;
        border-radius: 20px;
    }
    
    .info-header {
        padding: 15px 20px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: rgba(255, 0, 0, 0.9);
        border-radius: 0 0 20px 20px;
        z-index: 1002;
    }
    
    .info-body {
        padding: 15px 0 0 0;
    }
    
    .info-title {
        font-size: 1.8rem;
        margin: 0;
    }
    
    .info-text, .info-label {
        font-size: 1.2rem;
    }
    
    .close-button {
        width: 48px;
        height: 48px;
        position: fixed;
        top: 12px;
        right: 12px;
    }
    
    .close-button svg {
        width: 24px;
        height: 24px;
    }
    
    /* Original mobile styles continue... */
    /* Buttons untereinander anordnen */
    .more-button-container {
        position: relative;
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 15px;
        text-align: center;
        padding: 0 20px;
    }
    
    /* Letzter Button hat keinen Abstand nach unten */
    .legalinfo-container {
        margin-bottom: 40px; /* Etwas mehr Abstand nach unten */
    }
    
    /* Buttons zentrieren und volle Breite geben */
    .more-button,
    .legalinfo-link {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 15px 20px;
        box-sizing: border-box;
        margin: 10px 0;
    }
    
    /* Inhalt der Buttons zentrieren */
    .more-button-content {
        align-items: center;
    }
    
    /* Container für die Buttons unter dem Hauptinhalt */
    .buttons-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-top: 30px;
        padding: 0 20px 40px;
    }
    
    /* Entferne feste Positionierung */
    .more-button-container,
    .legalinfo-container {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        margin: 15px auto;
    }
    
    /* Entferne festen Abstand am unteren Rand */
    body {
        padding-bottom: 0;
    }
    
    .content-wrapper {
        padding-bottom: 20px; /* Normaler Abstand */
    }
}

/* Info Button Styles */
.info-button {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    transform-origin: center;
}

.info-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.15);
}

.info-button:active {
    transform: scale(1.1);
}

.info-button svg {
    width: 24px;
    height: 24px;
    transition: opacity 0.2s ease;
}

.info-button:hover svg {
    opacity: 0.9;
}

/* Prevent layout shift by always showing scrollbar */
html {
    overflow-y: scroll;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.info-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
    backdrop-filter: blur(0px);
}

.info-overlay.show {
    opacity: 1;
    pointer-events: auto;
    backdrop-filter: blur(0px);
    animation: fadeIn 0.3s ease-out forwards;
}

.info-content {
    background: rgba(30, 30, 46, 0.9);
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow: auto;
    transform: translateY(10px);
    backdrop-filter: blur(0px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.info-overlay.show .info-content {
    transform: translateY(0);
}

.info-header {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1;
    backdrop-filter: blur(0px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-header h3 {
    margin: 0;
    color: #fff;
    font-size: 2.2rem; /* Increased from 1.8rem */
    font-weight: 700;
    letter-spacing: 0.5px;
}
.info-label {
    font-size: 2rem;
}    

.close-button {
    background: #ff0000; /* Changed to red */
    border: none;
    cursor: pointer;
    width: 64px; /* Increased from 32px */
    height: 64px; /* Increased from 32px */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
    color: white;
}

.close-button:hover {
    background: #ff3333; /* Lighter red on hover */
    transform: scale(1.1);
}

.close-button:active {
    transform: scale(0.95);
}

/* Update the close icon size to match the larger button */
.close-button svg {
    width: 32px; /* Increased from default */
    height: 32px; /* Increased from default */
}

.info-body {
    padding: 0 24px 24px;
    background: transparent;
}

.info-item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

/* Toggle section styles are defined below */

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

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked + .slider {
    background-color: #8a5cf6;
}

input:focus + .slider {
    box-shadow: 0 0 0 3px rgba(138, 92, 246, 0.3);
}

input:checked + .slider:before {
    transform: translateX(20px);
}

/* Hide toggle on mobile */
@media (max-width: 768px) {
    .toggle-item {
        display: none;
    }
}

/* Minimal Info Overlay */
.info-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 20, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 2rem;
    overflow-y: auto;
}

.info-content {
    background: rgba(255, 0, 0, 0.2);
    border-radius: 34px;
    width: 100%;
    max-width: 1000px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.info-title {
    color: #fff;
    font-size: 2rem; /* Increased from 1.25rem */
    margin: 0 0 1.5rem;
    font-weight: 500;
}

.info-text {
    color: #e0e0e0;
    font-size: 1.6rem; /* Increased from 1.4rem */
    line-height: 1.8;
    margin: 0 0 1.2rem;
}

.info-link {
    color: #7c3aed;
    text-decoration: none;
    transition: opacity 0.2s;
}

.info-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.info-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.info-close:hover {
    opacity: 1;
}

/* Footer Styles */
.footer {
    position: relative;
    margin: 40px auto 20px;
    left: 0;
    right: 0;
    z-index: 100;
    text-align: center;
    padding: 0 20px;
    pointer-events: none;
    width: 100%;
    max-width: 800px;
}

.footer-content {
    background: rgba(255, 0, 0, 0.25);
    border-radius: 20px;
    padding: 16px 32px;
    display: inline-block;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    pointer-events: auto;
    transition: all 0.25s ease;
    width: auto;
    min-width: 350px;
    max-width: 90%;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
}

.footer-link {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 6px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
}

.footer-separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.1rem;
    padding: 0 8px;
    position: relative;
    top: -1px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-top: 12px;
    font-weight: 400;
}

@media (max-width: 768px) {
    .footer {
        margin: 30px auto 15px;
        padding: 0 15px;
    }
    
    .footer-content {
        padding: 14px 16px;
        min-width: 260px;
        width: calc(100% - 30px);
        border-radius: 18px;
    }
    
    .footer-links {
        gap: 6px;
        margin-bottom: 6px;
    }
    
    .footer-link {
        font-size: 0.9rem;
        padding: 5px 10px;
    }
    
    .footer-copyright {
        font-size: 0.85rem;
        margin-top: 8px;
    }
    
    .footer-separator {
        font-size: 1rem;
        padding: 0 4px;
    }
}

.cookie-content {
    width: 100%;
    max-width: 520px;
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;    
}

.cookie-consent.show .cookie-content {
    transform: translateY(0);
    opacity: 1;
}

/* Header Section */
.cookie-header {
    padding: 25px 30px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

.cookie-title {
    margin: 0 0 5px;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cookie-title svg {
    width: 24px;
    height: 24px;
    fill: #00b4d8;
}

/* Content Section */
.cookie-body {
    padding: 25px 30px;
}

.cookie-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.cookie-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.section-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title svg {
    width: 18px;
    height: 18px;
    fill: #00b4d8;
}

.cookie-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.98rem;
    line-height: 1.7;
    margin: 0 0 15px;
}

.cookie-text:last-child {
    margin-bottom: 0;
}

.cookie-highlight {
    background: rgba(0, 180, 216, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
    color: #90e0ef;
    font-weight: 500;
}

.cookie-link {
    color: #00b4d8;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 180, 216, 0.3);
    transition: all 0.2s ease;
    padding: 0 1px;
}

.cookie-link:hover {
    color: #90e0ef;
    border-bottom-color: rgba(144, 224, 239, 0.6);
}

/* Footer Section */
.cookie-footer {
    padding: 20px 30px 25px;
    background: rgba(0, 0, 0, 0.15);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.cookie-button {
    min-width: 140px;
    background: linear-gradient(135deg, #00b4d8 0%, #0096c7 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.cookie-button svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.cookie-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0096c7 0%, #0077b6 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.cookie-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 180, 216, 0.4);
}

.cookie-button:hover::before {
    opacity: 1;
}

.cookie-button:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(0, 180, 216, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .cookie-content {
        margin: 0 15px;
    }
    
    .cookie-header,
    .cookie-body,
    .cookie-footer {
        padding: 20px;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .cookie-button {
        width: 100%;
    }
}

/* =========================================
   Responsive Styles
   ========================================= */
@media (max-width: 480px) {
    .info-label {
        font-size: 0.8rem;
    }
    
    .info-text, .info-link {
        font-size: 0.9rem;
    }
    .info-button {
        position: fixed;
        top: 10px;
        right: 10px;
        width: 44px;
        height: 44px;
    }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
