/* --- ALAP STÍLUSOK (DESKTOP + TABLET) --- */

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #121215;
    color: #ffffff;
    /* Safari scrolling fix */
    -webkit-overflow-scrolling: touch;
    /* Remove conflicting height declarations */
    min-height: 100vh;
}

html {
    height: 100%;
    /* Safari scrolling fix */
    -webkit-overflow-scrolling: touch;
}

html, body {
    /* Remove flex layout that can cause Safari issues */
    display: block;
    /* Remove conflicting height declarations */
    height: auto;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

/* Safari specific fixes for scrolling */
@supports (-webkit-touch-callout: none) {
    html, body {
        height: auto;
        min-height: 100vh;
        /* Ensure proper scrolling on Safari */
        overflow-x: hidden;
        overflow-y: auto;
    }
    
    body {
        /* Remove conflicting height calculations */
        height: auto;
        min-height: 100vh;
        /* Add padding for visual spacing */
        padding: 30px 0;
    }
    
    .profile-container {
        /* Ensure container doesn't cause scrolling issues */
        height: auto;
        min-height: auto;
        /* Remove overflow clip that can cause issues */
        overflow: visible;
    }
}

.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    /* Remove flex properties that can cause Safari issues */
    display: block;
    /* Remove overflow clip that can cause scrolling issues */
    overflow: visible;
    /* Safari scrolling fix */
    -webkit-overflow-scrolling: touch;
}

.profile-banner {
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #1a1625 0%, #15121e 100%);
    border-radius: 16px;
    overflow: visible;
    height: 400px;
    border: 1px solid rgba(167, 139, 250, 0.2);
}

.banner-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: visible;
    background-color: transparent;
}

.banner-image-container img {
    border-radius: 16px;
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
}

.banner-image-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 100%);
    border-radius: 16px;
    z-index: 1;
    pointer-events: none;
}

.profile-photo {
    position: absolute;
    left: 30px;
    bottom: -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #7a51e2;
    background-color: #1e1e1e;
    z-index: 2;
    box-shadow: 0 0 15px rgba(122, 81, 226, 0.8);
}

.profile-header {
    margin-top: 100px; /* Csökkentjük a felső margót */
    padding: 0 30px;
    text-align: center;
}

.profile-name {
    font-size: 42px;
    font-weight: 600;
    color: #fff;
    text-transform: capitalize;
    letter-spacing: 1px;
    margin-top: 10px; /* Kissé csökkentjük a felső margót */
    margin-bottom: 10px;
}

.profile-meta-tags {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px; /* Távolság a bio alatt */
}

.meta-tag {
    background-color: rgba(255, 255, 255, 0.1); /* Átlátszó fehér háttér */
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

.meta-tag.location {
    /* Külön stílus a helyszínnek, ha szükséges */
    background-color: rgba(122, 81, 226, 0.2); /* Enyhén lila átlátszó háttér */
}

.profile-bio {
    font-size: 18px;
    color: #e0e0e0;
    line-height: 1.7;
    margin-top: 0; /* Eltávolítjuk a felső margót */
    text-align: center;
    padding: 0 50px;
}

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    padding: 30px;
    background: #211e2e;
    border-radius: 16px;
    border: 1px solid rgba(167, 139, 250, 0.2);
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
}

.stat p {
    font-size: 16px;
    color: #aaa;
    margin: 0;
    text-transform: uppercase;
}

.genre-tags {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    z-index: 2;
}

.genre-tag {
    background-color: #7a51e2;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    text-transform: capitalize;
    color: white;
}

.genre-tag.sub {
    background-color: #89F336 !important;
    color: #1e1e1e !important;
}

.ranking-circle {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #7a51e2;
    border: 4px solid #fff;
    color: #fff;
    font-weight: bold;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 2;
    box-shadow: 0 0 10px rgba(122, 81, 226, 0.6);
}

