/* ==========================================================
   CUPCAKE CONNECT V4
   Global Design System
   Version: 1.0
========================================================== */

/* ==========================
   GOOGLE FONTS
========================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');


/* ==========================
   ROOT VARIABLES
========================== */

:root{

    /* Brand Colors */

    --pink:#ff4fa3;
    --pink-light:#ff80bf;
    --blue:#59d8ff;
    --mint:#6ef3c5;
    --gold:#ffd54a;
    --purple:#8a5cff;

    /* Background */

    --bg-dark:#0f172a;
    --bg-card:#172554;
    --bg-glass:rgba(255,255,255,.08);

    /* Text */

    --text:#ffffff;
    --text-light:#d8e4ff;
    --text-muted:#9fb5dc;

    /* Borders */

    --border:rgba(255,255,255,.15);

    /* Radius */

    --radius-small:10px;
    --radius:18px;
    --radius-large:28px;

    /* Shadows */

    --shadow:
        0 10px 30px rgba(0,0,0,.35);

    --glow-pink:
        0 0 20px rgba(255,79,163,.55);

    --glow-blue:
        0 0 20px rgba(89,216,255,.55);

    --transition:.30s ease;

}


/* ==========================
   RESET
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


/* ==========================
   BODY
========================== */

body{

    font-family:'Inter',sans-serif;

    background:linear-gradient(
        180deg,
        #08111f 0%,
        #102447 100%
    );

    color:var(--text);

    min-height:100vh;

    overflow-x:hidden;

}


/* ==========================
   HEADINGS
========================== */

h1,h2,h3,h4{

    font-family:'Poppins',sans-serif;

    font-weight:700;

    letter-spacing:.5px;

}


/* ==========================
   LINKS
========================== */

a{

    color:inherit;

    text-decoration:none;

}


/* ==========================
   IMAGES
========================== */

img{

    max-width:100%;

    display:block;

}


/* ==========================
   BUTTONS
========================== */

button{

    font-family:'Poppins',sans-serif;

    border:none;

    cursor:pointer;

    transition:var(--transition);

}
/* ==========================================================
   LAYOUT
========================================================== */

.container{

    width:min(1200px,92%);

    margin:auto;

}

.section{

    padding:50px 0;

}


/* ==========================================================
   GLASS CARD
========================================================== */

.card{

    background:var(--bg-glass);

    backdrop-filter:blur(16px);

    border:1px solid var(--border);

    border-radius:var(--radius);

    padding:24px;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.card:hover{

    transform:translateY(-6px);

    box-shadow:
        0 15px 40px rgba(0,0,0,.45),
        var(--glow-blue);

}


/* ==========================================================
   PRIMARY BUTTON
========================================================== */

.btn-primary{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    background:linear-gradient(
        135deg,
        var(--pink),
        var(--purple)
    );

    color:white;

    padding:14px 28px;

    border-radius:999px;

    font-weight:700;

    font-size:16px;

    box-shadow:var(--glow-pink);

}

.btn-primary:hover{

    transform:translateY(-3px) scale(1.03);

}


/* ==========================================================
   SECONDARY BUTTON
========================================================== */

.btn-secondary{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    background:rgba(255,255,255,.08);

    color:white;

    border:1px solid var(--border);

    padding:14px 28px;

    border-radius:999px;

}

.btn-secondary:hover{

    background:rgba(255,255,255,.15);

}


/* ==========================================================
   HEADINGS
========================================================== */

.title{

    font-size:42px;

    margin-bottom:10px;

}

.subtitle{

    color:var(--text-muted);

    font-size:18px;

    margin-bottom:35px;

}


/* ==========================================================
   BADGES
========================================================== */

.badge{

    display:inline-block;

    background:var(--gold);

    color:#222;

    padding:6px 14px;

    border-radius:999px;

    font-weight:700;

    font-size:13px;

}


/* ==========================================================
   COIN DISPLAY
========================================================== */

.coin-display{

    display:flex;

    align-items:center;

    gap:12px;

    font-size:22px;

    font-weight:700;

}
/* Lucky Wheel */

.lucky-wheel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

#wheel {
    width: 460px;
    height: 460px;
    border-radius: 50%;
    border: 8px solid gold;
    background: conic-gradient(
        #ff4fa3 0deg 45deg,
        #ffd54f 45deg 90deg,
        #6ec6ff 90deg 135deg,
        #7cff7c 135deg 180deg,
        #ff9966 180deg 225deg,
        #c084fc 225deg 270deg,
        #66e0ff 270deg 315deg,
        #ff6666 315deg 360deg
    );
    transition: transform 5s ease-out;
}

#spin-wheel-btn {
    font-size: 20px;
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
}
/* Gold pointer */

.lucky-wheel {
    position: relative;
}

#wheel::before {
    content: "📍";
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 36px;
}
#wheel {
    position: relative;
}

#wheel-center {
    position: absolute;
    width: 120px;
    height: 120px;
    background: white;
    border: 5px solid gold;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 60px;
}
.wheel-label{
    position:absolute;
    color:white;
    font-weight:bold;
    font-size:18px;
    text-shadow:0 0 5px black;
}

.l1{top:18px;left:145px;}
.l2{top:55px;right:45px;}
.l3{top:145px;right:15px;}
.l4{bottom:55px;right:45px;}
.l5{bottom:18px;left:145px;}
.l6{bottom:55px;left:45px;}
.l7{top:145px;left:15px;}
.l8{top:55px;left:45px;}
#cc-modal {
    width: 700px;
    max-width: 90%;
}