/* Hobby Haven Core Stylesheet - Blue & Purple Aesthetic on Deep Dark Background */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;900&display=swap');

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0b0c10; /* Deep black base */
    color: #ffffff;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

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

a:hover {
    color: #4facfe; /* Neon light blue */
}

/* Header & Navigation Area */
.header-area {
    background-color: #12141c; /* Soft dark surface */
    border-bottom: 2px solid #1f2232;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Brand Logo Text */
.logo-text {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 1px;
    align-items: center; /* Centers vertically */
    color: #4facfe; /* Blue gradient start */
    background: linear-gradient(45deg, #00f2fe, #4facfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text span {
    color: #00f2fe;
    align-items: center; /* Centers vertically */
    background: linear-gradient(45deg, #b180ff, #8a3ffc); /* Purple gradient end */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Top Social Panel Links */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    font-size: 16px;
    color: #a4a9be;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #00f2fe;
    transform: translateY(-2px);
}

/* Navigation Lists styling */
.nav {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav li a {
    font-size: 14px;
    font-weight: 500;
    color: #a4a9be;
    padding: 8px 12px;
    border-radius: 8px;
}

.nav li a:hover, .nav li a.active {
    color: #ffffff;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

/* Menu Toggle for Responsiveness */
.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Content Container Global Card style */
.page-content {
    margin-top: 40px;
    background-color: #12141c;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #1f2232;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Banner Component Layout */
.main-banner {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.15) 0%, rgba(138, 63, 252, 0.15) 100%), #1a1d28;
    border-radius: 20px;
    padding: 60px;
    border: 1px solid rgba(138, 63, 252, 0.2);
    text-align: left;
    margin-bottom: 40px;
}

.main-banner h6 {
    font-size: 18px;
    color: #00f2fe;
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-banner h4 {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 25px;
}

.main-banner h4 em {
    font-style: normal;
    background: linear-gradient(45deg, #00f2fe, #b180ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Universal Button Design */
.main-button a {
    display: inline-block;
    background: linear-gradient(135deg, #8a3ffc 0%, #b180ff 100%);
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 20px rgba(138, 63, 252, 0.4);
}

.main-button a:hover {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.4);
    transform: translateY(-2px);
}

.text-center {
    text-align: center;
}

/* Layout Component Headings */
.heading-section h4 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #ffffff;
}

.heading-section h4 em {
    font-style: normal;
    color: #4facfe;
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Grid System Items Container */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 35px;
}

.item-card {
    background-color: #1a1d28;
    border: 1px solid #242938;
    border-radius: 20px;
    padding: 20px;
    transition: all 0.3s ease;
}

.item-card:hover {
    transform: translateY(-5px);
    border-color: #8a3ffc;
    box-shadow: 0 5px 20px rgba(138, 63, 252, 0.2);
}

.bg-placeholder {
    background: linear-gradient(45deg, #1f2436, #2d354f);
    height: 150px;
    border-radius: 15px;
    margin-bottom: 15px;
}

.card-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.card-content span {
    color: #00f2fe;
    font-size: 14px;
    font-weight: 500;
}

/* Data Library List Panels Layout */
.gaming-library {
    margin-top: 50px;
}

.library-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 35px;
}

.library-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1a1d28;
    border: 1px solid #242938;
    border-radius: 20px;
    padding: 20px 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.library-item h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 5px;
}

.library-item span {
    color: #a4a9be;
    font-size: 13px;
}

.status-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(0, 242, 254, 0.1);
    color: #00f2fe;
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 20px;
    font-weight: 600;
}

/* Footer Element */
footer {
    margin-top: 60px;
    padding: 30px 0;
    background-color: #12141c;
    border-top: 1px solid #1f2232;
    text-align: center;
}

footer p {
    font-size: 14px;
    color: #a4a9be;
    line-height: 1.6;
}

/* Responsive Adaptive CSS Layout breakpoints */

/* Tablets View Breakpoint */
@media (max-width: 992px) {
    .main-nav {
        gap: 15px;
    }
    .main-banner {
        padding: 40px;
    }
    .main-banner h4 {
        font-size: 32px;
    }
}

/* Mobile Devices Breakpoint */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        display: none;
        width: 100%;
        flex-direction: column;
        background-color: #1a1d28;
        position: absolute;
        top: 75px;
        left: 0;
        padding: 20px;
        border-bottom: 2px solid #8a3ffc;
        gap: 10px;
    }

    .nav.active {
        display: flex;
    }

    .nav li a {
        display: block;
        padding: 10px;
        width: 100%;
    }

    /* Animation effects for Mobile hamburger icon */
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .library-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .library-item > div {
        width: 100%;
    }

    .main-banner {
        text-align: center;
        padding: 30px 20px;
    }
}