.banner-logo-watermark {
    position: absolute;
    bottom: 20px; /* Állítsd be a kívánt távolságot az alsó szélétől */
    right: 40px; /* Állítsd be a kívánt távolságot a jobb szélétől */
    width: 120px; /* Növeld a szélességet */
    height: auto; /* Automatikus magasság a szélesség arányos megtartásához */
    background-image: url('https://globaldjlist.com/images/logo');
    background-size: contain; /* A teljes kép látható marad a megadott méreten belül */
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
    opacity: 1; /* Eltávolítjuk az áttetszőséget */
    pointer-events: none;
}

/* --- MOBIL STÍLUSOK (max-width: 768px) --- */
@media screen and (max-width: 768px) {
    .banner-logo-watermark {
        width: 120px; /* Kisebb méret mobilon */
        bottom: 30px; /* Kisebb távolság mobilon */
        right: 30px; /* Kisebb távolság mobilon */
    }
}


.social-followers-board {
    background: #211e2e;
    border-radius: 16px;
    padding: 30px;
    margin-top: 30px; /* Csökkentjük a felső margót */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
    border: 1px solid rgba(167, 139, 250, 0.2);
}

.platform {
    padding: 25px;
    border-radius: 16px;
    background: #262234;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(167, 139, 250, 0.2);
}

.platform h3 {
    font-size: 22px;
    color: #fff;
    margin-bottom: 15px;
}

.platform p {
    font-size: 16px;
    color: #fff;
    margin: 0;
}

.followers-count {
    font-weight: bold;
    color: #7a51e2;
    font-size: 18px;
}

.portfolio-section {
    margin-top: 50px;
    padding: 30px;
    background: linear-gradient(135deg, #1a1625 0%, #15121e 100%);
    border-radius: 16px;
    border: 1px solid rgba(167, 139, 250, 0.2);
}

.portfolio-section h2 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 25px;
    text-align: center;
}

