* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    /* background: linear-gradient(135deg, #0f172a 0%, #581c87 50%, #0f172a 100%); */
    background-image: url(bg-image.jpg);
    min-height: 100vh;
    color: white;
}

body::before{
    content: "";
    background: #000000a6;
    width: 100%;
    position: fixed;
    top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

header {
    padding: 15px 0px;
    background: #fff;
    text-align: center;
    margin-bottom: 60px;
}

.main-title {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    background: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.subtitle {
    font-size: 1.5rem;
    color: #d8b4fe;
    font-weight: 300;
    letter-spacing: 1px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    align-items: start;
}

.main-content {
    position: relative;
}

.flipbook-container {
    position: relative;
    background: rgba(30, 27, 75, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(168, 85, 247, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.flipbook-container::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(to right, #22d3ee, #a78bfa, #ec4899);
    border-radius: 20px;
    opacity: 0.75;
    filter: blur(10px);
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.75; }
    50% { opacity: 1; }
}

.flipbook-iframe {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.magazine-info {
    margin-top: 30px;
    background: rgba(30, 27, 75, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.info-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d8b4fe;
    font-size: 1.1rem;
}

.stat-item i {
    font-size: 1.2rem;
}

.share-section {
    border-top: 1px solid rgba(168, 85, 247, 0.2);
    padding-top: 25px;
}

.share-title {
    color: #d8b4fe;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.share-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    color: white;
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-btn.facebook {
    background: linear-gradient(135deg, #3b5998, #2d4373);
    box-shadow: 0 4px 15px rgba(59, 89, 152, 0.5);
}

.share-btn.twitter {
    background: linear-gradient(135deg, #1f1f1f, #000000);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.share-btn.linkedin {
    background: linear-gradient(135deg, #0077b5, #005582);
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.5);
}

.share-btn.whatsapp {
    background: linear-gradient(135deg, #25d366, #1da851);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.5);
}

.share-btn.email {
    background: linear-gradient(135deg, #9333ea, #7e22ce);
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.5);
}

.sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #d8b4fe;
    margin-bottom: 20px;
}

.issues-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.issue-button {
    background: rgba(30, 27, 75, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(168, 85, 247, 0.3);
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
}

.issue-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
    border-color: rgba(168, 85, 247, 0.6);
}

.issue-button.active {
    background: rgba(34, 211, 238, 0.2);
    border: 3px solid #22d3ee;
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.5);
    transform: scale(1.05);
}

.issue-button-content {
    flex: 1;
}

.issue-button-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.issue-button-meta {
    font-size: 0.875rem;
    color: #22d3ee;
}

.issue-button-icon {
    font-size: 1.5rem;
    color: #a78bfa;
    transition: transform 0.3s ease;
}

.issue-button:hover .issue-button-icon {
    transform: translateX(5px);
}

.issue-button.active .issue-button-icon {
    color: #22d3ee;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  
  .logos-row {
    display: contents;
  }
  
  /* .logo-box {
    width: 96px;
    height: 96px;
  } */

  .logo-img{
    height: 75px;
  }
  
  .logo-text {
    font-size: 0.75rem;
    font-weight: bold;
    color: rgba(168, 85, 247, 0.8);
    text-align: center;
  }
  
  .header-title {
    font-size: 2.5rem;
    font-weight: 900;
    background: #154ba3;
    /* background: linear-gradient(to right, #22d3ee, #a78bfa, #ec4899); */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    flex: 1;
  }

    

@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .issues-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .flipbook-iframe {
        height: 500px;
    }
}

@media (max-width: 640px) {
    .main-title {
        font-size: 2rem;
    }
    .content-wrapper{
        padding: 10px;
    }

    .subtitle {
        font-size: 1.125rem;
    }

    .issues-grid {
        grid-template-columns: 1fr;
    }

    .flipbook-iframe {
        height: 400px;
    }
    .issue-button.active {
    background: rgba(34, 211, 238, 0.2);
    border: 3px solid #22d3ee;
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.5);
    transform: scale(1.00);
}
.logo-img {
    height: 40px;
}
}
  
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    .logo-img {
        height: 40px;
    }
    
    .logo-box:first-child {
        order: -2;
    }
    
    .logo-box:last-child {
        order: -1;
    }
    
    .header-title {
        order: 0;
        width: 100%;
        font-size: 1.75rem;
    }
    
    /* Create a flex container effect for logos */
    .top-header {
        display: flex;
        flex-direction: column;
    }
    
    .header-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 1rem;
        justify-items: center;
    }
    
    /* .logo-box {
        width: 80px;
        height: 80px;
    } */
    
    .header-title {
        grid-column: 1 / -1;
    }
}
  
  @media (max-width: 480px) {
    /* .logo-box {
        width: 64px;
        height: 64px;
    } */
    .logo-img {
        height: 40px;
    }
    
    .logo-text {
        font-size: 0.625rem;
    }
    
    .header-title {
        font-size: 1.25rem;
    }
}