/* Font Faces */
@font-face {
    font-family: Mosvita;
    src: url(assets/fonts/Mosvita-Regular.woff2);
}
@font-face {
    font-family: MosvitaLite;
    src: url(assets/fonts/Mosvita-Light.woff2);
}
@font-face {
    font-family: MosvitaLiteExp;
    src: url(assets/fonts/Mosvita-LightExpanded.woff2);
}
@font-face {
    font-family: MosvitaBold;
    src: url(assets/fonts/Mosvita-Black.woff2);
}
@font-face {
    font-family: MosvitaBoldExp;
    src: url(assets/fonts/Mosvita-BlackExpanded.woff2);
}

/* CSS Variables */
:root {
    --bodyFont: Mosvita;
    --boldFont: MosvitaBold;
    --boldFontExp: MosvitaBoldExp;
    --liteFontExp: MosvitaLiteExp;
    
    /* Category Colors */
    --category1: #3C1787;
    --category2: #661D7D;
    --category3: #470063;
    --category4: #600029;
    --category5: #4F001B;
    
    /* Accent Colors */
    --accent: #FF6B35;
    --accentHover: #FF8C42;

    /* Link colors */
    --linky: #dcb4ef;
    --linkyHover: #9c36ff;

}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--bodyFont), Helvetica, Arial, sans-serif;
    font-size: 18px;
    background: #000;
    color: #f3f4f6;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--boldFontExp), Helvetica, Arial, sans-serif;
    line-height: 1.2;
}

h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transform: rotate(1.5deg);
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 3rem;
}

#banner h2{
    transform: rotate(-.55deg);
    background-color: #978a9e;
    text-shadow: none;
    color: var(--category3);
}

h3 {
    font-size: 2rem;
}

.font-bold {
    font-family: var(--boldFont), Helvetica, Arial, sans-serif;
}

.font-bold-exp {
    font-family: var(--boldFontExp), Helvetica, Arial, sans-serif;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #374151;
}

#header .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

#header .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

#header nav {
    display: flex;
    gap: 2rem;
}

#header nav a {
    color: #d1d5db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

#header nav a:hover {
    color: var(--linkyHover);
}

/* Mobile Menu Button */
#mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
}

#mobile-menu-button:hover {
    color: var(--linkyHover);
}

#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

#mobile-menu.open {
    max-height: 500px;
}

#mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
}

#mobile-menu nav a {
    display: block;
    color: #d1d5db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

#mobile-menu nav a:hover {
    color: var(--linkyHover);
}

@media (max-width: 768px) {
    #header nav {
        display: none;
    }
    
    #mobile-menu-button {
        display: block;
    }
}

/* Sections */
section, footer {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* Background patterns */
.bg-pattern-0 {
    background-image: url("assets/img/static-w.png"), linear-gradient(to top, rgba(10, 10, 10, 0.9), rgb(10, 10, 10)), url("assets/img/banner.jpg");
    background-attachment: scroll, scroll, fixed;
    background-size: auto, auto, cover;
    background-position: top left, top left, center center;
    background-repeat: repeat, repeat, no-repeat;
}

.bg-pattern-1 {
    background-image: url("assets/img/static-b.png"), linear-gradient(to top, rgba(15, 15, 15, 0.75), rgba(15, 15, 15, 0.9)), url("assets/img/banner.jpg");
    background-attachment: scroll, scroll, fixed;
    background-size: auto, auto, cover;
    background-position: top left, top left, center center;
    background-repeat: repeat, repeat, no-repeat;
}

.bg-pattern-2 {
    background-image: linear-gradient(to top, rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 1)), url("assets/img/pic02.png");
    background-attachment: fixed;
    background-position: center center;
    background-size: cover;
}

.bg-pattern-3 {
    background-image: linear-gradient(to top, rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 1)), url("assets/img/pic03.png");
    background-attachment: fixed;
    background-position: center center;
    background-size: cover;
}

/* Section clip-paths for jagged edges */
/* #banner {
    clip-path: polygon(0% 0%, 100% 0%, 84.47% 100%, 62.66% 77.16%, 32.36% 79.97%, 0% 77.16%);
} */

#daily {
    clip-path: polygon(0% 6.39%, 27.64% 0%, 67.64% 2.84%, 100% 0%, 100% 87.69%, 73.36% 100%, 26.64% 93.61%, 0% 100%);
}

#random {
    clip-path: polygon(0% 0%, 26.64% 6.39%, 73.36% 0%, 100% 5.12%, 100% 100%, 57.32% 89.74%, 42.68% 100%, 0% 94.88%);
}

#full-list {
    clip-path: polygon(0% 3%, 50% 0%, 58% 2%, 100% 0%, 100% 98%, 74% 100%, 27% 99%, 0% 100%);
}

