/**
 * Portal Dashboard - Asymmetric Layout
 * Bento-style grid with tilts, overlaps, and depth
 */

/* Main Dashboard Grid - 2 Column Layout */
.asymmetric-dashboard {
    max-width: 1600px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr; /* 2/3 CTA+Categories, 1/3 News */
    gap: 2rem;
    align-items: start;
}

/* Left Column - CTA + Categories */
.main-column {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* CTA Section (Large, Straight) */
.cta-card {
    background: linear-gradient(135deg, var(--solar-primary), var(--neon-blue));
    padding: 4rem 3rem;
    border-radius: 0;
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.4);
    position: relative;
    z-index: 10;
    transition: box-shadow 0.3s ease;
}

.cta-card:hover {
    box-shadow: 0 25px 70px rgba(255, 107, 53, 0.5);
}

.cta-card h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-card p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* CTA Categories List */
.cta-categories-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.cta-category-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0;
    text-decoration: none;
    color: var(--solar-primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cta-category-link:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-category-link .cat-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cta-category-link .cat-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Sponsor Hero - gudtek */
.sponsor-hero {
    background: linear-gradient(135deg, #000000, #1A1F3A);
    padding: 2.5rem 3rem;
    border: 2px solid var(--neon-blue);
    position: relative;
    overflow: hidden;
}

.sponsor-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(0, 212, 255, 0.05));
    pointer-events: none;
}

.sponsor-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.sponsor-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--neon-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.sponsor-brand {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.sponsor-name {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--neon-blue), #BD00FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.sponsor-tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.sponsor-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.sponsor-cta {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: transparent;
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sponsor-cta:hover {
    background: var(--neon-blue);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

/* Categories Bento Grid */
.categories-bento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.category-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0;
    padding: 2rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Subtle background gradient on hover */
.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--solar-primary), var(--neon-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.category-card:hover::before {
    opacity: 0.05;
}

.category-card > * {
    position: relative;
    z-index: 1;
}

/* Bento Sizes */
.category-card.size-large {
    grid-row: span 2;
    padding: 3rem 2rem;
}

.category-card.size-wide {
    grid-column: span 2;
}

/* Subtle Tilts for Asymmetric Feel */
.tilt-1 {
    transform: rotate(0.5deg);
}

.tilt-2 {
    transform: rotate(1deg);
}

.tilt-neg-1 {
    transform: rotate(-0.5deg);
}

.category-card:hover {
    transform: translateY(-5px) rotate(0deg) !important;
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.3);
    border-color: var(--solar-primary);
    z-index: 50;
}

.category-card .icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 10px rgba(255, 107, 53, 0.2));
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.category-card .count {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* News Feed (Right Column - Runs down page) */
.news-feed-compact {
    background: var(--bg-secondary);
    border-radius: 0;
    padding: 2rem;
    border: 1px solid var(--border-color);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    position: sticky;
    top: 100px;
}

/* Custom scrollbar */
.news-feed-compact::-webkit-scrollbar {
    width: 6px;
}

.news-feed-compact::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 10px;
}

.news-feed-compact::-webkit-scrollbar-thumb {
    background: var(--solar-primary);
    border-radius: 10px;
}

.news-feed-compact h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    border-bottom: 2px solid var(--solar-primary);
    padding-bottom: 0.75rem;
}

.news-feed-compact h2 a:hover {
    color: var(--solar-primary);
}

.news-item-compact {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s ease;
}

.news-item-compact:hover {
    background: rgba(255, 107, 53, 0.05);
    margin: 0 -0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border-radius: 0;
}

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

.news-item-compact h3 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    color: var(--text-primary);
    font-weight: 600;
}

.news-item-compact a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-item-compact a:hover h3 {
    color: var(--solar-primary);
}

.news-item-compact .meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    gap: 0.5rem;
}

.view-all {
    display: block;
    text-align: center;
    padding: 1rem;
    margin-top: 1rem;
    background: linear-gradient(135deg, var(--solar-primary), var(--solar-accent));
    color: white;
    text-decoration: none;
    border-radius: 0;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.view-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

/* Luzzu Cruises Promo Banner */
.cruise-promo-banner {
    position: relative;
    overflow: hidden;
    background: #0077BE;
    display: block !important;
    padding: 3rem 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #FFD700 !important;
    margin-bottom: 1rem;
}

.cruise-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/wp-content/uploads/2025/12/luzzu-cruises-banner.png');
    background-size: cover;
    background-position: center;
    opacity: 0.7;
    z-index: 1;
    transition: all 0.5s ease;
}