/* --- MOBIL STÍLUSOK (max-width: 768px) --- */
@media screen and (max-width: 768px) {
    .profile-banner {
        height: 20%;
        margin-bottom: 1.5rem;
    }

    .profile-photo {
        width: 150px;
        height: 150px;
        bottom: -50px;
        left: 20px;
        border: 4px solid #7a51e2;
    }

    .profile-header {
        margin-top: 80px; /* Mobil nézeten is csökkentjük */
    }

    .profile-name {
        font-size: 32px;
        margin-top: 10px;
        margin-bottom: 5px;
    }

    .profile-meta-tags {
        margin-bottom: 10px;
    }

    .meta-tag {
        font-size: 12px;
        padding: 3px 8px;
        border-radius: 3px;
    }

    .profile-bio {
        font-size: 16px;
        margin-top: 0;
        padding: 0 20px;
    }

    .profile-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 20px;
        padding: 0 12px;
        justify-content: center;
        align-items: flex-start;
        max-width: 100%;
        box-sizing: border-box;
    }

    .stat {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 8px 14px;
        min-width: unset;
        flex: 0 1 auto;
        width: auto;
        background-color: rgba(122, 81, 226, 0.15);
        border: 1px solid rgba(122, 81, 226, 0.3);
        border-radius: 16px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        box-sizing: border-box;
    }

    .stat-number {
        font-size: 18px;
        font-weight: 700;
        color: #7a51e2;
        margin-bottom: 2px;
        line-height: 1.2;
        white-space: nowrap;
    }

    .stat p {
        font-size: 9px;
        margin: 0;
        color: #a3a1be;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        line-height: 1.2;
        text-align: center;
        white-space: nowrap;
    }

    .genre-tags {
        top: 15px;
        left: 15px;
        gap: 6px;
    }

    .genre-tag {
        font-size: 12px;
        padding: 6px 12px;
        border-radius: 20px;
    }

    .ranking-circle {
        top: 15px;
        right: 15px;
        width: 60px;
        height: 60px;
        font-size: 16px;
    }

    .banner-logo-watermark {
        width: 80px;
        height: 80px;
        bottom: 5px;
        right: 5px;
    }

    .social-followers-board {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
        margin-top: 10px; /* Mobil nézeten is csökkentjük */
      	border-radius: 20px
    }

    .platform h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .platform p {
        font-size: 14px;
    }

    .followers-count {
        font-size: 16px;
    }

    .portfolio-section {
        margin-top: 40px;
        padding: 20px;
    }

    .portfolio-section h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .footer-container {
        display: flex; /* Flexbox elrendezés */        
        justify-content: space-between; /* A két elem a széleken helyezkedik el */
        align-items: center; /* Függőlegesen középre igazítja az elemeket */
        padding: 15px 30px; /* Padding a belső tér körül */
        background: linear-gradient(135deg, #1a1625 0%, #15121e 100%); /* Footer háttérszíne */
        color: #aaa; /* Footer szövegszíne */
        font-size: 0.9em;
        margin-top: 20px; /* Távolság a tartalomtól */
        border-radius: 20px; /* Lekerekített sarkok (opcionális) */
        border: 1px solid rgba(167, 139, 250, 0.2);
    }

    footer {
        margin: 0; /* Eltávolítjuk a felesleges margót */
    }

    .logo {
        margin: 0; /* Eltávolítjuk a felesleges margót */
    }

    .logo img {
        max-width: 180px; /* Állítsd be a logó maximális szélességét a kívánt méretre webes nézetben */
        height: auto;
        /* margin-top: 30px; <- EZT TÖRÖLTÜK a webes nézetből */
    }
}
/* --- MOBIL STÍLUSOK (max-width: 768px) --- */
@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column; /* Mobil nézeten egymás alá kerülnek */
        align-items: center; /* Középre igazítás mobilon */
        text-align: center; /* Szöveg középre igazítása mobilon */
        padding: 15px;
    }

    .logo img {
        max-width: 120px; /* Kisebb logó mobilon */
        height: auto;
        margin-top: 10px; /* Távolság a szöveg alatt mobilon */
    }
}
footer {     
  	background: linear-gradient(135deg, #1a1625 0%, #15121e 100%);
    color: #aaa;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
    margin-top: 30px; /* Hagyhatsz egy kis távolságot a tartalom és a footer között */
  	border-radius: 16px;
    border: 1px solid rgba(167, 139, 250, 0.2);
}

.logo {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 10px;
}

.logo img {
    max-width: 150px; /* Állítsd be a logó maximális szélességét */
    height: auto;
}

/* Feliratkozás */
.notif-subscribe-btn {
  display: flex;
  align-items: center;
  gap: 0.55em;
  background: #232336;
  color: #fff;
  border: none;
  border-radius: 13px;
  font-size: 1.08em;
  font-weight: 500;
  padding: 10px 20px 10px 16px;
  cursor: pointer;
  box-shadow: 0 2px 10px #12083b22;
  transition: background .18s, box-shadow .18s, color .14s;
  position: relative;
  outline: none;
  min-width: 220px;
}
.notif-subscribe-btn:hover,
.notif-subscribe-btn:focus {
  background: #291a42;
  color: #7a51e2;
  box-shadow: 0 4px 18px #7a51e222;
}
.notif-subscribe-btn .notif-bell {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.notif-subscribe-btn .notif-bell svg {
  display: block;
  transition: fill .18s;
  filter: drop-shadow(0 2px 6px #7a51e280);
}
.notif-subscribe-btn .notif-bell .notif-pulse {
  display: none;
  position: absolute;
  right: -7px;
  top: 4px;
  width: 10px;
  height: 10px;
  background: #e23c51;
  border-radius: 50%;
  box-shadow: 0 0 8px 2px #e23c5144;
  animation: notif-pulse-blink 1.2s infinite;
}
@keyframes notif-pulse-blink {
  0%, 100% { opacity: .92; transform: scale(1);}
  50% { opacity: .5; transform: scale(1.4);}
}

/* Aktív állapot - leiratkozás */
.notif-subscribe-btn.active {
  background: #181828;
  color: #e23c51;
  border: 1.5px solid #e23c51;
  box-shadow: 0 2px 12px #e23c5122;
}
.notif-subscribe-btn.active .notif-bell svg .bell-main {
  fill: #e23c51;
}
.notif-subscribe-btn.active .notif-bell .notif-pulse {
  display: block;
}

.notif-subscribe-btn .notif-label {
  transition: color .18s;
}

@media (max-width: 600px) {
  .notif-subscribe-btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
    font-size: 1em;
    padding: 12px 7vw;
  }
}