footer {
    clip-path: polygon(0% 0%, 26.64% 6.39%, 73.36% 0%, 100% 7.18%, 100% 100%, 0% 100%);
}

/* Banner Section */
#banner {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 4rem;
    padding-bottom: 5rem;
    text-align: center;
}

#banner .container {
    position: relative;
    padding: 5rem 1rem;
}

#banner .accent-text {
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

#banner .content-box {
    max-width: 48rem;
    margin: 0 auto 3rem;
}

#banner p {
    font-size: 1.25rem;
    color: #d1d5db;
    margin-bottom: 1.5rem;
}

#banner .info-boxes{
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 768px) {
#banner .info-boxes{
     flex-direction: column;
}
}


#banner .info-box {
text-align: left;
  background: rgba(60,23,135,.5);
  backdrop-filter: blur(8px);
  padding: 2.5rem;
  margin-bottom: 2rem;
  display: inline-block;
  clip-path: polygon(91% 90%, 7% 87%, 0% 0%, 99% 6%);
    transform: rotate(2deg);
}

#banner .info-box p.title {
    font-family: var(--boldFontExp);
    font-weight: bold;
    color: var(--accent);
    margin: 0 auto 0.75rem auto;
    text-align: center;
    border-bottom: 1px solid var(--accent);
}

#banner .info-box ul {
    list-style: none;
    padding: 0;
}

#banner .info-box li {
    color: #d1d5db;
    margin-bottom: 0.5rem;
}

#banner .info-box li span {
    color: white;
    font-weight: bold;
}

#banner .text-muted {
    color: #9ca3af;
    margin-bottom: 2rem;
}

#banner .text-muted a {
    color: var(--linky);
    text-decoration: underline;
}

#banner .text-muted a:hover {
    color: var(--linkyHover);
}

#banner .button-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
}

@media (min-width: 640px) {
    #banner .button-group {
        flex-direction: row;
        padding-bottom: 40px;
    }
}

.btn {
    display: inline-block;
    position: relative;
    width: 180px;
    height: 80px;
    cursor: pointer;
    border: none;
    background: none;
    transition: transform 0.3s ease;
}

.btn:hover {
    transform: scale(1.05);
}

.btn svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.btn span {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: white;
    font-weight: bold;
    text-decoration: none;
    font-family: var(--boldFont);
}

/* Daily and Random Sections */
.container h2{
    position: relative;
    z-index: 200;
    text-shadow: 0 0 15px rgba(0,0,0,1);
}

#daily, #random {
    padding: 5rem 0;
}

#daily {
    padding-top: 200px;
    padding-bottom: 200px;
}

#daily h2{
    /* color: #000; */
    transform: rotate(2deg)
;}

#random {
    padding-top: 200px;
    padding-bottom: 200px;
}


#random h2 {
    /* color: white; */
    transform: rotate(-2deg)
}

.section-content {
    max-width: 56rem;
    margin: 0 auto;
    overflow: visible;
}

/* Card Container */
.card-container {
    position: relative;
    overflow: visible;
}

/* Card shapes by category - Two identical layers with different clip-paths */


        .card-1 .shape-bg {
            background: #675d7f;
            clip-path: polygon(95.88% 100.00%, 0.00% 95.91%, 2.68% 19.21%, 100.00% 0.00%);
        }
        .card-1 .shape-fg {
            background: #3c1787;
            clip-path: polygon(95.08% 91.16%, 1.84% 92.46%, 5.97% 19.88%, 97.19% 9.58%);
        }

        .card-2 .shape-bg {
            background: #70547a;
            clip-path: polygon(4.12% 100.00%, 100.00% 95.91%, 97.32% 19.21%, 0.00% 0.00%);
        }
        .card-2 .shape-fg {
            background: #661d7d;
            clip-path: polygon(4.53% 96.97%, 96.68% 89.57%, 96.58% 21.79%, 2.33% 7.11%);
        }

        .card-3 .shape-bg {
            background: #665270;
            clip-path: polygon(0.00% 99.45%, 95.83% 100.00%, 100.00% 0.00%, 0.00% 28.42%);
        }
        .card-3 .shape-fg {
            background: #470063;
            clip-path: polygon(2.30% 95.88%, 95.20% 96.31%, 97.71% 9.77%, 3.96% 29.58%);
        }

        .card-4 .shape-bg {
            background: #684656;
            clip-path: polygon(100.00% 99.46%, 4.18% 100.00%, 0.00% 0.00%, 100.00% 28.41%);
        }
        .card-4 .shape-fg {
            background: #600029;
            clip-path: polygon(98.79% 96.42%, 5.47% 94.28%, 3.18% 7.63%, 96.30% 30.18%);
        }

        .card-5 .shape-bg {
            background: #47353c;
            clip-path: polygon(0.00% 92.51%, 100.00% 100.00%, 98.66% 0.00%, 3.49% 15.65%);
        }
        .card-5 .shape-fg {
            background: #4f001b;
            clip-path: polygon(2.93% 90.63%, 98.10% 93.17%, 95.89% 6.83%, 5.07% 18.00%);
        }