.cruise-banner-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 119, 190, 0.6), rgba(255, 215, 0, 0.2));
    z-index: 2;
}

.cruise-banner-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.cruise-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.5);
}

.cruise-headline {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.cruise-headline br {
    display: block;
}

.cruise-highlight {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    text-shadow: none;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
}

.cruise-subtext {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    display: block;
}

.cruise-cta {
    display: inline-block;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid #FFD700;
    color: #FFD700;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.cruise-promo-banner:hover {
    transform: translateY(-5px);
    border-color: #FFA500;
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.5);
}

.cruise-promo-banner:hover .cruise-cta {
    background: #FFD700;
    color: #000;
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.7);
}

.cruise-promo-banner:hover .cruise-banner-bg {
    opacity: 0.7;
    transform: scale(1.05);
}

/* gudtek AI Consulting Banner */
.gudtek-banner {
    position: relative;
    overflow: hidden;
    background: #000000;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    border: 2px solid var(--neon-blue) !important;
}

.gudtek-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* DALL-E Generated AI Consulting Background */
    background-image: url('/wp-content/uploads/2025/12/gudtek-ai-banner.png');
    background-size: cover;
    background-position: center;
    opacity: 0.7;
    z-index: 1;
}

.gudtek-banner-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(189, 0, 255, 0.1));
    z-index: 2;
}

.gudtek-banner-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
}

.gudtek-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--neon-blue), #BD00FF);
    color: #000000;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.5);
}

.gudtek-headline {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.gudtek-headline br {
    display: block;
}

.gudtek-highlight {
    background: linear-gradient(135deg, var(--neon-blue), #BD00FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    text-shadow: none;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.6));
}

.gudtek-subtext {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.gudtek-cta {
    display: inline-block;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

.gudtek-banner:hover .gudtek-cta {
    background: var(--neon-blue);
    color: #000000;
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.6);
}

.gudtek-banner:hover .gudtek-banner-bg {
    opacity: 0.9;
    transform: scale(1.05);
}

.gudtek-banner::before {
    opacity: 0.1 !important;
}

/* Fade-in animation for cards */
.category-card {
    opacity: 0;
    transform: translateY(20px);
}

.category-card.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .asymmetric-dashboard {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .main-column {
        gap: 1rem;
    }

    .cta-card {
        transform: rotate(0deg);
    }

    .news-feed-compact {
        position: relative;
        top: 0;
        max-height: 600px;
    }
}

@media (max-width: 768px) {
    .asymmetric-dashboard {
        padding: 0 !important;
    }

    .cta-card {
        padding: 1.5rem 1rem !important;
        margin: 0 !important;
        border-left: none !important;
        border-right: none !important;
    }

    .cta-card h1 {
        font-size: 1.75rem;
    }

    .cta-card p {
        font-size: 0.95rem;
    }

    .cta-categories-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .cta-category-link {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .sponsor-hero {
        padding: 1.5rem 1rem !important;
        margin: 0 !important;
        border-left: none !important;
        border-right: none !important;
    }

    .sponsor-name {
        font-size: 2rem;
    }

    .sponsor-brand {
        flex-direction: column;
        gap: 0.5rem;
    }

    .sponsor-description {
        font-size: 0.9rem;
    }

    .categories-bento {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .category-card {
        padding: 1rem !important;
        margin: 0 !important;
        border-left: none !important;
        border-right: none !important;
    }

    .category-card.size-large,
    .category-card.size-wide {
        grid-row: auto;
        grid-column: auto;
        padding: 1rem !important;
    }

    .category-card .icon {
        font-size: 2.5rem;
    }

    .category-card h3 {
        font-size: 1.2rem;
    }

    .news-feed-compact {
        max-height: 500px;
        padding: 1rem !important;
        margin: 0 !important;
        border-left: none !important;
        border-right: none !important;
    }

    .gudtek-banner {
        min-height: 300px;
    }

    .gudtek-headline {
        font-size: 1.8rem;
    }

    .gudtek-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .gudtek-subtext {
        font-size: 0.9rem;
    }

    .gudtek-cta {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .cruise-promo-banner {
        padding: 2rem 1rem !important;
        margin-bottom: 1rem !important;
        border-left: none !important;
        border-right: none !important;
    }

    .cruise-headline {
        font-size: 1.8rem !important;
    }

    .cruise-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .cruise-subtext {
        font-size: 0.95rem;
    }

    .cruise-cta {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}
