/* LAN Page Specific Styles */
.lan-section {
    margin: 30px 0;
}

.lan-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.lan-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.lan-dates {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.tickets-banner {
    background: linear-gradient(to right, rgba(255, 0, 255, 0.2), rgba(0, 0, 255, 0.2));
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 50px;
    text-align: center;
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.tickets-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.tickets-banner h2 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-color);
    position: relative;
}

.tickets-banner p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
    position: relative;
}

.ticket-button {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--text-color);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    position: relative;
}

.ticket-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 255, 0.4);
}

.lan-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 40px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.lan-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.lan-features-wide {
    display: grid;
    gap: 30px;
    margin-bottom: 30px;
}

.feature-card {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 3px solid var(--primary-color);
    display:flex;          /* new */
    flex-direction:column; /* new */
}

.feature-card-wide {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 3px solid var(--primary-color);
    display:flex;          /* new */
    flex-direction:column; /* new */
}

.feature-card-wide:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(255, 0, 255, 0.3);
}

.feature-card:nth-child(even) {
    border-left-color: var(--secondary-color);
}

.feature-card:nth-child(even):hover {
    box-shadow: 0 12px 20px rgba(0, 0, 255, 0.3);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(255, 0, 255, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature-card:nth-child(even) .feature-icon {
    color: var(--secondary-color);
}

.feature-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.feature-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.feature-description a {
    color: var(--primary-color);
}

.location-section {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 50px;
}

.location-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
    text-align: center;
}

.location-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.location-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.venue-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
}

.venue-address {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.location-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.location-map {
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.location-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sponsors-section {
    margin-top: 50px;
    text-align: center;
}

.sponsors-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.sponsors-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.sponsor-item {
    background-color: rgba(100, 100, 100, 0.3);
    border-radius: 8px;
    padding: 20px;
    width: 400px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.sponsor-item:hover {
    transform: scale(1.05);
}

.sponsor-logo {
    max-width: 100%;
    max-height: 100%;
}

.feature-extra{
    max-height:0;                   /* collapsed */
    overflow:hidden;                /* hide scrollbars */
    transition:max-height .35s ease;
    margin-top:20px;
}

.feature-card.expanded{
    grid-column:1 / -1;          /* take up every column in the grid row   */
    /* optional eye-candy */
    transition:max-height .35s ease, padding .35s ease;
    padding-left:40px;           /* a bit roomier once it's wide           */
}

.feature-card.expanded .feature-extra{
    max-height:1500px;              /* big enough for any content */
}

.feature-card .toggle-more{
    margin-top:auto;       /* pushes it to the bottom edge */
    align-self:flex-start; /* keep it left-aligned – use center if you prefer */
}

.toggle-more{
    margin-top:18px;
    padding:8px 18px;
    background:transparent;
    border:2px solid var(--primary-color);
    color:var(--text-color);
    font-weight:700;
    border-radius:4px;
    cursor:pointer;
    transition:background .25s,transform .25s;
}
.toggle-more:hover{
    background:var(--primary-color);
    transform:translateY(-2px);
}

.feature-description.long     { display:none; }

.feature-card .short { padding-bottom:20px; }
.feature-card.expanded .short { display:none; }
.feature-card.expanded .long  { display:block; }

.long-content{
    display:flex;
    gap:30px;
    align-items:flex-start;
    flex-wrap:wrap;          /* stacks on very narrow screens */
}

.long-text{
    flex:1 1 300px;          /* grow, but never shrink below 300 px */
    padding-bottom: 20px;
}

.long-map{
    flex:1 1 300px;
    height:250px;
    width:100%;              /* inherits width from flex item */
    border:0;
    border-radius:8px;
}

.long-img{
    flex:0 0 360px;      /* never grow wider than 260 px, never shrink below 260 px  */
    max-width:260px;     /* belt-and-braces                                         */
    height:200px;        /* keeps aspect ratio pleasant; adjust if you prefer      */
    border-radius:8px;
    object-fit:cover;    /* fills the box without distortion                        */
}

#card-location .toggle-more{
    border-color: var(--secondary-color);                 /* outline = blue   */
}

#card-location .toggle-more:hover{
    background: var(--secondary-color);                   /* fill = blue on hover */
}

/* collapse nicely on phones (same breakpoint you used before) */
@media(max-width:768px){
    .long-img{
        flex:0 0 100%;   /* makes the image full-width when stacked                */
        max-width:100%;
        height:200px;    /* a bit taller for narrow layout                          */
    }
}

/* optional: tighten on phones (≤768 px) */
@media(max-width:768px){
    .long-content{flex-direction:column;}
}

@media (max-width: 992px) {
    .location-container {
        grid-template-columns: 1fr;
    }
    
    .location-map {
        order: -1;
    }
}

@media (max-width: 768px) {
    .lan-title {
        font-size: 2rem;
    }
    
    .lan-dates {
        font-size: 1.2rem;
    }
    
    .tickets-banner h2 {
        font-size: 1.5rem;
    }
    
    .feature-title {
        font-size: 1rem;
    }
    
    .location-title, .sponsors-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .lan-features {
        grid-template-columns: 1fr;
    }
    
    .tickets-banner h2 {
        font-size: 1.2rem;
    }
    
    .ticket-button {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .sponsor-item {
        width: 150px;
        height: 120px;
    }
}