/* Category-specific fist-dark colors - LEFT fist */
.card-1 .fist-dark-left {
    fill: #3c1787;
}

.card-2 .fist-dark-left {
    fill: #661d7d;
}

.card-3 .fist-dark-left {
    fill: #470063;
}

.card-4 .fist-dark-left {
    fill: #600029;
}

.card-5 .fist-dark-left {
    fill: #4f001b;
}

/* Category-specific fist-dark colors - RIGHT fist */
.card-1 .fist-dark-right {
    fill: #3c1787;
}

.card-2 .fist-dark-right {
    fill: #661d7d;
}

.card-3 .fist-dark-right {
    fill: #470063;
}

.card-4 .fist-dark-right {
    fill: #600029;
}

.card-5 .fist-dark-right {
    fill: #4f001b;
}

/* Fist container styles */
.fist-container {
    position: absolute;
    height: 75%;
    aspect-ratio: 0.4451;
    z-index: 0;
    pointer-events: none;
    top: -50%;
    opacity: 0;
    transform-origin: center bottom;
}

.fist-left {
    left: -5%;
}

.fist-right {
    right: -4%;
}

.fist-svg {
    width: 100%;
    height: 100%;
}

/* Fist animation - shoots out from behind cards */
@keyframes fistPunchLeft {
    from {
        opacity: 0;
        transform: translate(20%, 0) scale(0.75) rotate(var(--fist-rotation));
    }
    to {
        opacity: 1;
        transform: translate(0, 0) scale(1) rotate(var(--fist-rotation));
    }
}

@keyframes fistPunchRight {
    from {
        opacity: 0;
        transform: translate(-20%, 0) scale(0.75) rotate(var(--fist-rotation));
    }
    to {
        opacity: 1;
        transform: translate(0, 0) scale(1) rotate(var(--fist-rotation));
    }
}

@media (max-width: 768px) {
    @keyframes fistPunchLeft {
        from {
        opacity: 0;
            transform: translate(0, 0) scale(0.5625) rotate(0deg);
        }
        to {
        opacity: 1;
            transform: translate(0, 0) scale(0.75) rotate(0deg);
        }
    }
    
    @keyframes fistPunchRight {
        from {
        opacity: 0;
            transform: translate(0, 0) scale(0.5625) rotate(0deg);
        }
        to {
        opacity: 1;
            transform: translate(0, 0) scale(.75) rotate(0deg);
        }
    }
}

.fist-container.animate-left {
    animation: fistPunchLeft 0.4s ease-in forwards;
}

.fist-container.animate-right {
    animation: fistPunchRight 0.4s ease-in forwards;
}

/* Card layers */
.shape-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.shape-fg {
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* Card content */
.card-content {
    position: relative;
    z-index: 3;
    padding: 2rem 3rem;
}
.card-content.right{
    transform: rotate(1deg);
}
.card-content.left{
    transform: rotate(-1deg);
}

@media (max-width: 768px) {
    .card-content {
        padding: 2rem;
    }
}

/* Card number */
.card-number-lower-right {
    position: absolute;
    right: 1rem;
    bottom: -4rem;
    z-index: 5;
    font-size: 5rem;
    font-family: var(--boldFontExp);
    user-select: none;
    pointer-events: none;
    color: rgba(255, 255, 255, 0.4);
    text-shadow: 0 0 20px rgba(0,0,0,0.5);
}

@media (min-width: 768px) {
    .card-number-lower-right {
        font-size: 6rem;
    }
}

/* Card info text */
.card-info {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    font-family: var(--boldFont);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

@media (min-width: 768px) {
    .card-info {
        font-size: 1.1rem;
    }
}

.card-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    width: 100%;
    margin-bottom: 1rem;
    background: rgba(0, 0, 0, 0.3);
}

.card-description {
    font-size: 1.5rem;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-family: var(--boldFontExp);
    text-align: center;
}

@media (min-width: 768px) {
    .card-description {
        font-size: 2.5rem;
    }
}

/* Card transitions */
.transition-card {
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

/* Random button */
.random-button-container {
    text-align: center;
    margin-top: 2rem;
}

/* Full List Section */
#full-list {
    padding: 5rem 0;
}

#full-list h2 .left {
    transform: rotate(-2deg);
    display: inline-block;
}
#full-list h2 .right {
    transform: rotate(3deg);
      display: inline-block;
}

/* Accordions */
.accordion-container {
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.accordion {
    background: linear-gradient(to bottom right, #111827, #1f2937);
    border: 1px solid #374151;
    overflow: hidden;
}

/* Category-specific accordion colors */

/* Category-specific accordion colors */
.accordion[data-category="1"] {
    border-color: #3c1787;
    background: linear-gradient(to bottom right, #3c1787, #675d7f);
}

.accordion[data-category="1"] .accordion-header {
    background: #3c1787;
}

.accordion[data-category="2"] {
    border-color: #661d7d;
    background: linear-gradient(to bottom right, #661d7d, #70547a);
}

.accordion[data-category="2"] .accordion-header {
    background: #661d7d;
}

.accordion[data-category="3"] {
    border-color: #470063;
    background: linear-gradient(to bottom right, #470063, #665270);
}

.accordion[data-category="3"] .accordion-header {
    background: #470063;
}

.accordion[data-category="4"] {
    border-color: #600029;
    background: linear-gradient(to bottom right, #600029, #684656);
}

.accordion[data-category="4"] .accordion-header {
    background: #600029;
}

.accordion[data-category="5"] {
    border-color: #4f001b;
    background: linear-gradient(to bottom right, #4f001b, #47353c);
}

.accordion[data-category="5"] .accordion-header {
    background: #4f001b;
}

.accordion-header {
    padding: 1.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    filter: brightness(1.1);
}

.accordion-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.accordion-category-badge {
    display: inline-block;
    padding: 0.25rem 0;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    color: white;
    font-family: var(--boldFont);
}

.accordion-title {
    font-size: 1.25rem;
    color: white;
    font-family: var(--boldFontExp);
}

@media (min-width: 768px) {
    .accordion-title {
        font-size: 1.5rem;
    }
}

.accordion-chevron {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--linky);
    transition: transform 0.3s ease;
}

.accordion-content-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.accordion-content {
    padding: 0 1.5rem 1.5rem;
}

.accordion-list {
    list-style: decimal;
    list-style-position: inside;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.accordion-list li {
    color: #fff;
    padding: 0 0.5rem;
    transition: color 0.3s ease;
    width: fit-content;
    background-color: #000;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.accordion-list.category1 li{
    background-color: var(--category1);
} 

.accordion-list.category2 li{
    background-color: var(--category2);
} 

.accordion-list.category3 li{
    background-color: var(--category3);
} 

.accordion-list.category4 li{
    background-color: var(--category4);
} 

.accordion-list.category5 li{
    background-color: var(--category5);
} 

.accordion-list li:hover {
    background-color: #000;
}

/* .accordion-list .bullet {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    margin-right: 0.5rem;
} */

/* Footer */
footer {
    background: #111827;
    padding: 2rem 0;
    text-align: center;
    color: #9ca3af;
    transform: rotate(-1deg);
}

/* Star Rows - Modular star decoration system */
.star-row {
    position: absolute;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    visibility: hidden;
}

.star-row.positioned {
    visibility: visible;
}

.star-row img {
    height: 60px !important;
    width: auto;
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

/* The .visible class is used as a marker, opacity is set inline to custom value */
.star.visible {
    /* Opacity is set via inline style to custom value */
}

/* Fancy stars - individually placed stars throughout the page */
.fancy-star {
    display: inline-block;
    width: auto;
    opacity: 0;
    transition: opacity 0.6s ease-out;
    padding: 0 20px;
}

.fancy-star.white {
    content: url('assets/img/star-white.svg');
}

.fancy-star.blue {
    content: url('assets/img/star-blue.svg');
}

.fancy-star.red {
    content: url('assets/img/star-red.svg');
}
.centered-stars{
    padding-top: 5rem;
    text-align: center;
}

/* Responsive star sizing */
@media (min-width: 769px) {
    .star-row img {
        height: 75px !important;
    }
    
    .star-tablet-up {
        display: block;
    }
}

@media (max-width: 768px) {
    .star-tablet-up {
        display: none;
    }
    .fancy-star{
        display: block;
        position: relative;
        margin: 20px auto;
        /* padding: 20px; */
    }
    .centered-stars .fancy-star{
        display: inline-block;
        margin: 0 auto;
    }
}

@media (min-width: 1025px) {
    .star-row img {
        height: 90px !important;
    }
    
    .star-desktop-only {
        display: block;
    }
}

@media (max-width: 1024px) {
    .star-desktop-only {
        display: none;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

.overflow-visible {
    overflow: visible;
}

/* Responsive Typography */
@media (min-width: 768px) {
    body{
        font-size: 22px;
    }
    h1 {
        font-size: 4rem;
    }
    
    h2 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 5rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.fade-in {
    animation: fadeIn 0.4s ease-out;
}
